@deephaven/app-utils 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.
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeBootstrap.d.ts","sourceRoot":"","sources":["../../src/components/ThemeBootstrap.tsx"],"names":[],"mappings":";AAKA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAa7E;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ThemeBootstrap.d.ts","sourceRoot":"","sources":["../../src/components/ThemeBootstrap.tsx"],"names":[],"mappings":";AAMA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAiB7E;AAED,eAAe,cAAc,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { useContext, useMemo } from 'react';
2
+ import { ChartThemeProvider } from '@deephaven/chart';
2
3
  import { ThemeProvider } from '@deephaven/components';
3
4
  import { PluginsContext } from '@deephaven/plugin';
4
5
  import { getThemeDataFromPlugins } from "../plugins/index.js";
@@ -14,7 +15,9 @@ export function ThemeBootstrap(_ref) {
14
15
  var themes = useMemo(() => pluginModules == null ? null : getThemeDataFromPlugins(pluginModules), [pluginModules]);
15
16
  return /*#__PURE__*/_jsx(ThemeProvider, {
16
17
  themes: themes,
17
- children: children
18
+ children: /*#__PURE__*/_jsx(ChartThemeProvider, {
19
+ children: children
20
+ })
18
21
  });
19
22
  }
20
23
  export default ThemeBootstrap;
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeBootstrap.js","names":["useContext","useMemo","ThemeProvider","PluginsContext","getThemeDataFromPlugins","jsx","_jsx","ThemeBootstrap","_ref","children","pluginModules","themes"],"sources":["../../src/components/ThemeBootstrap.tsx"],"sourcesContent":["import { useContext, useMemo } from 'react';\nimport { ThemeProvider } from '@deephaven/components';\nimport { PluginsContext } from '@deephaven/plugin';\nimport { getThemeDataFromPlugins } from '../plugins';\n\nexport interface ThemeBootstrapProps {\n children: React.ReactNode;\n}\n\nexport function ThemeBootstrap({ children }: ThemeBootstrapProps): JSX.Element {\n // The `usePlugins` hook throws if the context value is null. Since this is\n // the state while plugins load asynchronously, we are using `useContext`\n // directly to avoid the exception.\n const pluginModules = useContext(PluginsContext);\n\n const themes = useMemo(\n () =>\n pluginModules == null ? null : getThemeDataFromPlugins(pluginModules),\n [pluginModules]\n );\n\n return <ThemeProvider themes={themes}>{children}</ThemeProvider>;\n}\n\nexport default ThemeBootstrap;\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAC3C,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,cAAc,QAAQ,mBAAmB;AAAC,SAC1CC,uBAAuB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMhC,OAAO,SAASC,cAAcA,CAAAC,IAAA,EAAiD;EAAA,IAAhD;IAAEC;EAA8B,CAAC,GAAAD,IAAA;EAC9D;EACA;EACA;EACA,IAAME,aAAa,GAAGV,UAAU,CAACG,cAAc,CAAC;EAEhD,IAAMQ,MAAM,GAAGV,OAAO,CACpB,MACES,aAAa,IAAI,IAAI,GAAG,IAAI,GAAGN,uBAAuB,CAACM,aAAa,CAAC,EACvE,CAACA,aAAa,CAChB,CAAC;EAED,oBAAOJ,IAAA,CAACJ,aAAa;IAACS,MAAM,EAAEA,MAAO;IAAAF,QAAA,EAAEA;EAAQ,CAAgB,CAAC;AAClE;AAEA,eAAeF,cAAc"}
1
+ {"version":3,"file":"ThemeBootstrap.js","names":["useContext","useMemo","ChartThemeProvider","ThemeProvider","PluginsContext","getThemeDataFromPlugins","jsx","_jsx","ThemeBootstrap","_ref","children","pluginModules","themes"],"sources":["../../src/components/ThemeBootstrap.tsx"],"sourcesContent":["import { useContext, useMemo } from 'react';\nimport { ChartThemeProvider } from '@deephaven/chart';\nimport { ThemeProvider } from '@deephaven/components';\nimport { PluginsContext } from '@deephaven/plugin';\nimport { getThemeDataFromPlugins } from '../plugins';\n\nexport interface ThemeBootstrapProps {\n children: React.ReactNode;\n}\n\nexport function ThemeBootstrap({ children }: ThemeBootstrapProps): JSX.Element {\n // The `usePlugins` hook throws if the context value is null. Since this is\n // the state while plugins load asynchronously, we are using `useContext`\n // directly to avoid the exception.\n const pluginModules = useContext(PluginsContext);\n\n const themes = useMemo(\n () =>\n pluginModules == null ? null : getThemeDataFromPlugins(pluginModules),\n [pluginModules]\n );\n\n return (\n <ThemeProvider themes={themes}>\n <ChartThemeProvider>{children}</ChartThemeProvider>\n </ThemeProvider>\n );\n}\n\nexport default ThemeBootstrap;\n"],"mappings":"AAAA,SAASA,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAC3C,SAASC,kBAAkB,QAAQ,kBAAkB;AACrD,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,cAAc,QAAQ,mBAAmB;AAAC,SAC1CC,uBAAuB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAMhC,OAAO,SAASC,cAAcA,CAAAC,IAAA,EAAiD;EAAA,IAAhD;IAAEC;EAA8B,CAAC,GAAAD,IAAA;EAC9D;EACA;EACA;EACA,IAAME,aAAa,GAAGX,UAAU,CAACI,cAAc,CAAC;EAEhD,IAAMQ,MAAM,GAAGX,OAAO,CACpB,MACEU,aAAa,IAAI,IAAI,GAAG,IAAI,GAAGN,uBAAuB,CAACM,aAAa,CAAC,EACvE,CAACA,aAAa,CAChB,CAAC;EAED,oBACEJ,IAAA,CAACJ,aAAa;IAACS,MAAM,EAAEA,MAAO;IAAAF,QAAA,eAC5BH,IAAA,CAACL,kBAAkB;MAAAQ,QAAA,EAAEA;IAAQ,CAAqB;EAAC,CACtC,CAAC;AAEpB;AAEA,eAAeF,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/app-utils",
3
- "version": "0.53.1-beta.0+9ab2b1e3",
3
+ "version": "0.53.1-beta.4+d5b3b485",
4
4
  "description": "Deephaven App Utils",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -29,20 +29,20 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@adobe/react-spectrum": "^3.29.0",
32
- "@deephaven/auth-plugins": "^0.53.1-beta.0+9ab2b1e3",
33
- "@deephaven/chart": "^0.53.1-beta.0+9ab2b1e3",
34
- "@deephaven/components": "^0.53.1-beta.0+9ab2b1e3",
35
- "@deephaven/icons": "^0.53.1-beta.0+9ab2b1e3",
36
- "@deephaven/iris-grid": "^0.53.1-beta.0+9ab2b1e3",
37
- "@deephaven/jsapi-bootstrap": "^0.53.1-beta.0+9ab2b1e3",
38
- "@deephaven/jsapi-components": "^0.53.1-beta.0+9ab2b1e3",
39
- "@deephaven/jsapi-types": "^0.53.1-beta.0+9ab2b1e3",
40
- "@deephaven/jsapi-utils": "^0.53.1-beta.0+9ab2b1e3",
41
- "@deephaven/log": "^0.53.1-beta.0+9ab2b1e3",
42
- "@deephaven/plugin": "^0.53.1-beta.0+9ab2b1e3",
43
- "@deephaven/react-hooks": "^0.53.1-beta.0+9ab2b1e3",
44
- "@deephaven/redux": "^0.53.1-beta.0+9ab2b1e3",
45
- "@deephaven/utils": "^0.53.1-beta.0+9ab2b1e3",
32
+ "@deephaven/auth-plugins": "^0.53.1-beta.4+d5b3b485",
33
+ "@deephaven/chart": "^0.53.1-beta.4+d5b3b485",
34
+ "@deephaven/components": "^0.53.1-beta.4+d5b3b485",
35
+ "@deephaven/icons": "^0.53.1-beta.4+d5b3b485",
36
+ "@deephaven/iris-grid": "^0.53.1-beta.4+d5b3b485",
37
+ "@deephaven/jsapi-bootstrap": "^0.53.1-beta.4+d5b3b485",
38
+ "@deephaven/jsapi-components": "^0.53.1-beta.4+d5b3b485",
39
+ "@deephaven/jsapi-types": "^0.53.1-beta.4+d5b3b485",
40
+ "@deephaven/jsapi-utils": "^0.53.1-beta.4+d5b3b485",
41
+ "@deephaven/log": "^0.53.1-beta.4+d5b3b485",
42
+ "@deephaven/plugin": "^0.53.1-beta.4+d5b3b485",
43
+ "@deephaven/react-hooks": "^0.53.1-beta.4+d5b3b485",
44
+ "@deephaven/redux": "^0.53.1-beta.4+d5b3b485",
45
+ "@deephaven/utils": "^0.53.1-beta.4+d5b3b485",
46
46
  "@paciolan/remote-component": "2.13.0",
47
47
  "@paciolan/remote-module-loader": "^3.0.2",
48
48
  "fira": "mozilla/fira#4.202"
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "9ab2b1e3204c7f854b8526e510b1e5a5fc59b8f6"
65
+ "gitHead": "d5b3b485dfc95248bdd1d664152c6c1ab288720a"
66
66
  }