Skip to content

Commit

Permalink
Promote histogram bar tooltip to be rendered as a child of document b…
Browse files Browse the repository at this point in the history
…ody (#48)

Co-authored-by: Nuno Neves <[email protected]>
  • Loading branch information
nancruz and Nuno Neves authored Apr 8, 2020
1 parent 1f1f2e2 commit ba6d8e9
Show file tree
Hide file tree
Showing 26 changed files with 1,513 additions and 355 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased
- Move `react` in `package.json` from `dependency` to `peerDependency`.
- Promote the histogram bar tooltip DOM node to be a child of document.body.

## 1.2.1 (2019/04/9)
- Allow the user to define a custom `brushDomain` via `props`.
Expand Down
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
} catch (e) {
// eslint-disable-next-line no-console
console.warn('unable to connect to parent frame for connecting dev tools');
}</script></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><div id="error-message" class="sb-heading"></div><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><script src="runtime~main.1384b4748a262e70e41c.bundle.js"></script><script src="vendors~main.1384b4748a262e70e41c.bundle.js"></script><script src="main.1384b4748a262e70e41c.bundle.js"></script></body></html>
}</script></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><div id="error-message" class="sb-heading"></div><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><script src="runtime~main.f80707d9b6c6739d4452.bundle.js"></script><script src="vendors~main.f80707d9b6c6739d4452.bundle.js"></script><script src="main.f80707d9b6c6739d4452.bundle.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
} catch (e) {
// eslint-disable-next-line no-console
console.warn('unable to connect to parent frame for connecting dev tools');
}</script></head><body><div id="root"></div><script src="runtime~main.6ac4c33d73ae9704bbb9.bundle.js"></script><script src="vendors~main.4439187be353e5f64dce.bundle.js"></script><script src="main.bfbf1b65571ef3657662.bundle.js"></script></body></html>
}</script></head><body><div id="root"></div><script src="runtime~main.6ac4c33d73ae9704bbb9.bundle.js"></script><script src="vendors~main.1a3c3618f044fa5f60a4.bundle.js"></script><script src="main.06a73a738c4152e00753.bundle.js"></script></body></html>
1 change: 1 addition & 0 deletions docs/main.06a73a738c4152e00753.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docs/main.1384b4748a262e70e41c.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.1384b4748a262e70e41c.bundle.js.map

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.bfbf1b65571ef3657662.bundle.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/main.f80707d9b6c6739d4452.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/main.f80707d9b6c6739d4452.bundle.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 95 additions & 0 deletions docs/vendors~main.1a3c3618f044fa5f60a4.bundle.js

Large diffs are not rendered by default.

95 changes: 0 additions & 95 deletions docs/vendors~main.4439187be353e5f64dce.bundle.js

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
module.exports = {
verbose: false,

collectCoverage: true,

moduleDirectories: [
"node_modules",
"<rootDir>/src"
],

roots: [
"<rootDir>/src"
],

collectCoverageFrom: [
"src/**/*.js"
],

coverageDirectory: "<rootDir>/coverage",

transformIgnorePatterns: [
"/node_modules/"
],

setupFilesAfterEnv: ["<rootDir>/jest.setup.js"],

snapshotSerializers: ["enzyme-to-json/serializer"],

coverageReporters: ["html", "lcov", "clover"]
};
Loading

0 comments on commit ba6d8e9

Please sign in to comment.