courthive-components 6.6.0 → 6.6.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.
- package/dist/courthive-components.es.js +7080 -7070
- package/dist/courthive-components.umd.js +33 -33
- package/dist/helpers/consideredDate.d.ts +9 -0
- package/package.json +6 -6
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The date an age category is considered on: the one the host configured, else TODAY, worked out at
|
|
3
|
+
* the call. Never a module-level constant: computed at import, it froze on the day the page loaded,
|
|
4
|
+
* and a long-running page (TMX runs all tournament week) went on offering that day after midnight.
|
|
5
|
+
*
|
|
6
|
+
* Today is the UTC date, the same fallback the factory uses when no tournament zone is known. A host
|
|
7
|
+
* that knows the tournament's zone passes its calendar day as the configured date instead.
|
|
8
|
+
*/
|
|
9
|
+
export declare function consideredDateOrToday(configured?: string): string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "courthive-components",
|
|
3
|
-
"packageManager": "pnpm@12.
|
|
4
|
-
"version": "6.6.
|
|
3
|
+
"packageManager": "pnpm@12.10.1",
|
|
4
|
+
"version": "6.6.2",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
7
7
|
},
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@types/d3": "^7.4.3",
|
|
81
81
|
"@types/leaflet": "^1.9.12",
|
|
82
82
|
"@types/vanillajs-datepicker": "^1.3.5",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "8.71.
|
|
84
|
-
"@typescript-eslint/parser": "8.71.
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "8.71.1",
|
|
84
|
+
"@typescript-eslint/parser": "8.71.1",
|
|
85
85
|
"@vitest/browser": "^5.0.3",
|
|
86
86
|
"@vitest/browser-playwright": "^5.0.3",
|
|
87
87
|
"@vitest/coverage-v8": "^5.0.0",
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
"semver": "7.8.5",
|
|
101
101
|
"storybook": "^10.2.17",
|
|
102
102
|
"tabulator-tables": "6.6.1",
|
|
103
|
-
"tods-competition-factory": "7.
|
|
103
|
+
"tods-competition-factory": "7.13.0",
|
|
104
104
|
"typescript": "^6.0.2",
|
|
105
|
-
"vite": "8.3.
|
|
105
|
+
"vite": "8.3.4",
|
|
106
106
|
"vite-plugin-dts": "^5.0.0",
|
|
107
107
|
"vitest": "^5.0.0"
|
|
108
108
|
},
|