@wral/hsot-data 0.1.15 → 0.2.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.
package/README.md CHANGED
@@ -14,6 +14,7 @@ exactly one of these elements.
14
14
  | `<hsot-rankings>` | The weekly Top 25 with movement + rank history | `sport`, `gender` (poll family), `season`, deep link `?poll=YYYY-MM-DD` |
15
15
  | `<hsot-school>` | School hub: hero, team tabs, schedule, roster (headed by the season's roster photo when one is set; positions render as a list, "WR/CB"; a College column appears when a player carries a commitment), honors | `school-id`, `sport` (initial tab, deep link `?sport=`), `season` |
16
16
  | `<hsot-boxscore>` | Game detail: line score (stored `periodScores`, or derived from the scoring plays when nothing wrote one — `src/lib/line-score.mjs`, shown only when it reconciles with the score), the desk's scoring-play log when a game carries one (period, clock, play, running score), coverage, season context; game notes keep their line breaks | `game-id`, `refresh-interval` |
17
+ | `<hsot-brackets>` | Playoff brackets: a sport's tournaments for the season, rounds as columns laid out from the winner edges (seedings place round one; `GET /tournaments/{id}/edges` is the tree), group tabs for split brackets (East / West / Championship), scores and the champion once played | `sport`, `season`, `tournament-id` (pin one; otherwise `?tournament=` or the bracket in play), `refresh-interval` |
17
18
  | `<hsot-school-search>` | "Find Your School" typeahead for the right rail (standalone: fetches `GET /schools?q=` itself, no injected client) | `api`, `school-href`, `limit`, `placeholder` |
18
19
 
19
20
  The live status pill on every component reads the game clock beside the
package/dist/define.mjs CHANGED
@@ -1,19 +1,20 @@
1
- import { c as e, H as n, b as c, a, e as i, d as h } from "./hsot-school-search-CPsDpIgS.js";
2
- const r = {
1
+ import { a as e, d as c, H as n, c as a, b as i, f as r, e as h } from "./hsot-brackets-D5cwGage.js";
2
+ const l = {
3
3
  "hsot-scores": h,
4
- "hsot-standings": i,
5
- "hsot-rankings": a,
6
- "hsot-school": c,
4
+ "hsot-standings": r,
5
+ "hsot-rankings": i,
6
+ "hsot-school": a,
7
7
  "hsot-boxscore": n,
8
- "hsot-school-search": e
8
+ "hsot-school-search": c,
9
+ "hsot-brackets": e
9
10
  };
10
- function l() {
11
+ function f() {
11
12
  const s = globalThis?.customElements;
12
13
  if (s)
13
- for (const [o, t] of Object.entries(r))
14
+ for (const [o, t] of Object.entries(l))
14
15
  s.get(o) || s.define(o, t);
15
16
  }
16
- typeof window < "u" && globalThis.customElements && l();
17
+ typeof window < "u" && globalThis.customElements && f();
17
18
  export {
18
- l as defineAll
19
+ f as defineAll
19
20
  };