@deephaven/chart 1.4.1-beta.0 → 1.5.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ChartThemeProvider.d.ts","sourceRoot":"","sources":["../src/ChartThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAE/D,OAA0B,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC;AAEhD,eAAO,MAAM,iBAAiB,4CAE7B,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAKD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,GACT,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAUvC"}
1
+ {"version":3,"file":"ChartThemeProvider.d.ts","sourceRoot":"","sources":["../src/ChartThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAE/D,OAA0B,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC;AAEhD,eAAO,MAAM,iBAAiB,4CAE7B,CAAC;AAGF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAKD,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,GACT,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAUvC"}
@@ -3,6 +3,7 @@ import { useTheme } from '@deephaven/components';
3
3
  import defaultChartTheme from "./ChartTheme.js";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  export var ChartThemeContext = /*#__PURE__*/createContext(null);
6
+ ChartThemeContext.displayName = 'ChartThemeContext';
6
7
  /*
7
8
  * Provides a chart theme based on the active themes from the ThemeProvider.
8
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ChartThemeProvider.js","names":["createContext","useMemo","useTheme","defaultChartTheme","jsx","_jsx","ChartThemeContext","ChartThemeProvider","_ref","children","activeThemes","chartTheme","Provider","value"],"sources":["../src/ChartThemeProvider.tsx"],"sourcesContent":["import { createContext, type ReactNode, useMemo } from 'react';\nimport { useTheme } from '@deephaven/components';\nimport defaultChartTheme, { type ChartTheme } from './ChartTheme';\n\nexport type ChartThemeContextValue = ChartTheme;\n\nexport const ChartThemeContext = createContext<ChartThemeContextValue | null>(\n null\n);\n\nexport interface ChartThemeProviderProps {\n children: ReactNode;\n}\n\n/*\n * Provides a chart theme based on the active themes from the ThemeProvider.\n */\nexport function ChartThemeProvider({\n children,\n}: ChartThemeProviderProps): JSX.Element {\n const { activeThemes } = useTheme();\n\n const chartTheme = useMemo(defaultChartTheme, [activeThemes]);\n\n return (\n <ChartThemeContext.Provider value={chartTheme}>\n {children}\n </ChartThemeContext.Provider>\n );\n}\n"],"mappings":"AAAA,SAASA,aAAa,EAAkBC,OAAO,QAAQ,OAAO;AAC9D,SAASC,QAAQ,QAAQ,uBAAuB;AAAC,OAC1CC,iBAAiB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAIxB,OAAO,IAAMC,iBAAiB,gBAAGN,aAAa,CAC5C,IACF,CAAC;AAMD;AACA;AACA;AACA,OAAO,SAASO,kBAAkBA,CAAAC,IAAA,EAEO;EAAA,IAFN;IACjCC;EACuB,CAAC,GAAAD,IAAA;EACxB,IAAM;IAAEE;EAAa,CAAC,GAAGR,QAAQ,CAAC,CAAC;EAEnC,IAAMS,UAAU,GAAGV,OAAO,CAACE,iBAAiB,EAAE,CAACO,YAAY,CAAC,CAAC;EAE7D,oBACEL,IAAA,CAACC,iBAAiB,CAACM,QAAQ;IAACC,KAAK,EAAEF,UAAW;IAAAF,QAAA,EAC3CA;EAAQ,CACiB,CAAC;AAEjC"}
1
+ {"version":3,"file":"ChartThemeProvider.js","names":["createContext","useMemo","useTheme","defaultChartTheme","jsx","_jsx","ChartThemeContext","displayName","ChartThemeProvider","_ref","children","activeThemes","chartTheme","Provider","value"],"sources":["../src/ChartThemeProvider.tsx"],"sourcesContent":["import { createContext, type ReactNode, useMemo } from 'react';\nimport { useTheme } from '@deephaven/components';\nimport defaultChartTheme, { type ChartTheme } from './ChartTheme';\n\nexport type ChartThemeContextValue = ChartTheme;\n\nexport const ChartThemeContext = createContext<ChartThemeContextValue | null>(\n null\n);\nChartThemeContext.displayName = 'ChartThemeContext';\n\nexport interface ChartThemeProviderProps {\n children: ReactNode;\n}\n\n/*\n * Provides a chart theme based on the active themes from the ThemeProvider.\n */\nexport function ChartThemeProvider({\n children,\n}: ChartThemeProviderProps): JSX.Element {\n const { activeThemes } = useTheme();\n\n const chartTheme = useMemo(defaultChartTheme, [activeThemes]);\n\n return (\n <ChartThemeContext.Provider value={chartTheme}>\n {children}\n </ChartThemeContext.Provider>\n );\n}\n"],"mappings":"AAAA,SAASA,aAAa,EAAkBC,OAAO,QAAQ,OAAO;AAC9D,SAASC,QAAQ,QAAQ,uBAAuB;AAAC,OAC1CC,iBAAiB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAIxB,OAAO,IAAMC,iBAAiB,gBAAGN,aAAa,CAC5C,IACF,CAAC;AACDM,iBAAiB,CAACC,WAAW,GAAG,mBAAmB;AAMnD;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAAAC,IAAA,EAEO;EAAA,IAFN;IACjCC;EACuB,CAAC,GAAAD,IAAA;EACxB,IAAM;IAAEE;EAAa,CAAC,GAAGT,QAAQ,CAAC,CAAC;EAEnC,IAAMU,UAAU,GAAGX,OAAO,CAACE,iBAAiB,EAAE,CAACQ,YAAY,CAAC,CAAC;EAE7D,oBACEN,IAAA,CAACC,iBAAiB,CAACO,QAAQ;IAACC,KAAK,EAAEF,UAAW;IAAAF,QAAA,EAC3CA;EAAQ,CACiB,CAAC;AAEjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/chart",
3
- "version": "1.4.1-beta.0+a155da69",
3
+ "version": "1.5.0",
4
4
  "description": "Deephaven Chart",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -27,13 +27,13 @@
27
27
  "build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist"
28
28
  },
29
29
  "dependencies": {
30
- "@deephaven/components": "^1.4.1-beta.0+a155da69",
31
- "@deephaven/icons": "^1.4.1-beta.0+a155da69",
30
+ "@deephaven/components": "^1.5.0",
31
+ "@deephaven/icons": "^1.2.0",
32
32
  "@deephaven/jsapi-types": "^1.0.0-dev0.39.4",
33
- "@deephaven/jsapi-utils": "^1.4.1-beta.0+a155da69",
34
- "@deephaven/log": "^1.4.1-beta.0+a155da69",
35
- "@deephaven/react-hooks": "^1.4.1-beta.0+a155da69",
36
- "@deephaven/utils": "^1.4.1-beta.0+a155da69",
33
+ "@deephaven/jsapi-utils": "^1.4.0",
34
+ "@deephaven/log": "^1.1.0",
35
+ "@deephaven/react-hooks": "^1.2.0",
36
+ "@deephaven/utils": "^1.1.0",
37
37
  "buffer": "^6.0.3",
38
38
  "fast-deep-equal": "^3.1.3",
39
39
  "lodash.debounce": "^4.0.8",
@@ -48,9 +48,9 @@
48
48
  "react": ">=16.8.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@deephaven/jsapi-shim": "^1.4.1-beta.0+a155da69",
52
- "@deephaven/mocks": "^1.4.1-beta.0+a155da69",
53
- "@deephaven/test-utils": "^1.4.1-beta.0+a155da69",
51
+ "@deephaven/jsapi-shim": "^1.1.0",
52
+ "@deephaven/mocks": "^1.1.0",
53
+ "@deephaven/test-utils": "^1.1.0",
54
54
  "@types/plotly.js": "^3.0.0"
55
55
  },
56
56
  "files": [
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "a155da691eed1c03f3c4d719737d7b34abf16822"
65
+ "gitHead": "901db5e88f6177210e90a2e60f500d50eda9926b"
66
66
  }