mirror of
https://github.com/bendtherules/react-vis-gridarea.git
synced 2026-08-18 22:02:23 +00:00
Deploy Storybook to Github Pages [skip ci]
This commit is contained in:
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
+27
@@ -0,0 +1,27 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
|
||||||
|
<base target="_parent">
|
||||||
|
<script>
|
||||||
|
if (window.parent !== window) {
|
||||||
|
try {
|
||||||
|
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||||
|
} catch (error) {
|
||||||
|
// The above line can throw if we do not have access to the parent frame -- i.e. cross origin
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<title>Storybook</title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="root"></div>
|
||||||
|
<div id="error-display"></div>
|
||||||
|
<script type="text/javascript" src="static/preview.e863fc6a73d2fa03617c.bundle.js"></script></body>
|
||||||
|
|
||||||
|
</html>
|
||||||
+44
@@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="storybook-version" content="3.4.8">
|
||||||
|
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
|
||||||
|
<title>Storybook</title>
|
||||||
|
<style>
|
||||||
|
/*
|
||||||
|
When resizing panels, the drag event breaks if the cursor
|
||||||
|
moves over the iframe. Add the 'dragging' class to the body
|
||||||
|
at drag start and remove it when the drag ends.
|
||||||
|
*/
|
||||||
|
.dragging iframe {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Styling the fuzzy search box placeholders */
|
||||||
|
.searchBox::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
||||||
|
color: #ddd;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchBox::-moz-placeholder { /* Firefox 19+ */
|
||||||
|
color: #ddd;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchBox:focus{
|
||||||
|
border-color: #EEE !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover{
|
||||||
|
background-color: #eee
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body style="margin: 0;">
|
||||||
|
<div id="root"></div>
|
||||||
|
<script type="text/javascript" src="static/manager.b8d763bc77f915010bd0.bundle.js"></script></body>
|
||||||
|
</html>
|
||||||
Vendored
+5
@@ -0,0 +1,5 @@
|
|||||||
|
export declare class Greeter {
|
||||||
|
private greeting;
|
||||||
|
constructor(message: string);
|
||||||
|
greet(): string;
|
||||||
|
}
|
||||||
Vendored
+56
@@ -0,0 +1,56 @@
|
|||||||
|
import * as React from 'react';
|
||||||
|
import { PureComponent } from 'react';
|
||||||
|
import * as PropTypes from 'prop-types';
|
||||||
|
declare enum Direction {
|
||||||
|
VERTICAL = "vertical",
|
||||||
|
HORIZONTAL = "horizontal"
|
||||||
|
}
|
||||||
|
declare type NumberOrString = number | string;
|
||||||
|
interface GridAreaProps {
|
||||||
|
direction: Direction;
|
||||||
|
highlightRegion: Array<[NumberOrString, NumberOrString]>;
|
||||||
|
style: {
|
||||||
|
[styleName: string]: any;
|
||||||
|
};
|
||||||
|
onValueMouseOver?: (ev: React.MouseEvent<SVGElement>, value: [NumberOrString, NumberOrString]) => void;
|
||||||
|
onValueMouseOut?: (ev: React.MouseEvent<SVGElement>, value: [NumberOrString, NumberOrString]) => void;
|
||||||
|
onValueClick?: (ev: React.MouseEvent<SVGElement>, value: [NumberOrString, NumberOrString]) => void;
|
||||||
|
onSeriesMouseOver?: (ev: React.MouseEvent<SVGElement>) => void;
|
||||||
|
onSeriesMouseOut?: (ev: React.MouseEvent<SVGElement>) => void;
|
||||||
|
onSeriesClick?: (ev: React.MouseEvent<SVGElement>) => void;
|
||||||
|
marginTop: number;
|
||||||
|
marginBottom: number;
|
||||||
|
marginLeft: number;
|
||||||
|
marginRight: number;
|
||||||
|
innerWidth: number;
|
||||||
|
innerHeight: number;
|
||||||
|
}
|
||||||
|
declare class GridArea extends PureComponent<GridAreaProps, {}> {
|
||||||
|
static displayName: string;
|
||||||
|
static propTypes: {
|
||||||
|
direction: PropTypes.Requireable<any>;
|
||||||
|
highlightRegion: PropTypes.Requireable<any>;
|
||||||
|
style: PropTypes.Requireable<any>;
|
||||||
|
onValueMouseOver: PropTypes.Requireable<any>;
|
||||||
|
onValueMouseOut: PropTypes.Requireable<any>;
|
||||||
|
onValueClick: PropTypes.Requireable<any>;
|
||||||
|
onSeriesMouseOver: PropTypes.Requireable<any>;
|
||||||
|
onSeriesMouseOut: PropTypes.Requireable<any>;
|
||||||
|
onSeriesClick: PropTypes.Requireable<any>;
|
||||||
|
marginTop: PropTypes.Requireable<any>;
|
||||||
|
marginBottom: PropTypes.Requireable<any>;
|
||||||
|
marginLeft: PropTypes.Requireable<any>;
|
||||||
|
marginRight: PropTypes.Requireable<any>;
|
||||||
|
innerWidth: PropTypes.Requireable<any>;
|
||||||
|
innerHeight: PropTypes.Requireable<any>;
|
||||||
|
};
|
||||||
|
static defaultProps: {
|
||||||
|
direction: Direction;
|
||||||
|
};
|
||||||
|
static requiresSVG: boolean;
|
||||||
|
static defaultStyle: {
|
||||||
|
fill: string;
|
||||||
|
};
|
||||||
|
render(): JSX.Element;
|
||||||
|
}
|
||||||
|
export default GridArea;
|
||||||
Vendored
+2
@@ -0,0 +1,2 @@
|
|||||||
|
import GridArea from './grid-area';
|
||||||
|
export default GridArea;
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user