@deephaven/chart 0.53.1-beta.0 → 0.53.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Chart.d.ts +2 -0
- package/dist/Chart.d.ts.map +1 -1
- package/dist/Chart.js +15 -1
- package/dist/Chart.js.map +1 -1
- package/dist/ChartModelFactory.d.ts +5 -38
- package/dist/ChartModelFactory.d.ts.map +1 -1
- package/dist/ChartModelFactory.js +6 -11
- package/dist/ChartModelFactory.js.map +1 -1
- package/dist/ChartTheme.d.ts +4 -3
- package/dist/ChartTheme.d.ts.map +1 -1
- package/dist/ChartTheme.js +38 -19
- package/dist/ChartTheme.js.map +1 -1
- package/dist/ChartTheme.module.css +16 -16
- package/dist/ChartTheme.module.css.map +1 -1
- package/dist/ChartThemeProvider.d.ts +9 -0
- package/dist/ChartThemeProvider.d.ts.map +1 -0
- package/dist/ChartThemeProvider.js +35 -0
- package/dist/ChartThemeProvider.js.map +1 -0
- package/dist/ChartUtils.d.ts +12 -129
- package/dist/ChartUtils.d.ts.map +1 -1
- package/dist/ChartUtils.js +19 -26
- package/dist/ChartUtils.js.map +1 -1
- package/dist/FigureChartModel.d.ts +4 -3
- package/dist/FigureChartModel.d.ts.map +1 -1
- package/dist/FigureChartModel.js +7 -8
- package/dist/FigureChartModel.js.map +1 -1
- package/dist/MockChartModel.d.ts +3 -0
- package/dist/MockChartModel.d.ts.map +1 -1
- package/dist/MockChartModel.js +21 -11
- package/dist/MockChartModel.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/plotly/Plot.d.ts.map +1 -1
- package/dist/plotly/Plot.js +3 -8
- package/dist/plotly/Plot.js.map +1 -1
- package/dist/plotly/createPlotlyComponent.d.ts +4 -0
- package/dist/plotly/createPlotlyComponent.d.ts.map +1 -0
- package/dist/plotly/createPlotlyComponent.js +13 -0
- package/dist/plotly/createPlotlyComponent.js.map +1 -0
- package/dist/useChartTheme.d.ts +7 -0
- package/dist/useChartTheme.d.ts.map +1 -0
- package/dist/useChartTheme.js +10 -0
- package/dist/useChartTheme.js.map +1 -0
- package/package.json +11 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createPlotlyComponent.js","names":["createPlotlyComponent","default"],"sources":["../../src/plotly/createPlotlyComponent.ts"],"sourcesContent":["// Import the react customizable bundle for building, only pull in the modules we need\n// This reduces the build size. Plotly has a lot of modules we don't need/use.\n// https://github.com/plotly/react-plotly.js#customizing-the-plotlyjs-bundle\nimport createPlotlyComponent from 'react-plotly.js/factory.js';\n\n// Webpack 5 (used in docusaurus) gives an object w/ a default key\n// This is probably something on react-plotly.js's side\n// Or because we lazy load this and Docusaurus ends up w/ some complications between ESM and CJS\nexport default typeof createPlotlyComponent === 'function'\n ? createPlotlyComponent\n : // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n (createPlotlyComponent.default as typeof createPlotlyComponent);\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,qBAAqB,MAAM,4BAA4B;;AAE9D;AACA;AACA;AACA,eAAe,OAAOA,qBAAqB,KAAK,UAAU,GACtDA,qBAAqB;AACrB;AACA;AACCA,qBAAqB,CAACC,OAAwC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ChartThemeContextValue } from './ChartThemeProvider';
|
|
2
|
+
/**
|
|
3
|
+
* Hook to get the current `ChartThemeContextValue`.
|
|
4
|
+
*/
|
|
5
|
+
export declare function useChartTheme(): ChartThemeContextValue;
|
|
6
|
+
export default useChartTheme;
|
|
7
|
+
//# sourceMappingURL=useChartTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartTheme.d.ts","sourceRoot":"","sources":["../src/useChartTheme.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,wBAAgB,aAAa,IAAI,sBAAsB,CAKtD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useContextOrThrow } from '@deephaven/react-hooks';
|
|
2
|
+
import { ChartThemeContext } from "./ChartThemeProvider.js";
|
|
3
|
+
/**
|
|
4
|
+
* Hook to get the current `ChartThemeContextValue`.
|
|
5
|
+
*/
|
|
6
|
+
export function useChartTheme() {
|
|
7
|
+
return useContextOrThrow(ChartThemeContext, 'No ChartThemeContext value found.');
|
|
8
|
+
}
|
|
9
|
+
export default useChartTheme;
|
|
10
|
+
//# sourceMappingURL=useChartTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartTheme.js","names":["useContextOrThrow","ChartThemeContext","useChartTheme"],"sources":["../src/useChartTheme.tsx"],"sourcesContent":["import { useContextOrThrow } from '@deephaven/react-hooks';\n\nimport {\n ChartThemeContext,\n ChartThemeContextValue,\n} from './ChartThemeProvider';\n\n/**\n * Hook to get the current `ChartThemeContextValue`.\n */\nexport function useChartTheme(): ChartThemeContextValue {\n return useContextOrThrow(\n ChartThemeContext,\n 'No ChartThemeContext value found.'\n );\n}\n\nexport default useChartTheme;\n"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,wBAAwB;AAAC,SAGzDC,iBAAiB;AAInB;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAAA,EAA2B;EACtD,OAAOF,iBAAiB,CACtBC,iBAAiB,EACjB,mCACF,CAAC;AACH;AAEA,eAAeC,aAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/chart",
|
|
3
|
-
"version": "0.53.1-beta.
|
|
3
|
+
"version": "0.53.1-beta.4+d5b3b485",
|
|
4
4
|
"description": "Deephaven Chart",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,11 +27,13 @@
|
|
|
27
27
|
"build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@deephaven/
|
|
31
|
-
"@deephaven/
|
|
32
|
-
"@deephaven/jsapi-
|
|
33
|
-
"@deephaven/
|
|
34
|
-
"@deephaven/
|
|
30
|
+
"@deephaven/components": "^0.53.1-beta.4+d5b3b485",
|
|
31
|
+
"@deephaven/icons": "^0.53.1-beta.4+d5b3b485",
|
|
32
|
+
"@deephaven/jsapi-types": "^0.53.1-beta.4+d5b3b485",
|
|
33
|
+
"@deephaven/jsapi-utils": "^0.53.1-beta.4+d5b3b485",
|
|
34
|
+
"@deephaven/log": "^0.53.1-beta.4+d5b3b485",
|
|
35
|
+
"@deephaven/react-hooks": "^0.53.1-beta.4+d5b3b485",
|
|
36
|
+
"@deephaven/utils": "^0.53.1-beta.4+d5b3b485",
|
|
35
37
|
"deep-equal": "^2.0.5",
|
|
36
38
|
"lodash.debounce": "^4.0.8",
|
|
37
39
|
"lodash.set": "^4.3.2",
|
|
@@ -45,8 +47,8 @@
|
|
|
45
47
|
"react": "^17.x"
|
|
46
48
|
},
|
|
47
49
|
"devDependencies": {
|
|
48
|
-
"@deephaven/jsapi-shim": "^0.53.1-beta.
|
|
49
|
-
"@deephaven/mocks": "^0.53.1-beta.
|
|
50
|
+
"@deephaven/jsapi-shim": "^0.53.1-beta.4+d5b3b485",
|
|
51
|
+
"@deephaven/mocks": "^0.53.1-beta.4+d5b3b485",
|
|
50
52
|
"@types/plotly.js": "^2.12.11"
|
|
51
53
|
},
|
|
52
54
|
"files": [
|
|
@@ -58,5 +60,5 @@
|
|
|
58
60
|
"publishConfig": {
|
|
59
61
|
"access": "public"
|
|
60
62
|
},
|
|
61
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "d5b3b485dfc95248bdd1d664152c6c1ab288720a"
|
|
62
64
|
}
|