@types/cal-heatmap
Advanced tools
Comparing version 3.5.36 to 3.5.37
@@ -10,11 +10,8 @@ // Type definitions for cal-heatmap v3.5.4 | ||
declare global { | ||
namespace CalHeatMap | ||
{ | ||
interface CalHeatMapStatic | ||
{ | ||
new (): CalHeatMap; | ||
namespace CalHeatMap { | ||
interface CalHeatMapStatic { | ||
new(): CalHeatMap; | ||
} | ||
interface CalHeatMap | ||
{ | ||
interface CalHeatMap { | ||
/** | ||
@@ -113,4 +110,3 @@ * Initialise the CalHeatMap with the specified options | ||
interface LegendColor | ||
{ | ||
interface LegendColor { | ||
/** Color of the smallest value on the legend */ | ||
@@ -128,4 +124,3 @@ min: string; | ||
interface InitOptions | ||
{ | ||
interface InitOptions { | ||
// ================================================ | ||
@@ -434,4 +429,3 @@ // Presentation | ||
interface RuntimeOptions extends InitOptions | ||
{ | ||
interface RuntimeOptions extends InitOptions { | ||
/** Margin around each domain, in pixels. Ordered like in CSS (top, right, bottom, left) */ | ||
@@ -450,4 +444,3 @@ domainMargin: number[]; | ||
interface LegendTitleTemplates | ||
{ | ||
interface LegendTitleTemplates { | ||
/** Formatting of the smallest (leftmost) value of the legend. Default value: "less than {min} {name}" */ | ||
@@ -461,4 +454,3 @@ lower?: string | undefined; | ||
interface SubDomainFormatTemplates | ||
{ | ||
interface SubDomainFormatTemplates { | ||
/** Format of the title when there is no value associated to the date. Default value: "{date}" */ | ||
@@ -470,4 +462,3 @@ empty?: string | undefined; | ||
interface DataFormat | ||
{ | ||
interface DataFormat { | ||
/** timestamp are in seconds, value can be any number (integer or float) */ | ||
@@ -477,4 +468,3 @@ [timestamp: string]: number; | ||
interface LabelOffset | ||
{ | ||
interface LabelOffset { | ||
x: number; | ||
@@ -485,4 +475,3 @@ y: number; | ||
/** Position and alignment of the domain label. */ | ||
interface Label | ||
{ | ||
interface Label { | ||
/** | ||
@@ -489,0 +478,0 @@ * Position of the label, relative to the domain. Default: "bottom" |
{ | ||
"name": "@types/cal-heatmap", | ||
"version": "3.5.36", | ||
"version": "3.5.37", | ||
"description": "TypeScript definitions for cal-heatmap", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cal-heatmap", | ||
}, | ||
"typesPublisherContentHash": "d40e7e82162a091b87bfadd90225fba352750ed027eda59cb24697a52ee501ed", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "60b893a0d1fa5f7f2c62aed2f10659f0ba398cddfe655986c55438075a0dfea4", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 00:35:47 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:38:03 GMT | ||
* Dependencies: [@types/d3](https://npmjs.com/package/@types/d3) | ||
@@ -14,0 +14,0 @@ * Global values: none |
28687
450