courthive-components 3.12.0 → 3.12.2

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.
@@ -3162,7 +3162,7 @@ function di({ matchUp: e, eventHandlers: t }) {
3162
3162
  }
3163
3163
  //#endregion
3164
3164
  //#region src/components/renderStructure/renderSide.ts
3165
- var { completedMatchUpStatuses: fi } = s;
3165
+ var fi = s.completedMatchUpStatuses;
3166
3166
  function pi({ initialRoundNumber: e = 1, eventHandlers: t, composition: n, sideNumber: r, className: i, matchUp: a }) {
3167
3167
  let o = n?.configuration || {}, s = o?.scheduleInfo, c = a?.score?.scoreStringSide1 || a?.score?.sets?.length, l = n?.configuration?.scoreBox && c, u = a?.matchUpStatus && fi.includes(a.matchUpStatus), d = a?.readyToScore && t?.scoreClick && !_.checkScoreHasValue({ matchUp: a }) && !u, f = document.createElement("div");
3168
3168
  if (f.className = (0, F.default)(gr(), i), f.classList.add("tmx-sd"), f.setAttribute("sideNumber", String(r)), s && r === 1) {
@@ -14850,7 +14850,7 @@ function Qx(e) {
14850
14850
  var $x = {
14851
14851
  name: "courthive-components",
14852
14852
  packageManager: "pnpm@11.20.0",
14853
- version: "3.12.0",
14853
+ version: "3.12.2",
14854
14854
  engines: { node: ">=22" },
14855
14855
  description: "Components for competitions projects",
14856
14856
  files: ["dist"],
@@ -14887,16 +14887,16 @@ var $x = {
14887
14887
  "test:watch": "vitest",
14888
14888
  "test:ui": "vitest --ui",
14889
14889
  dev: "vite",
14890
- build: "vite build",
14891
- prepublishOnly: "npm run build",
14890
+ build: "tsc && vite build",
14891
+ "check-types": "tsc --noEmit",
14892
+ prepublishOnly: "pnpm build",
14892
14893
  preview: "vite preview",
14893
14894
  storybook: "storybook dev -p 6006",
14894
14895
  "build-storybook": "storybook build",
14895
14896
  "test-storybook": "test-storybook --url http://localhost:6006",
14896
14897
  "deploy-storybook": "gh-pages -d storybook-static",
14897
14898
  "pre-commit": "lint-staged",
14898
- predeploy: "npm run build-storybook",
14899
- prebuild: "rm -rf dist/*",
14899
+ predeploy: "pnpm build-storybook",
14900
14900
  lint: "eslint src --cache --max-warnings 0",
14901
14901
  "lint:fix": "eslint src --fix --cache",
14902
14902
  "lint:report": "eslint src & eslint --cache src -f json > eslint-report.json",