@discoveryjs/discovery
Advanced tools
Comparing version 1.0.0-beta.59 to 1.0.0-beta.60
@@ -0,1 +1,7 @@ | ||
## 1.0.0-beta.60 (19-03-2021) | ||
- Fixed report page vertical scrolling issue when a pointer over an editor | ||
- Added `data-page` attribute on widget's root with current `pageId` as a value | ||
- Changed layout to rely on `--discovery-page-padding-top/right/bottom/left` custom properties | ||
## 1.0.0-beta.59 (10-03-2021) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@discoveryjs/discovery", | ||
"version": "1.0.0-beta.59", | ||
"version": "1.0.0-beta.60", | ||
"description": "Hackable JSON discovery tool", | ||
@@ -20,3 +20,3 @@ "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)", | ||
"build:preloader:css": "esbuild src/preloader.css --outfile=dist/discovery-preloader.css --bundle --minify --loader:.svg=dataurl", | ||
"build-gh-pages": "discovery-build -o .gh-pages --clean && mv .gh-pages/default/* .gh-pages", | ||
"build-gh-pages": "discovery-build -o .gh-pages --clean", | ||
"prepublishOnly": "npm run build", | ||
@@ -39,5 +39,5 @@ "cypress": "npx cypress open", | ||
"devDependencies": { | ||
"@discoveryjs/cli": "2.0.0-beta.9", | ||
"@discoveryjs/cli": "2.0.0-beta.11", | ||
"cypress": "^5.3.0", | ||
"esbuild": "^0.8.55", | ||
"esbuild": "~0.9.2", | ||
"eslint": "^6.8.0", | ||
@@ -44,0 +44,0 @@ "eslint-plugin-cypress": "^2.11.2" |
@@ -29,3 +29,3 @@ /* eslint-env browser */ | ||
if (value) { | ||
el.dataset[key] = true; | ||
el.dataset[key] = value; | ||
} else { | ||
@@ -746,4 +746,5 @@ delete el.dataset[key]; | ||
setDatasetValue(this.dom.container, 'dzen', this.pageParams.dzen); | ||
setDatasetValue(this.dom.container, 'compact', this.options.compact); | ||
setDatasetValue(this.dom.container, 'page', this.pageId); | ||
setDatasetValue(this.dom.container, 'dzen', Boolean(this.pageParams.dzen)); | ||
setDatasetValue(this.dom.container, 'compact', Boolean(this.options.compact)); | ||
@@ -750,0 +751,0 @@ // FIXME: there must be a better way to reveal a widget when everything is ready |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1156372
15936