@jbrowse/embedded-core 2.16.1 → 2.18.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.
- package/dist/ui/EmbeddedViewContainer.d.ts +1 -1
- package/dist/ui/EmbeddedViewContainer.js +2 -4
- package/dist/ui/ModalWidget.d.ts +1 -1
- package/dist/ui/ModalWidget.js +2 -2
- package/dist/ui/VersionAboutDialog.js +1 -1
- package/dist/ui/ViewMenu.d.ts +2 -2
- package/dist/ui/ViewMenu.js +3 -3
- package/dist/ui/ViewTitle.d.ts +1 -1
- package/dist/ui/ViewTitle.js +2 -3
- package/esm/ui/EmbeddedViewContainer.d.ts +1 -1
- package/esm/ui/EmbeddedViewContainer.js +2 -4
- package/esm/ui/ModalWidget.d.ts +1 -1
- package/esm/ui/ModalWidget.js +2 -2
- package/esm/ui/VersionAboutDialog.js +1 -1
- package/esm/ui/ViewMenu.d.ts +2 -2
- package/esm/ui/ViewMenu.js +3 -3
- package/esm/ui/ViewTitle.d.ts +1 -1
- package/esm/ui/ViewTitle.js +2 -3
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
2
|
+
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
3
3
|
declare const ViewContainerWrapper: ({ view, children, }: {
|
|
4
4
|
view: IBaseViewModel;
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -27,14 +27,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const react_1 = __importStar(require("react"));
|
|
30
|
+
const util_1 = require("@jbrowse/core/util");
|
|
30
31
|
const material_1 = require("@mui/material");
|
|
31
|
-
const mui_1 = require("tss-react/mui");
|
|
32
32
|
const mobx_react_1 = require("mobx-react");
|
|
33
|
-
const
|
|
33
|
+
const mui_1 = require("tss-react/mui");
|
|
34
34
|
const ViewTitle_1 = __importDefault(require("./ViewTitle"));
|
|
35
35
|
const useStyles = (0, mui_1.makeStyles)()(theme => ({
|
|
36
|
-
// avoid parent styles getting into this div
|
|
37
|
-
// https://css-tricks.com/almanac/properties/a/all/
|
|
38
36
|
avoidParentStyle: {
|
|
39
37
|
all: 'initial',
|
|
40
38
|
},
|
package/dist/ui/ModalWidget.d.ts
CHANGED
package/dist/ui/ModalWidget.js
CHANGED
|
@@ -24,11 +24,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
const react_1 = __importStar(require("react"));
|
|
27
|
-
const material_1 = require("@mui/material");
|
|
28
27
|
const ui_1 = require("@jbrowse/core/ui");
|
|
29
|
-
const
|
|
28
|
+
const material_1 = require("@mui/material");
|
|
30
29
|
const mobx_react_1 = require("mobx-react");
|
|
31
30
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
31
|
+
const mui_1 = require("tss-react/mui");
|
|
32
32
|
const useStyles = (0, mui_1.makeStyles)()({
|
|
33
33
|
paper: {
|
|
34
34
|
overflow: 'auto',
|
|
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.default = AboutDialog;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const material_1 = require("@mui/material");
|
|
9
8
|
const ui_1 = require("@jbrowse/core/ui");
|
|
9
|
+
const material_1 = require("@mui/material");
|
|
10
10
|
const mui_1 = require("tss-react/mui");
|
|
11
11
|
const useStyles = (0, mui_1.makeStyles)()({
|
|
12
12
|
content: {
|
package/dist/ui/ViewMenu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
3
|
+
import type { IconButtonProps as IconButtonPropsType, SvgIconProps } from '@mui/material';
|
|
4
4
|
declare const ViewMenu: ({ model, IconButtonProps, IconProps, }: {
|
|
5
5
|
model: IBaseViewModel;
|
|
6
6
|
IconButtonProps: IconButtonPropsType;
|
package/dist/ui/ViewMenu.js
CHANGED
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const material_1 = require("@mui/material");
|
|
8
|
-
const Menu_1 = __importDefault(require("@mui/icons-material/Menu"));
|
|
9
|
-
const mobx_react_1 = require("mobx-react");
|
|
10
7
|
const ui_1 = require("@jbrowse/core/ui");
|
|
8
|
+
const Menu_1 = __importDefault(require("@mui/icons-material/Menu"));
|
|
9
|
+
const material_1 = require("@mui/material");
|
|
11
10
|
const hooks_1 = require("material-ui-popup-state/hooks");
|
|
11
|
+
const mobx_react_1 = require("mobx-react");
|
|
12
12
|
const ViewMenu = (0, mobx_react_1.observer)(function ({ model, IconButtonProps, IconProps, }) {
|
|
13
13
|
const popupState = (0, hooks_1.usePopupState)({
|
|
14
14
|
popupId: 'viewMenu',
|
package/dist/ui/ViewTitle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
2
|
+
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
3
3
|
declare const ViewTitle: ({ view }: {
|
|
4
4
|
view: IBaseViewModel;
|
|
5
5
|
}) => React.JSX.Element;
|
package/dist/ui/ViewTitle.js
CHANGED
|
@@ -27,12 +27,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const react_1 = __importStar(require("react"));
|
|
30
|
+
const ui_1 = require("@jbrowse/core/ui");
|
|
31
|
+
const util_1 = require("@jbrowse/core/util");
|
|
30
32
|
const material_1 = require("@mui/material");
|
|
31
33
|
const mobx_react_1 = require("mobx-react");
|
|
32
|
-
const ui_1 = require("@jbrowse/core/ui");
|
|
33
34
|
const mui_1 = require("tss-react/mui");
|
|
34
|
-
const util_1 = require("@jbrowse/core/util");
|
|
35
|
-
// locals
|
|
36
35
|
const ViewMenu_1 = __importDefault(require("./ViewMenu"));
|
|
37
36
|
const VersionAboutDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./VersionAboutDialog'))));
|
|
38
37
|
const useStyles = (0, mui_1.makeStyles)()(theme => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
2
|
+
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
3
3
|
declare const ViewContainerWrapper: ({ view, children, }: {
|
|
4
4
|
view: IBaseViewModel;
|
|
5
5
|
children: React.ReactNode;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React, { Suspense } from 'react';
|
|
2
|
+
import { getSession, useWidthSetter } from '@jbrowse/core/util';
|
|
2
3
|
import { Paper, ScopedCssBaseline, useTheme } from '@mui/material';
|
|
3
|
-
import { makeStyles } from 'tss-react/mui';
|
|
4
4
|
import { observer } from 'mobx-react';
|
|
5
|
-
import {
|
|
5
|
+
import { makeStyles } from 'tss-react/mui';
|
|
6
6
|
import ViewTitle from './ViewTitle';
|
|
7
7
|
const useStyles = makeStyles()(theme => ({
|
|
8
|
-
// avoid parent styles getting into this div
|
|
9
|
-
// https://css-tricks.com/almanac/properties/a/all/
|
|
10
8
|
avoidParentStyle: {
|
|
11
9
|
all: 'initial',
|
|
12
10
|
},
|
package/esm/ui/ModalWidget.d.ts
CHANGED
package/esm/ui/ModalWidget.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { Suspense } from 'react';
|
|
2
|
-
import { AppBar, Paper, Toolbar, Typography } from '@mui/material';
|
|
3
2
|
import { Dialog } from '@jbrowse/core/ui';
|
|
4
|
-
import {
|
|
3
|
+
import { AppBar, Paper, Toolbar, Typography } from '@mui/material';
|
|
5
4
|
import { observer } from 'mobx-react';
|
|
6
5
|
import { getEnv } from 'mobx-state-tree';
|
|
6
|
+
import { makeStyles } from 'tss-react/mui';
|
|
7
7
|
const useStyles = makeStyles()({
|
|
8
8
|
paper: {
|
|
9
9
|
overflow: 'auto',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DialogContent, Link, Typography } from '@mui/material';
|
|
3
2
|
import { Dialog } from '@jbrowse/core/ui';
|
|
3
|
+
import { DialogContent, Link, Typography } from '@mui/material';
|
|
4
4
|
import { makeStyles } from 'tss-react/mui';
|
|
5
5
|
const useStyles = makeStyles()({
|
|
6
6
|
content: {
|
package/esm/ui/ViewMenu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
3
|
+
import type { IconButtonProps as IconButtonPropsType, SvgIconProps } from '@mui/material';
|
|
4
4
|
declare const ViewMenu: ({ model, IconButtonProps, IconProps, }: {
|
|
5
5
|
model: IBaseViewModel;
|
|
6
6
|
IconButtonProps: IconButtonPropsType;
|
package/esm/ui/ViewMenu.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { CascadingMenu } from '@jbrowse/core/ui';
|
|
3
3
|
import MenuIcon from '@mui/icons-material/Menu';
|
|
4
|
+
import { IconButton } from '@mui/material';
|
|
5
|
+
import { bindPopover, bindTrigger, usePopupState, } from 'material-ui-popup-state/hooks';
|
|
4
6
|
import { observer } from 'mobx-react';
|
|
5
|
-
import { CascadingMenu } from '@jbrowse/core/ui';
|
|
6
|
-
import { bindTrigger, bindPopover, usePopupState, } from 'material-ui-popup-state/hooks';
|
|
7
7
|
const ViewMenu = observer(function ({ model, IconButtonProps, IconProps, }) {
|
|
8
8
|
const popupState = usePopupState({
|
|
9
9
|
popupId: 'viewMenu',
|
package/esm/ui/ViewTitle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
2
|
+
import type { IBaseViewModel } from '@jbrowse/core/pluggableElementTypes/models/BaseViewModel';
|
|
3
3
|
declare const ViewTitle: ({ view }: {
|
|
4
4
|
view: IBaseViewModel;
|
|
5
5
|
}) => React.JSX.Element;
|
package/esm/ui/ViewTitle.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { Suspense, lazy, useState } from 'react';
|
|
2
|
+
import { Logomark } from '@jbrowse/core/ui';
|
|
3
|
+
import { getSession } from '@jbrowse/core/util';
|
|
2
4
|
import { IconButton, Typography, alpha } from '@mui/material';
|
|
3
5
|
import { observer } from 'mobx-react';
|
|
4
|
-
import { Logomark } from '@jbrowse/core/ui';
|
|
5
6
|
import { makeStyles } from 'tss-react/mui';
|
|
6
|
-
import { getSession } from '@jbrowse/core/util';
|
|
7
|
-
// locals
|
|
8
7
|
import ViewMenu from './ViewMenu';
|
|
9
8
|
const VersionAboutDialog = lazy(() => import('./VersionAboutDialog'));
|
|
10
9
|
const useStyles = makeStyles()(theme => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/embedded-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
4
4
|
"description": "JBrowse 2 code shared between embedded products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime": "^7.16.3",
|
|
45
|
-
"@jbrowse/core": "^2.
|
|
46
|
-
"@jbrowse/product-core": "^2.
|
|
45
|
+
"@jbrowse/core": "^2.18.0",
|
|
46
|
+
"@jbrowse/product-core": "^2.18.0",
|
|
47
47
|
"@mui/icons-material": "^6.0.0",
|
|
48
48
|
"@mui/material": "^6.0.0",
|
|
49
49
|
"copy-to-clipboard": "^3.3.1"
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "c344ea60099cb7e460b77f15808946b24a7eee74"
|
|
64
64
|
}
|