@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.
- package/css/BaseStyleSheet.css +1 -1
- package/css/BaseStyleSheet.css.map +1 -1
- package/dist/DraggableItemList.css.map +1 -1
- package/dist/DraggableItemList.d.ts +5 -5
- package/dist/DraggableItemList.d.ts.map +1 -1
- package/dist/DraggableItemList.js +5 -5
- package/dist/DraggableItemList.js.map +1 -1
- package/dist/navigation/NavTab.js +1 -1
- package/dist/navigation/NavTab.js.map +1 -1
- package/dist/navigation/NavTabList.js +1 -1
- package/dist/navigation/NavTabList.js.map +1 -1
- package/dist/theme/FontBootstrap.d.ts +30 -0
- package/dist/theme/FontBootstrap.d.ts.map +1 -0
- package/dist/theme/FontBootstrap.js +49 -0
- package/dist/theme/FontBootstrap.js.map +1 -0
- package/dist/theme/FontsLoaded.d.ts +8 -0
- package/dist/theme/FontsLoaded.d.ts.map +1 -0
- package/dist/theme/FontsLoaded.js +22 -0
- package/dist/theme/FontsLoaded.js.map +1 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +2 -0
- package/dist/theme/index.js.map +1 -1
- package/package.json +11 -9
- package/scss/BaseStyleSheet.scss +1 -1
|
@@ -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":[]}
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -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"}
|
package/dist/theme/index.js
CHANGED
package/dist/theme/index.js.map
CHANGED
|
@@ -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.
|
|
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.
|
|
29
|
-
"@deephaven/log": "^1.7.2-beta.
|
|
30
|
-
"@deephaven/react-hooks": "^1.7.2-beta.
|
|
31
|
-
"@deephaven/utils": "^1.7.2-beta.
|
|
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.
|
|
64
|
-
"@deephaven/test-utils": "^1.7.2-beta.
|
|
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": "
|
|
81
|
+
"gitHead": "c0084cf65bb4d6ba4af1db356b3e1c144aa7bc29"
|
|
80
82
|
}
|
package/scss/BaseStyleSheet.scss
CHANGED
|
@@ -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
|
|
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';
|