@everymatrix/tournament-details 0.1.2 → 0.1.3

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.
@@ -6418,7 +6418,7 @@ const Ff = {
6418
6418
  hash: "svelte-1fgbug1",
6419
6419
  code: `.svelte-1fgbug1,
6420
6420
  .svelte-1fgbug1::before,
6421
- .svelte-1fgbug1::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}:host {height:100%;}.Hidden.svelte-1fgbug1 {display:none;}.TournamentGamesWrapper.svelte-1fgbug1 {display:grid;gap:12px;grid-template-columns:repeat(auto-fit, minmax(min(150px, 100%), 1fr));}.TournamentDetailsWrapper.svelte-1fgbug1 {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding:16px 16px 0 16px;height:100%;display:flex;flex-direction:column;.TournamentImageWrapper:where(.svelte-1fgbug1) {position:relative;border-radius:14px;background-color:var(--emw-color-bg-primary, #212121);max-width:370px;.StatusBadgesWrapper:where(.svelte-1fgbug1) {position:absolute;top:10px;right:10px;display:flex;gap:10px;.StatusBadge:where(.svelte-1fgbug1) {background-color:var(--emw-color-primary, #FF1D4E);color:var(--emw-color-typography, #ffffff);font-size:14px;border-radius:14px;padding:5px 10px;z-index:1;&.Live {background-color:var(--emw-color-green, #2DCB70);}&.Upcoming {background-color:var(--emw-color-green, #5A88D7);}&.Ended {background-color:var(--emw-color-green, #F3514B);}}}img:where(.svelte-1fgbug1) {border-radius:6px;width:100%;min-height:200px;height:200px;object-fit:cover;}}.TournamentDetails:where(.svelte-1fgbug1) {color:var(--emw-color-typography, #ffffff);margin-top:10px;display:flex;flex-direction:column;gap:10px;height:-webkit-fill-available;justify-content:space-between;.TournamentStartDate:where(.svelte-1fgbug1) {font-size:12px;opacity:70%;font-weight:300;}.TournamentTitle:where(.svelte-1fgbug1) {font-size:20px;font-weight:500;word-wrap:break-word;}.TournamentCriteria:where(.svelte-1fgbug1) {font-size:12px;opacity:70%;font-weight:200;padding:0;margin:0;}}.ViewPrizesContainer:where(.svelte-1fgbug1) {display:flex;justify-content:space-between;align-items:center;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;width:100%;margin:10px 0;padding:10px;p:where(.svelte-1fgbug1) {opacity:70%;font-size:14px;font-weight:400;max-width:55%;word-wrap:break-word;}.ViewPrizeButton:where(.svelte-1fgbug1) {background-color:transparent;border-radius:6px;color:var(--emw-color-typography, #ffffff);border:1px solid var(--emw-color-primary, #FF1D4E);padding:6px 12px;display:flex;align-items:center;font-size:12px;margin-left:6px;transition:background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;&:hover {box-shadow:0 0 8px 0px var(--emw-color-primary, #FF1D4E);transform:scale(1.05);cursor:pointer;}&:active {transform:scale(0.95);}svg:where(.svelte-1fgbug1) {margin-left:5px;justify-self:center;}}}.TimeSegment:where(.svelte-1fgbug1) {background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);padding:6px;border-radius:6px;}.TimeToEndTournament:where(.svelte-1fgbug1) > p:where(.svelte-1fgbug1) {margin-bottom:6px;font-size:12px;font-weight:400;opacity:70%;}.TimeToEndTournament:where(.svelte-1fgbug1) {display:flex;flex-direction:column;gap:6px;}.ViewDetailsButton:where(.svelte-1fgbug1) {width:100%;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;padding:8px 0;border:none;outline:none;}}`
6421
+ .svelte-1fgbug1::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}:host {height:100%;}.Hidden.svelte-1fgbug1 {display:none;}.TournamentGamesWrapper.svelte-1fgbug1 {display:grid;gap:12px;grid-template-columns:repeat(auto-fit, minmax(min(150px, 100%), 1fr));}.TournamentDetailsWrapper.svelte-1fgbug1 {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding:16px 16px 0 16px;height:100%;display:flex;flex-direction:column;.TournamentImageWrapper:where(.svelte-1fgbug1) {position:relative;border-radius:14px;background-color:var(--emw-color-bg-primary, #212121);max-width:370px;.StatusBadgesWrapper:where(.svelte-1fgbug1) {position:absolute;top:10px;right:10px;display:flex;gap:10px;.StatusBadge:where(.svelte-1fgbug1) {background-color:var(--emw-color-primary, #FF1D4E);color:var(--emw-color-typography, #ffffff);font-size:14px;border-radius:14px;padding:5px 10px;z-index:1;&.Live {background-color:var(--emw-color-green, #2DCB70);}&.Upcoming {background-color:var(--emw-color-green, #5A88D7);}&.Ended {background-color:var(--emw-color-green, #F3514B);}}}img:where(.svelte-1fgbug1) {border-radius:6px;width:100%;min-height:200px;height:200px;object-fit:cover;}}.TournamentDetails:where(.svelte-1fgbug1) {color:var(--emw-color-typography, #ffffff);margin-top:10px;display:flex;flex-direction:column;gap:10px;flex:1;justify-content:space-between;.TournamentStartDate:where(.svelte-1fgbug1) {font-size:12px;opacity:70%;font-weight:300;}.TournamentTitle:where(.svelte-1fgbug1) {font-size:20px;font-weight:500;word-wrap:break-word;}.TournamentCriteria:where(.svelte-1fgbug1) {font-size:12px;opacity:70%;font-weight:200;padding:0;margin:0;}}.ViewPrizesContainer:where(.svelte-1fgbug1) {display:flex;justify-content:space-between;align-items:center;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;width:100%;margin:10px 0;padding:10px;p:where(.svelte-1fgbug1) {opacity:70%;font-size:14px;font-weight:400;max-width:55%;word-wrap:break-word;}.ViewPrizeButton:where(.svelte-1fgbug1) {background-color:transparent;border-radius:6px;color:var(--emw-color-typography, #ffffff);border:1px solid var(--emw-color-primary, #FF1D4E);padding:6px 12px;display:flex;align-items:center;font-size:12px;margin-left:6px;transition:background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;&:hover {box-shadow:0 0 8px 0px var(--emw-color-primary, #FF1D4E);transform:scale(1.05);cursor:pointer;}&:active {transform:scale(0.95);}svg:where(.svelte-1fgbug1) {margin-left:5px;justify-self:center;}}}.TimeSegment:where(.svelte-1fgbug1) {background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);padding:6px;border-radius:6px;}.TimeToEndTournament:where(.svelte-1fgbug1) > p:where(.svelte-1fgbug1) {margin-bottom:6px;font-size:12px;font-weight:400;opacity:70%;}.TimeToEndTournament:where(.svelte-1fgbug1) {display:flex;flex-direction:column;gap:6px;}.ViewDetailsButton:where(.svelte-1fgbug1) {width:100%;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;padding:8px 0;border:none;outline:none;}}`
6422
6422
  };
6423
6423
  function kf(e, t) {
6424
6424
  Ki(t, !0), Bo(e, Ff);
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/TournamentDetails-BrZ3RnJB.cjs")).then(({default:t})=>{!customElements.get("tournament-details")&&customElements.define("tournament-details",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/TournamentDetails-Cwr9T5U7.cjs")).then(({default:t})=>{!customElements.get("tournament-details")&&customElements.define("tournament-details",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/TournamentDetails-BpTI-IJT.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/TournamentDetails-DlaSrBFI.js").then(({ default: t }) => {
14
14
  !customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { T as s } from "../components/TournamentDetails-D7zHOzI3.js";
1
+ import { T as s } from "../components/TournamentDetails-7p9POzVq.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/tournament-details",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "main": "es2015/tournament-details.cjs",
6
6
  "module": "esnext/tournament-details.js",