diff --git a/crfHeatMap.js b/crfHeatMap.js index 8d9a95f..81031ab 100644 --- a/crfHeatMap.js +++ b/crfHeatMap.js @@ -1045,9 +1045,13 @@ /****---------------------------------------------------------------------------------\ Row 2 - Controls \---------------------------------------------------------------------------------****/ - + '#chm-controls {' + ' display: block;' + '}', '#chm-controls .wc-controls {' + ' margin-right: 10px;' + '}', - '#chm-controls .control-group {' + ' width: 100%;' + ' margin: 0 0 5px 0;' + '}', + '#chm-controls .control-group {' + + ' width: 100%;' + + ' margin: 0 0 5px 0;' + + ' display: block;' + + '}', '#chm-controls .control-group > * {' + ' display: block;' + ' width: auto;' + '}', '#chm-controls .wc-control-label {' + ' text-align: center;' + '}', '#chm-controls .span-description {' + '}', diff --git a/package-lock.json b/package-lock.json index 9629589..acf09a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "crf-heat-map", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1246,8 +1246,7 @@ "voc": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/voc/-/voc-1.1.0.tgz", - "integrity": "sha512-fthgd8OJLqq8vPcLjElTk6Rcl2e3v5ekcXauImaqEnQqd5yUWKg1+ZOBgS2KTWuVKcuvZMQq4TDptiT1uYddUA==", - "optional": true + "integrity": "sha512-fthgd8OJLqq8vPcLjElTk6Rcl2e3v5ekcXauImaqEnQqd5yUWKg1+ZOBgS2KTWuVKcuvZMQq4TDptiT1uYddUA==" }, "webcharts": { "version": "1.11.1", diff --git a/package.json b/package.json index d48fabd..5f5a830 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "crf-heat-map", "description": "Heat Map showing database form status at different levels", - "version": "2.0.0", + "version": "2.0.1", "author": "Rho, Inc.", "license": "MIT", "homepage": "https://github.com/rhoinc/crf-heat-map#readme", diff --git a/scripts/configuration.md b/scripts/configuration.md index b4d75c2..5015bb6 100644 --- a/scripts/configuration.md +++ b/scripts/configuration.md @@ -3,7 +3,7 @@ The most straightforward way to customize the CRF Heat Map is by using a configu In addition to the standard Webcharts settings several custom settings not available in the base Webcharts library have been added to the CRF Heat Map to facilitate data mapping and other custom functionality. These custom settings are described in detail below and are set in the [rendererSettings.js file](https://github.com/RhoInc/crf-heat-map/blob/master/src/configuration/rendererSettings.js). All defaults can be overwritten by the passed configuration object. # Renderer-specific settings -The sections below describe each crf-heat-map setting as of version 2.0.0. +The sections below describe each crf-heat-map setting as of version 2.0.1. ## settings.site_col `string` @@ -287,7 +287,7 @@ Number of rows above which the user will be prompted for confirmation when expan **default:** `10000` # Webcharts settings -The object below contains each Webcharts setting as of version 2.0.0. +The object below contains each Webcharts setting as of version 2.0.1. ``` { return { cols: null, headers: null, // set in rendererSettings applyCSS: true, searchable: false, sortable: false, pagination: false, exportable: true, exports: ['csv', 'xlsx'], dynamicPositioning: false }; } } diff --git a/settings-schema.json b/settings-schema.json index 12ca017..2a3c2fb 100644 --- a/settings-schema.json +++ b/settings-schema.json @@ -2,7 +2,7 @@ "title": "settings", "description": "JSON schema for the configuration of the CRF Heat Map", "overview": "The most straightforward way to customize the CRF Heat Map is by using a configuration object whose properties describe the behavior and appearance of the table. Since the CRF Heat Map is a Webcharts `table` object, many default Webcharts settings are set in the [webchartsSettings.js file](https://github.com/RhoInc/crf-heat-map/blob/master/src/configuration/webchartsSettings.js) as [described below](#webcharts-settings). Refer to the [Webcharts documentation](https://github.com/RhoInc/Webcharts/wiki/Chart-Configuration) for more details on these settings.\nIn addition to the standard Webcharts settings several custom settings not available in the base Webcharts library have been added to the CRF Heat Map to facilitate data mapping and other custom functionality. These custom settings are described in detail below and are set in the [rendererSettings.js file](https://github.com/RhoInc/crf-heat-map/blob/master/src/configuration/rendererSettings.js). All defaults can be overwritten by the passed configuration object.", - "version": "2.0.0", + "version": "2.0.1", "type": "object", "properties": { "site_col" : { diff --git a/src/defineStyles.js b/src/defineStyles.js index 0571920..8128a70 100644 --- a/src/defineStyles.js +++ b/src/defineStyles.js @@ -113,13 +113,16 @@ export default function defineStyles() { /****---------------------------------------------------------------------------------\ Row 2 - Controls \---------------------------------------------------------------------------------****/ - + '#chm-controls {' + + ' display: block;' + + '}', '#chm-controls .wc-controls {' + ' margin-right: 10px;' + '}', '#chm-controls .control-group {' + ' width: 100%;' + ' margin: 0 0 5px 0;' + + ' display: block;' + '}', '#chm-controls .control-group > * {' + ' display: block;' +