@datalith/dotmap
Advanced tools
Comparing version 0.7.0 to 0.8.0
{ | ||
"name": "@datalith/dotmap", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "datalith dotmap", | ||
@@ -33,4 +33,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@datalith/gridmap": "^0.7.0", | ||
"@datalith/util": "^0.7.0", | ||
"@datalith/gridmap": "^0.8.0", | ||
"@datalith/util": "^0.8.0", | ||
"d3-array": "^2.1.0", | ||
@@ -64,3 +64,3 @@ "d3-geo": "^1.11.3", | ||
}, | ||
"gitHead": "8bc3b1c6da2f4e255806d43d0102623d2c329d33" | ||
"gitHead": "cd7052522b6a4c73f8d0434ddaf0385d18e55880" | ||
} |
@@ -15,3 +15,3 @@ # @datalith/dotmap | ||
| style | | `React.CSSProperties` | Custom style object to apply to the SVG | | ||
| defs | | `JSX.Element` | Optional `<defs />` element to include in 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. | | ||
@@ -30,28 +30,28 @@ | <b>data \*</b> | | `Array<Datum>` or `Array<[number, number]>` | Array of data | | ||
| 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 | | ||
| defs | | `JSX.Element` | Optional `<defs />` element to include in 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 | | ||
| projection | `geoAlbersUsa()` | `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 | | ||
| projection | `geoAlbersUsa()` | `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 | | ||
# \<DotMapWorld \/> | ||
| 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 | | ||
| defs | | `JSX.Element` | Optional `<defs />` element to include in 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 | `rgb(0,0,0)` | `(Datum) => string` or `string` | Fill color accessor | | ||
| stroke | | `(Datum) => string` or `string` | Stroke color 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 | | ||
| fill | `rgb(0,0,0)` | `(Datum) => string` or `string` | Fill color accessor | | ||
| stroke | | `(Datum) => string` or `string` | Stroke color 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
17562
+ Added@datalith/gridmap@0.8.0(transitive)
+ Added@datalith/util@0.8.0(transitive)
- Removed@datalith/gridmap@0.7.0(transitive)
- Removed@datalith/util@0.7.0(transitive)
Updated@datalith/gridmap@^0.8.0
Updated@datalith/util@^0.8.0