@datalith/dotmap
Advanced tools
Comparing version 0.11.0 to 0.12.0
{ | ||
"name": "@datalith/dotmap", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "datalith dotmap", | ||
@@ -34,4 +34,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@datalith/gridmap": "^0.11.0", | ||
"@datalith/util": "^0.11.0", | ||
"@datalith/gridmap": "^0.12.0", | ||
"@datalith/util": "^0.12.0", | ||
"d3-array": "^2.1.0", | ||
@@ -65,3 +65,3 @@ "d3-geo": "^1.11.3", | ||
}, | ||
"gitHead": "b0920c0228c962da982a7a78f97d876f95d01c50" | ||
"gitHead": "de8bfa0ea4c418ed0d618640a324001482768757" | ||
} |
@@ -19,7 +19,12 @@ # @datalith/dotmap | ||
| coords | `(Datum) => Datum` | `(Datum) => [number, number]` or `[number, number]` | Coords accessor | | ||
| value | 10 | `(Datum) => number` or `number` | Value accessor | | ||
| value | `10` | `(Datum) => number` or `number` | Value accessor | | ||
| valueInactive | `1` | `number` | Value Inactive accessor | | ||
| fill | | `(Datum) => string` or `string` | Fill color accessor | | ||
| fillOpacity | | `(Datum) => number` or `number` | Fill opacity accessor | | ||
| fillInactive | `#000` | `string` | Fill Inactive accessor | | ||
| fillOpacity | | `(Datum) => number` or `number` | Fill Opacity accessor | | ||
| fillOpacityInactive | `0.3` | `number` | Fill Opacity Inactive accessor | | ||
| stroke | | `(Datum) => string` or `string` | Stroke color accessor | | ||
| strokeOpacity | | `(Datum) => number` or `number` | Stroke opacity accessor | | ||
| strokeInactive | `transparent` | `string` | Stroke Inactive accessor | | ||
| strokeOpacity | | `(Datum) => number` or `number` | Stroke Opacity accessor | | ||
| strokeOpacityInactive | `0.3` | `number` | Stroke Opacity Inactive accessor | | ||
| <b>featureCollection \*</b> | | `FeatureCollection` | GeoJson object | | ||
@@ -45,17 +50,24 @@ | projection | `geoNaturalEarth1()` | `GeoProjection` | D3 GeoProjection to map coordinates | | ||
| Name | Default | Type | Description | | ||
| :----------------- | :------------------- | :-------------------------------------------------- | :----------------------------------------------------------- | | ||
| className | | `string` | Custom css classes to apply to the SVG | | ||
| style | | `React.CSSProperties` | Custom style object to apply to the SVG | | ||
| additionalElements | | `JSX.Element` | Optional elements to add to the SVG | | ||
| size | | `{ width: number; height: number }` | Width and Height of the SVG. Default is parent node size. | | ||
| <b>data\*</b> | | `Array<Datum>` or `Array<[number, number]>` | Array of data | | ||
| coords | `(Datum) => Datum` | `(Datum) => [number, number]` or `[number, number]` | Coords accessor | | ||
| value | 10 | `(Datum) => number` or `number` | Value accessor | | ||
| fill | | `(Datum) => string` or `string` | Fill color accessor | | ||
| fillOpacity | | `(Datum) => number` or `number` | Fill opacity accessor | | ||
| stroke | | `(Datum) => string` or `string` | Stroke color accessor | | ||
| strokeOpacity | | `(Datum) => number` or `number` | Stroke opacity accessor | | ||
| projection | `geoNaturalEarth1()` | `GeoProjection` | D3 GeoProjection to map coordinates | | ||
| side | `5` | `number` | Grid cell dimension | | ||
| tooltip | | `(Datum) => string` | Return HTML or text as a string to show on element mouseover | | ||
| Name | Default | Type | Description | | ||
| :-------------------- | :------------------- | :-------------------------------------------------- | :----------------------------------------------------------- | | ||
| className | | `string` | Custom css classes to apply to the SVG | | ||
| style | | `React.CSSProperties` | Custom style object to apply to the SVG | | ||
| additionalElements | | `JSX.Element` | Optional elements to add to the SVG | | ||
| size | | `{ width: number; height: number }` | Width and Height of the SVG. Default is parent node size. | | ||
| <b>data\*</b> | | `Array<Datum>` or `Array<[number, number]>` | Array of data | | ||
| coords | `(Datum) => Datum` | `(Datum) => [number, number]` or `[number, number]` | Coords accessor | | ||
| value | 10 | `(Datum) => number` or `number` | Value accessor | | ||
| valueInactive | `1` | `number` | Value Inactive accessor | | ||
| fill | | `(Datum) => string` or `string` | Fill color accessor | | ||
| fillInactive | `#000` | `string` | Fill Inactive accessor | | ||
| fillOpacity | | `(Datum) => number` or `number` | Fill Opacity accessor | | ||
| fillOpacityInactive | `0.3` | `number` | Fill Opacity Inactive accessor | | ||
| fillInactive | `#000` | `string` | Fill Inactive accessor | | ||
| stroke | | `(Datum) => string` or `string` | Stroke color accessor | | ||
| strokeInactive | `transparent` | `string` | Stroke Inactive accessor | | ||
| strokeOpacity | | `(Datum) => number` or `number` | Stroke Opacity accessor | | ||
| strokeOpacityInactive | `0.3` | `number` | Stroke Opacity Inactive accessor | | ||
| strokeInactive | `transparent` | `string` | Stroke Inactive accessor | | ||
| projection | `geoNaturalEarth1()` | `GeoProjection` | D3 GeoProjection to map coordinates | | ||
| side | `5` | `number` | Grid cell dimension | | ||
| tooltip | | `(Datum) => string` | Return HTML or text as a string to show on element mouseover | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20336
72
+ Added@datalith/gridmap@0.12.1(transitive)
+ Added@datalith/util@0.12.1(transitive)
- Removed@datalith/gridmap@0.11.0(transitive)
- Removed@datalith/util@0.11.0(transitive)
Updated@datalith/gridmap@^0.12.0
Updated@datalith/util@^0.12.0