@deephaven/components 1.7.2-beta.4 → 1.7.2-beta.6

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FontsLoaded.d.ts","sourceRoot":"","sources":["../../src/theme/FontsLoaded.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,6DAA6D;IAC7D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CASvE;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,22 @@
1
+ import React, { useContext } from 'react';
2
+ import LoadingOverlay from "../LoadingOverlay.js";
3
+ import { FontsLoadedContext } from "./FontBootstrap.js";
4
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
5
+ export function FontsLoaded(_ref) {
6
+ var {
7
+ children
8
+ } = _ref;
9
+ var isFontsLoaded = useContext(FontsLoadedContext);
10
+ if (!isFontsLoaded) {
11
+ return /*#__PURE__*/_jsx(LoadingOverlay, {
12
+ "data-testid": "fonts-loaded-loading"
13
+ });
14
+ }
15
+
16
+ // eslint-disable-next-line react/jsx-no-useless-fragment
17
+ return /*#__PURE__*/_jsx(_Fragment, {
18
+ children: children
19
+ });
20
+ }
21
+ export default FontsLoaded;
22
+ //# sourceMappingURL=FontsLoaded.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FontsLoaded.js","names":["React","useContext","LoadingOverlay","FontsLoadedContext","jsx","_jsx","Fragment","_Fragment","FontsLoaded","_ref","children","isFontsLoaded"],"sources":["../../src/theme/FontsLoaded.tsx"],"sourcesContent":["import React, { useContext } from 'react';\nimport LoadingOverlay from '../LoadingOverlay';\nimport { FontsLoadedContext } from './FontBootstrap';\n\nexport type FontsLoadedProps = {\n /** Children to show when the fonts have completed loading */\n children: React.ReactNode;\n};\n\nexport function FontsLoaded({ children }: FontsLoadedProps): JSX.Element {\n const isFontsLoaded = useContext(FontsLoadedContext);\n\n if (!isFontsLoaded) {\n return <LoadingOverlay data-testid=\"fonts-loaded-loading\" />;\n }\n\n // eslint-disable-next-line react/jsx-no-useless-fragment\n return <>{children}</>;\n}\n\nexport default FontsLoaded;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AAAC,OACnCC,cAAc;AAAA,SACZC,kBAAkB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA;AAO3B,OAAO,SAASC,WAAWA,CAAAC,IAAA,EAA8C;EAAA,IAA7C;IAAEC;EAA2B,CAAC,GAAAD,IAAA;EACxD,IAAME,aAAa,GAAGV,UAAU,CAACE,kBAAkB,CAAC;EAEpD,IAAI,CAACQ,aAAa,EAAE;IAClB,oBAAON,IAAA,CAACH,cAAc;MAAC,eAAY;IAAsB,CAAE,CAAC;EAC9D;;EAEA;EACA,oBAAOG,IAAA,CAAAE,SAAA;IAAAG,QAAA,EAAGA;EAAQ,CAAG,CAAC;AACxB;AAEA,eAAeF,WAAW","ignoreList":[]}
@@ -9,4 +9,6 @@ export * from './Logo';
9
9
  export * from './colorUtils';
10
10
  export * from './useExternalTheme';
11
11
  export * from './useSpectrumThemeProvider';
12
+ export * from './FontsLoaded';
13
+ export * from './FontBootstrap';
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
@@ -9,4 +9,6 @@ export * from "./Logo.js";
9
9
  export * from "./colorUtils.js";
10
10
  export * from "./useExternalTheme.js";
11
11
  export * from "./useSpectrumThemeProvider.js";
12
+ export * from "./FontsLoaded.js";
13
+ export * from "./FontBootstrap.js";
12
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/theme/index.ts"],"sourcesContent":["export * from './theme-dark';\nexport * from './theme-light';\nexport * from './ThemeModel';\nexport * from './ThemePicker';\nexport * from './ThemeProvider';\nexport * from './ThemeUtils';\nexport * from './useTheme';\nexport * from './Logo';\nexport * from './colorUtils';\nexport * from './useExternalTheme';\nexport * from './useSpectrumThemeProvider';\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/theme/index.ts"],"sourcesContent":["export * from './theme-dark';\nexport * from './theme-light';\nexport * from './ThemeModel';\nexport * from './ThemePicker';\nexport * from './ThemeProvider';\nexport * from './ThemeUtils';\nexport * from './useTheme';\nexport * from './Logo';\nexport * from './colorUtils';\nexport * from './useExternalTheme';\nexport * from './useSpectrumThemeProvider';\nexport * from './FontsLoaded';\nexport * from './FontBootstrap';\n"],"mappings":"","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven/components",
3
- "version": "1.7.2-beta.4+eaa583ef",
3
+ "version": "1.7.2-beta.6+c0084cf6",
4
4
  "description": "Deephaven React component library",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "Apache-2.0",
@@ -25,12 +25,15 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@adobe/react-spectrum": "3.38.0",
28
- "@deephaven/icons": "^1.7.2-beta.4+eaa583ef",
29
- "@deephaven/log": "^1.7.2-beta.4+eaa583ef",
30
- "@deephaven/react-hooks": "^1.7.2-beta.4+eaa583ef",
31
- "@deephaven/utils": "^1.7.2-beta.4+eaa583ef",
28
+ "@deephaven/icons": "^1.7.2-beta.6+c0084cf6",
29
+ "@deephaven/log": "^1.7.2-beta.6+c0084cf6",
30
+ "@deephaven/react-hooks": "^1.7.2-beta.6+c0084cf6",
31
+ "@deephaven/utils": "^1.7.2-beta.6+c0084cf6",
32
+ "@fontsource/fira-mono": "5.0.13",
33
+ "@fontsource/fira-sans": "5.0.20",
32
34
  "@fortawesome/fontawesome-svg-core": "^6.2.1",
33
35
  "@fortawesome/react-fontawesome": "^0.2.0",
36
+ "@hello-pangea/dnd": "^18.0.1",
34
37
  "@internationalized/date": "^3.5.5",
35
38
  "@react-spectrum/theme-default": "^3.5.1",
36
39
  "@react-spectrum/toast": "^3.0.0-beta.16",
@@ -48,7 +51,6 @@
48
51
  "memoizee": "^0.4.15",
49
52
  "nanoid": "^5.0.7",
50
53
  "popper.js": "^1.16.1",
51
- "react-beautiful-dnd": "^13.1.1",
52
54
  "react-reverse-portal": "^2.3.0",
53
55
  "react-transition-group": "^4.4.2",
54
56
  "react-virtualized-auto-sizer": "1.0.7",
@@ -60,8 +62,8 @@
60
62
  "react-is": ">=16.8.0"
61
63
  },
62
64
  "devDependencies": {
63
- "@deephaven/mocks": "^1.7.2-beta.4+eaa583ef",
64
- "@deephaven/test-utils": "^1.7.2-beta.4+eaa583ef",
65
+ "@deephaven/mocks": "^1.7.2-beta.6+c0084cf6",
66
+ "@deephaven/test-utils": "^1.7.2-beta.6+c0084cf6",
65
67
  "react-redux": "^7.2.7"
66
68
  },
67
69
  "files": [
@@ -76,5 +78,5 @@
76
78
  "publishConfig": {
77
79
  "access": "public"
78
80
  },
79
- "gitHead": "eaa583efb0b0d0a44ef5ddc72a7835fb2174d8f2"
81
+ "gitHead": "c0084cf65bb4d6ba4af1db356b3e1c144aa7bc29"
80
82
  }
@@ -913,7 +913,7 @@ input[type='number']::-webkit-inner-spin-button {
913
913
  }
914
914
  }
915
915
 
916
- /** Preload some fonts for grid metric calculations, loaded in App.jsx */
916
+ /** Preload some fonts for grid metric calculations, loaded by FontBootstrap */
917
917
  /* stylelint-disable */
918
918
  .fira-sans-regular {
919
919
  font-family: 'Fira Sans';