From f23237d4185830d94f362cbd1dae527ab59ad623 Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Thu, 29 Feb 2024 18:11:54 -0300 Subject: [PATCH 1/7] unifying the ui and ove demos --- packages/ove/demo/src/AlignmentDemo.js | 423 +++++++++--------- packages/ove/demo/src/EditorDemo/index.js | 45 +- .../ove/demo/src/VersionHistoryViewDemo.js | 59 +++ packages/ove/demo/src/index.js | 371 ++++----------- packages/ove/demo/src/style.css | 15 - packages/ove/src/AlignmentView/index.js | 2 + packages/ove/src/AlignmentView/style.css | 3 + packages/ove/src/Editor/style.css | 1 + packages/shared-demo/src/DemoNav.js | 103 +++++ packages/shared-demo/src/DemoPage.js | 214 +++++++++ packages/shared-demo/src/VersionSwitcher.js | 59 +-- packages/shared-demo/src/index.js | 3 +- .../{ui/demo => shared-demo}/src/style.css | 22 +- packages/ui/demo/src/DemoHeader.js | 68 --- packages/ui/demo/src/DemoNav.js | 118 ----- packages/ui/demo/src/examples/MenuBar.js | 1 + .../ui/demo/src/examples/MenuBarStyle.css | 4 + packages/ui/demo/src/index.js | 151 +------ vite.react.config.ts | 2 +- 19 files changed, 768 insertions(+), 896 deletions(-) create mode 100644 packages/ove/demo/src/VersionHistoryViewDemo.js create mode 100644 packages/shared-demo/src/DemoNav.js create mode 100644 packages/shared-demo/src/DemoPage.js rename packages/{ui/demo => shared-demo}/src/style.css (90%) delete mode 100644 packages/ui/demo/src/DemoHeader.js delete mode 100644 packages/ui/demo/src/DemoNav.js create mode 100644 packages/ui/demo/src/examples/MenuBarStyle.css diff --git a/packages/ove/demo/src/AlignmentDemo.js b/packages/ove/demo/src/AlignmentDemo.js index 9fb1ac74..8fbdd7c1 100644 --- a/packages/ove/demo/src/AlignmentDemo.js +++ b/packages/ove/demo/src/AlignmentDemo.js @@ -48,224 +48,231 @@ export default class AlignmentDemo extends React.Component { } render() { return ( - <> -
- {renderToggle({ - that: this, - alwaysShow: true, - type: "showDemoOptions", - label: "Show Demo Options", - hotkey: `cmd+'` - })} -
-
- {this.state.showDemoOptions && ( -
- { - this.setState({ alignmentDataId: val }); - }} - options={[ - { - label: "Multiple Sequence Alignment", - value: msaAlignment.id - }, - { label: "Pairwise Alignment", value: pairwiseAlignment.id }, - { - label: "Pairwise Alignment 2", - value: pairwiseAlignment2.id - }, - { label: "Sanger Alignment", value: sangerAlignment.id }, - { label: "MSA with gaps", value: msaAlignmentWithGaps.id } - ]} - /> -
- {renderToggle({ - that: this, - type: "forceHeightMode", - label: "Force Height 500px", - description: - "You can force a height for the editor by passing height:500 (same for width)" - })} - {renderToggle({ - that: this, - type: "setAlignmentName", - label: "Set Alignment Name", - description: - "You can give the alignment a name by setting alignmentName:'Ref Seq Name'" - })} - {renderToggle({ - that: this, - type: "isFullyZoomedOut", - label: "View Zoomed-Out Alignment", - description: - "You can view the alignment zoomed-out by setting isFullyZoomedOut:true" - })} - {renderToggle({ - that: this, - type: "setMinimapLaneHeight", - label: "Set Minimap Lane Height 13px", - description: - "You can set a height for the minimap lanes by passing minimapLaneHeight:13" - })} - {renderToggle({ - that: this, - type: "setMinimapLaneSpacing", - label: "Set Minimap Lane Spacing 3px", - description: - "You can set a height for the space between minimap lanes by passing minimapLaneSpacing:3" - })} - {renderToggle({ - that: this, - type: "noClickDragHandlers", - label: "Disable Clicks, Dragging and Highlighting", - description: - "You can disable click-drag highlighting by setting noClickDragHandlers:true" - })} - {renderToggle({ - that: this, - type: "allowTrackNameEdit" - })} +
+ {this.state.showDemoOptions && ( +
+
{renderToggle({ that: this, - type: "handleAlignmentRename" + alwaysShow: true, + type: "showDemoOptions", + label: "Show Demo Options", + hotkey: `cmd+'` })} - {renderToggle({ - that: this, - type: "shouldAutosave" - })} - {renderToggle({ - that: this, - type: "allowTrimming" - })} - {renderToggle({ - that: this, - type: "allowTrackRearrange" - })} - {renderToggle({ - that: this, - type: "hasTemplate", - label: "Specify Alignment with Template", - description: - "You can specify that the first sequence in an alignment is a template sequence by setting hasTemplate:true" - })} - {renderToggle({ - that: this, - type: "setTickSpacing", - label: "Force Tick Spacing 5 bps", - description: - "You can set force the spacing of tick marks on the axis by setting linearViewOptions:{tickSpacing:5}" - })} - {renderToggle({ - that: this, - type: "noVisibilityOptions", - label: "Disable Visibility Options", - description: - "You can disable the visibility options menu by setting noVisibilityOptions:true" - })} - {renderToggle({ - that: this, - type: "overrideSelectionRightClick", - label: "Override Selection Right Click", - description: - "You can override the selection right click by passing a selectionLayerRightClicked={(event)={}} prop" - })} - {renderToggle({ - that: this, - type: "addSelectionRightClickOptions", - label: "Add Selection Right Click Options", - description: `You can add options to the selection right click by passing additionalSelectionLayerRightClickedOptions={(event)=>({ +
+ { + this.setState({ alignmentDataId: val }); + }} + options={[ + { + label: "Multiple Sequence Alignment", + value: msaAlignment.id + }, + { label: "Pairwise Alignment", value: pairwiseAlignment.id }, + { + label: "Pairwise Alignment 2", + value: pairwiseAlignment2.id + }, + { label: "Sanger Alignment", value: sangerAlignment.id }, + { label: "MSA with gaps", value: msaAlignmentWithGaps.id } + ]} + /> +
+ {renderToggle({ + that: this, + type: "forceHeightMode", + label: "Force Height 500px", + description: + "You can force a height for the editor by passing height:500 (same for width)" + })} + {renderToggle({ + that: this, + type: "setAlignmentName", + label: "Set Alignment Name", + description: + "You can give the alignment a name by setting alignmentName:'Ref Seq Name'" + })} + {renderToggle({ + that: this, + type: "isFullyZoomedOut", + label: "View Zoomed-Out Alignment", + description: + "You can view the alignment zoomed-out by setting isFullyZoomedOut:true" + })} + {renderToggle({ + that: this, + type: "setMinimapLaneHeight", + label: "Set Minimap Lane Height 13px", + description: + "You can set a height for the minimap lanes by passing minimapLaneHeight:13" + })} + {renderToggle({ + that: this, + type: "setMinimapLaneSpacing", + label: "Set Minimap Lane Spacing 3px", + description: + "You can set a height for the space between minimap lanes by passing minimapLaneSpacing:3" + })} + {renderToggle({ + that: this, + type: "noClickDragHandlers", + label: "Disable Clicks, Dragging and Highlighting", + description: + "You can disable click-drag highlighting by setting noClickDragHandlers:true" + })} + {renderToggle({ + that: this, + type: "allowTrackNameEdit" + })} + {renderToggle({ + that: this, + type: "handleAlignmentRename" + })} + {renderToggle({ + that: this, + type: "shouldAutosave" + })} + {renderToggle({ + that: this, + type: "allowTrimming" + })} + {renderToggle({ + that: this, + type: "allowTrackRearrange" + })} + {renderToggle({ + that: this, + type: "hasTemplate", + label: "Specify Alignment with Template", + description: + "You can specify that the first sequence in an alignment is a template sequence by setting hasTemplate:true" + })} + {renderToggle({ + that: this, + type: "setTickSpacing", + label: "Force Tick Spacing 5 bps", + description: + "You can set force the spacing of tick marks on the axis by setting linearViewOptions:{tickSpacing:5}" + })} + {renderToggle({ + that: this, + type: "noVisibilityOptions", + label: "Disable Visibility Options", + description: + "You can disable the visibility options menu by setting noVisibilityOptions:true" + })} + {renderToggle({ + that: this, + type: "overrideSelectionRightClick", + label: "Override Selection Right Click", + description: + "You can override the selection right click by passing a selectionLayerRightClicked={(event)={}} prop" + })} + {renderToggle({ + that: this, + type: "addSelectionRightClickOptions", + label: "Add Selection Right Click Options", + description: `You can add options to the selection right click by passing additionalSelectionLayerRightClickedOptions={(event)=>({ text: "I'm an additional option", className: "createDiversityRegion", onClick: () => this.addDiversityRegionIfPossible() })} prop` - })} -

-

-

-

-

-
- )} - [ - { - text: "I'm an additional option", - className: "createDiversityRegion", - onClick: () => window.toastr.success("You did it!") - } - ] - }), - ...(this.state.overrideSelectionRightClick && { - selectionLayerRightClicked: () => { - window.toastr.success("lezzz goooo!"); + })} +

+

+

+

+

+
+ )} + [ + { + text: "I'm an additional option", + className: "createDiversityRegion", + onClick: () => window.toastr.success("You did it!") } - }), - additionalTopEl: , - id: this.state.alignmentDataId, - height: this.state.forceHeightMode ? 500 : undefined, - isFullyZoomedOut: this.state.isFullyZoomedOut, - minimapLaneHeight: this.state.setMinimapLaneHeight - ? 13 - : undefined, - minimapLaneSpacing: this.state.setMinimapLaneSpacing - ? 3 - : undefined, - handleAlignmentRename: this.state.handleAlignmentRename - ? newName => { - window.toastr.success( - `handleAlignmentRename triggered with ${newName}` - ); - this.setState({ alignmentName: newName }); - } - : undefined, - alignmentName: this.state.alignmentName - ? this.state.alignmentName - : this.state.alignmentName + ] + }), + ...(this.state.overrideSelectionRightClick && { + selectionLayerRightClicked: () => { + window.toastr.success("lezzz goooo!"); + } + }), + additionalTopLeftEl: ( + + ), + additionalTopEl: , + id: this.state.alignmentDataId, + height: this.state.forceHeightMode ? 500 : undefined, + isFullyZoomedOut: this.state.isFullyZoomedOut, + minimapLaneHeight: this.state.setMinimapLaneHeight ? 13 : undefined, + minimapLaneSpacing: this.state.setMinimapLaneSpacing + ? 3 + : undefined, + handleAlignmentRename: this.state.handleAlignmentRename + ? newName => { + window.toastr.success( + `handleAlignmentRename triggered with ${newName}` + ); + this.setState({ alignmentName: newName }); + } + : undefined, + alignmentName: this.state.alignmentName + ? this.state.alignmentName + : this.state.alignmentName ? "Ref Seq Name" : "Alignment Name Placeholder", - noClickDragHandlers: this.state.noClickDragHandlers, - allowTrackNameEdit: this.state.allowTrackNameEdit, - allowTrimming: this.state.allowTrimming, - shouldAutosave: this.state.shouldAutosave, - handleAlignmentSave: this.state.shouldAutosave - ? () => { - window.toastr.success("Autosave Triggered"); - } - : undefined, - allowTrackRearrange: this.state.allowTrackRearrange, - hasTemplate: this.state.hasTemplate, - noVisibilityOptions: this.state.noVisibilityOptions, - linearViewOptions: { - ...(this.state.setTickSpacing && { tickSpacing: 10 }) - } - }} - /> -
- + noClickDragHandlers: this.state.noClickDragHandlers, + allowTrackNameEdit: this.state.allowTrackNameEdit, + allowTrimming: this.state.allowTrimming, + shouldAutosave: this.state.shouldAutosave, + handleAlignmentSave: this.state.shouldAutosave + ? () => { + window.toastr.success("Autosave Triggered"); + } + : undefined, + allowTrackRearrange: this.state.allowTrackRearrange, + hasTemplate: this.state.hasTemplate, + noVisibilityOptions: this.state.noVisibilityOptions, + linearViewOptions: { + ...(this.state.setTickSpacing && { tickSpacing: 10 }) + } + }} + /> +
); } } diff --git a/packages/ove/demo/src/EditorDemo/index.js b/packages/ove/demo/src/EditorDemo/index.js index 3c454932..2c3a01c4 100644 --- a/packages/ove/demo/src/EditorDemo/index.js +++ b/packages/ove/demo/src/EditorDemo/index.js @@ -460,23 +460,17 @@ This feature requires beforeSequenceInsertOrDelete toggle to be true to be enabl const dropTarget = document.querySelector(".veTabProperties") dragMock.dragStart(dragSource).dragEnter(dropTarget).dragOver(dropTarget).delay(500).dragEnd() }}>click me! */} -
- {renderToggle({ - that: this, - alwaysShow: true, - type: "showDemoOptions", - label: "Show Demo Options", - hotkey: `cmd+'` - })} -
{ @@ -493,6 +487,14 @@ This feature requires beforeSequenceInsertOrDelete toggle to be true to be enabl }) }} > +
+ {renderToggle({ + that: this, + alwaysShow: true, + type: "showDemoOptions", + label: "Show Demo Options" + })} +
+ ), toolList: defaultToolList.map(t => { if (t !== "alignmentTool") return t; return { @@ -2080,9 +2102,6 @@ clickOverrides: { panelMap={{ myCustomTab: MyCustomTab }} - style={{ - ...(this.state.showDemoOptions && { paddingLeft: 250 }) - }} {...this.state} {...(this.state.readOnly && { readOnly: true })} {...(!this.state.truncateLabelsThatDoNotFit && { diff --git a/packages/ove/demo/src/VersionHistoryViewDemo.js b/packages/ove/demo/src/VersionHistoryViewDemo.js new file mode 100644 index 00000000..537335e3 --- /dev/null +++ b/packages/ove/demo/src/VersionHistoryViewDemo.js @@ -0,0 +1,59 @@ +import VersionHistoryView from "../../src/VersionHistoryView"; + +export default () => { + return ( +
+ { + window.alert("onSave triggered!"); + // console.info("onSave triggered:", args); + }} + exitVersionHistoryView={() => { + window.alert("exit requested!"); + }} + getSequenceAtVersion={versionId => { + // in a real version we'd go to server and get a real sequence based on the version id + // const seq = await api.getSeqAtVersion() + // return seq + if (versionId === 2) { + return { + sequence: "thomaswashere" + }; + } else if (versionId === 3) { + return { + features: [{ start: 4, end: 6 }], + sequence: + "GGGAAAagagagtgagagagtagagagagaccacaccccccGGGAAAagagagtgagagagtagagagagaccacaccccccGGGAAAagagagtgagagagtagagagagaccacaccccccGGGAAAagagagtgagagagtagagagagaccacacccccc" + }; + } else { + console.error("we shouldn't be here..."); + return { + sequence: "taa" + }; + } + }} + getVersionList={() => { + //fake talking to some api + return new Promise(resolve => { + setTimeout(() => { + resolve([ + { + dateChanged: "12/30/2211", + editedBy: "Nara", + // revisionType: "Sequence Deletion", + versionId: 2 + }, + { + dateChanged: "8/30/2211", + editedBy: "Ralph", + // revisionType: "Feature Edit", + versionId: 3 + } + ]); + }, 100); + }); + }} + /> +
+ ); +}; diff --git a/packages/ove/demo/src/index.js b/packages/ove/demo/src/index.js index aa5af969..e54cde0e 100644 --- a/packages/ove/demo/src/index.js +++ b/packages/ove/demo/src/index.js @@ -1,7 +1,5 @@ -import React, { useMemo, useState } from "react"; +import React, { useMemo } from "react"; import { Provider } from "react-redux"; -import { HashRouter as Router, Route, Link, Redirect } from "react-router-dom"; -import { Button, Drawer, Tooltip } from "@blueprintjs/core"; import store from "./store"; // import { createRoot } from "react-dom/client"; @@ -25,298 +23,93 @@ import VersionHistoryView from "../../src/VersionHistoryView"; import EditorDemo from "./EditorDemo"; import "./style.css"; // eslint-disable-next-line @nx/enforce-module-boundaries -import { VersionSwitcher } from "@teselagen/shared-demo"; +import { DemoPage } from "@teselagen/shared-demo"; -const Demo = () => { - const [isDarkMode, setDarkMode] = useState( - document.body.className.includes("bp3-dark") - ); - const [isSidebarOpen, setSidebarOpen] = useState(); - - const changeDarkMode = () => { - setDarkMode(!isDarkMode); - document.body.classList.toggle("bp3-dark"); - }; - - const links = useMemo(() => { - const links = [ - { name: "Editor", url: "Editor" }, - { name: "Standalone", url: "Standalone" }, - { name: "VersionHistoryView", url: "VersionHistoryView" }, - { name: "StandaloneAlignment", url: "StandaloneAlignment" }, - { name: "Alignment", url: "Alignment" }, - { name: "SimpleCircularOrLinearView", url: "SimpleCircularOrLinearView" }, - { name: "DigestTool", url: "DigestTool" }, - { name: "EnzymeViewer", url: "EnzymeViewer" }, - { name: "CircularView", url: "CircularView" }, - { name: "RowView", url: "RowView" }, - { name: "LinearView", url: "LinearView" } - ].map(({ url, name }) => { +const demos = { + Editor: { + noDemoMargin: true, + demo: EditorDemo + }, + Standalone: { + demo: StandaloneDemo + }, + VersionHistoryView: { + demo: VersionHistoryView + }, + StandaloneAlignment: { + demo: StandaloneAlignmentDemo + }, + Alignment: { + demo: AlignmentDemo + }, + SimpleCircularOrLinearView: { + demo: SimpleCircularOrLinearViewDemo + }, + DigestTool: { + demo: () => { return ( -
- {name} -
+ + + ); - }); - links.push( - - UMD demo - - ); - return links.map((l, i) => ( - setSidebarOpen(false)} key={i}> - {l} - - )); - }, []); + } + }, + EnzymeViewer: { + demo: () => { + const enzyme = { + name: "BsaI", + site: "ggtctc", + forwardRegex: "g{2}tctc", + reverseRegex: "gagac{2}", + topSnipOffset: 7, + bottomSnipOffset: 11 + }; + return ( + + + + ); + } + }, + CircularView: { + demo: () => { + return ( + + + + ); + } + }, + RowView: { + demo: () => { + return ( + + + + ); + } + }, + LinearView: { + demo: () => { + return ( + + + + ); + } + } +}; +const Demo = () => { return ( - -
- { - setSidebarOpen(false); - }} - position="left" - > -
- -
- {links} -
-
- - - - This is a developer demo. Get the App? - {" "} - -
- } /> - { - return ; - }} - path="/Editor" - /> - { - return ( -
- { - window.alert("onSave triggered!"); - // console.info("onSave triggered:", args); - }} - exitVersionHistoryView={() => { - window.alert("exit requested!"); - }} - getSequenceAtVersion={versionId => { - // in a real version we'd go to server and get a real sequence based on the version id - // const seq = await api.getSeqAtVersion() - // return seq - if (versionId === 2) { - return { - sequence: "thomaswashere" - }; - } else if (versionId === 3) { - return { - features: [{ start: 4, end: 6 }], - sequence: - "GGGAAAagagagtgagagagtagagagagaccacaccccccGGGAAAagagagtgagagagtagagagagaccacaccccccGGGAAAagagagtgagagagtagagagagaccacaccccccGGGAAAagagagtgagagagtagagagagaccacacccccc" - }; - } else { - console.error("we shouldn't be here..."); - return { - sequence: "taa" - }; - } - }} - getVersionList={() => { - //fake talking to some api - return new Promise(resolve => { - setTimeout(() => { - resolve([ - { - dateChanged: "12/30/2211", - editedBy: "Nara", - // revisionType: "Sequence Deletion", - versionId: 2 - }, - { - dateChanged: "8/30/2211", - editedBy: "Ralph", - // revisionType: "Feature Edit", - versionId: 3 - } - ]); - }, 100); - }); - }} - /> -
- ); - }} - path="/VersionHistoryView" - /> - { - return ; - }} - path="/Standalone" - /> - { - return ; - }} - path="/StandaloneAlignment" - /> - { - return ; - }} - path="/Alignment" - /> - { - return ( - - - - ); - }} - path="/CircularView" - /> - ( - - )} - path="/SimpleCircularOrLinearView" - /> - { - return ( - - - - ); - }} - path="/DigestTool" - /> - { - const enzyme = { - name: "BsaI", - site: "ggtctc", - forwardRegex: "g{2}tctc", - reverseRegex: "gagac{2}", - topSnipOffset: 7, - bottomSnipOffset: 11 - }; - return ( - - - - ); - }} - path="/EnzymeViewer" - /> - { - return ( - - - - ); - }} - path="/RowView" - /> - { - return ( - - - - ); - }} - path="/LinearView" - /> -
-
+
); }; diff --git a/packages/ove/demo/src/style.css b/packages/ove/demo/src/style.css index d343cfe4..3b311778 100644 --- a/packages/ove/demo/src/style.css +++ b/packages/ove/demo/src/style.css @@ -1,16 +1,3 @@ -body.bp3-dark { - background: #293742; -} - -html, -body, -#app, -#demo { - margin: 0px; - padding: 0px; - height: 100%; -} - .toggle-button-holder { flex-shrink: 0; } @@ -22,9 +9,7 @@ body, } .tgOptionContainer { z-index: 1000; - position: absolute; overflow-y: auto; - left: 0px; padding-top: 10px; width: 250px; height: 100%; diff --git a/packages/ove/src/AlignmentView/index.js b/packages/ove/src/AlignmentView/index.js index 32dbcb8d..d9fd71f4 100644 --- a/packages/ove/src/AlignmentView/index.js +++ b/packages/ove/src/AlignmentView/index.js @@ -1049,6 +1049,7 @@ export class AlignmentView extends React.Component { additionalSelectionLayerRightClickedOptions, selectionLayerRightClicked, additionalTopEl, + additionalTopLeftEl, handleAlignmentRename, alignmentVisibilityToolOptions } = this.props; @@ -1449,6 +1450,7 @@ export class AlignmentView extends React.Component { }} className="ve-alignment-top-bar" > + {additionalTopLeftEl} {handleBackButtonClicked && ( +
+ + { + setSearch(""); + }} + > + ) + } + onChange={e => { + setSearch(e.target.value); + }} + style={{ marginBottom: 5 /* maxWidth: 200 */ }} + placeholder="Filter..." + leftElement={} + > + {Object.keys(demos) + .sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase())) + .map(function (name, index) { + if (search && !name.toLowerCase().includes(search.toLowerCase())) + return null; + const childLinks = demos[name].childLinks || {}; + return ( + + + {name} + + {Object.keys(childLinks).map(childKey => { + return ( + + {childKey} + + ); + })} + + ); + })} +

+

+

+

+
+ ); +}; diff --git a/packages/shared-demo/src/DemoPage.js b/packages/shared-demo/src/DemoPage.js new file mode 100644 index 00000000..466583b1 --- /dev/null +++ b/packages/shared-demo/src/DemoPage.js @@ -0,0 +1,214 @@ +import isMobile from "is-mobile"; +import React, { useState } from "react"; +import { Tooltip, Button, Classes } from "@blueprintjs/core"; +import classNames from "classnames"; +import DemoNav from "./DemoNav"; + +import "./style.css"; +// eslint-disable-next-line @nx/enforce-module-boundaries +import { DataTable } from "@teselagen/ui"; +import VersionSwitcher from "./VersionSwitcher"; + +import { + HashRouter as Router, + Route, + Redirect, + withRouter +} from "react-router-dom"; + +const DemoPage = ({ moduleName, demos, showComponentList }) => { + const [isOpen, setIsOpen] = useState(showComponentList); + const [darkTheme, setDarkTheme] = useState( + localStorage.getItem("darkTheme") === "true" + ); + document.body.classList[darkTheme ? "add" : "remove"](Classes.DARK); + return ( + +
+ +
+
+ { + setIsOpen(true); + }} + text={"Show Components"} + // data-tip="Show Component List" + style={{ height: "fit-content", marginRight: 10 }} + minimal + intent="primary" + icon="chevron-right" + > + ) + } + packageName={`${moduleName}`} + testBadge={`[![@teselagen/${moduleName}](https://img.shields.io/endpoint?url=https://cloud.cypress.io/badge/simple/gwixeq/master&style=flat&logo=cypress)](https://cloud.cypress.io/projects/gwixeq/runs)`} + /> + + + @teselagen/{`${moduleName}`} + + +
+ +
+ } + /> + {Object.keys(demos).map(function (key, index) { + const demo = demos[key]; + return ( + + + {Object.keys(demo.childLinks || []).map( + (childKey, index2) => { + const childDemo = demo.childLinks[childKey]; + return ( + + ); + } + )} + + ); + })} +
+
+
+
+ ); +}; + +export default DemoPage; + +const demoPropsSchema = [ + { + displayName: "Name", + path: "name", + width: 200, + render: v => {v} + }, + { + displayName: "Type", + width: 200, + path: "type", + render: v => {v} + }, + { + displayName: "Description", + path: "description" + } +]; + +const DemoComponentWrapper = ( + { demo: Demo, DemoComponent, props = [] }, + demoTitle +) => { + return withRouter(({ history }) => { + let component; + if (DemoComponent) { + component = ; + } else { + component = ( + <> + + {!!props.length && ( + <> +
+ Properties +
+ + + + )} + + ); + } + return component; + }); +}; diff --git a/packages/shared-demo/src/VersionSwitcher.js b/packages/shared-demo/src/VersionSwitcher.js index 2bfe5a83..2aedec5e 100644 --- a/packages/shared-demo/src/VersionSwitcher.js +++ b/packages/shared-demo/src/VersionSwitcher.js @@ -1,14 +1,19 @@ import { HTMLSelect } from "@blueprintjs/core"; -import React, { useEffect, useRef, useState } from "react"; +import React, { useEffect, useState } from "react"; import ReactMarkdown from "react-markdown"; -export default function VersionSwitcher({ packageName = "ove", testBadge }) { +export default function VersionSwitcher({ + packageName = "ove", + testBadge, + leftComponent +}) { const [options, setOptions] = useState([]); - const pjson = useRef({}); + const [version, setVersion] = useState(""); //runs on component load useEffect(() => { (async function fetchData() { - pjson.current = await import(`../../${packageName}/package.json`); + const res = await import(`../../${packageName}/package.json`); + setVersion(res.version); try { if (window.Cypress) return; @@ -17,7 +22,6 @@ export default function VersionSwitcher({ packageName = "ove", testBadge }) { "https://api.github.com/repos/teselagen/tg-oss/git/trees/gh-pages" ) ).json(); - console.log(`res:`, res); const packageNode = res.tree.find(e => { return e.path.toLowerCase() === packageName; }); @@ -54,8 +58,9 @@ export default function VersionSwitcher({ packageName = "ove", testBadge }) { })(); }, ["packageName"]); - return options.length ? ( + return (
+ {leftComponent}
{testBadge && }
- - - Changelog - + {options.length ? ( +
+ + + Changelog + +
+ ) : ( + //fallback to just showing the version +
{version}
+ )}
- ) : ( - //fallback to just showing the version -
{pjson.current.version}
); } diff --git a/packages/shared-demo/src/index.js b/packages/shared-demo/src/index.js index e7c43854..ee6009c5 100644 --- a/packages/shared-demo/src/index.js +++ b/packages/shared-demo/src/index.js @@ -1,2 +1,3 @@ import VersionSwitcher from "./VersionSwitcher"; -export { VersionSwitcher }; +import DemoPage from "./DemoPage"; +export { VersionSwitcher, DemoPage }; diff --git a/packages/ui/demo/src/style.css b/packages/shared-demo/src/style.css similarity index 90% rename from packages/ui/demo/src/style.css rename to packages/shared-demo/src/style.css index c4d9b1d4..5ed45e67 100644 --- a/packages/ui/demo/src/style.css +++ b/packages/shared-demo/src/style.css @@ -1,15 +1,19 @@ +html, +#demo, body { margin: 0; padding: 0; width: 100%; + height: 100%; overflow: hidden; } #demo { - width: 100%; + display: flex; + flex-direction: column; } -html { - margin: 0; - width: 100%; + +body.bp3-dark { + background: #293742; } body.bp3-dark { @@ -65,7 +69,7 @@ h6 { width: 100%; text-align: center; padding: 12px 0; - /* background: #003f66; */ + background: #ebf1f5; } .demo-header h1 { @@ -94,7 +98,7 @@ h6 { .demo-area-container { background: #f6f7f9; - height: calc(100vh - 50px); + height: 100%; overflow: auto; } @@ -107,7 +111,7 @@ h6 { display: flex; flex-direction: column; box-shadow: 0 0 rgb(17 20 24 / 15%); - height: calc(100vh - 50px); + height: 100%; overflow-y: auto; } @@ -136,7 +140,3 @@ h6 { .bp3-dark .demo-wrapper { background: #252a31; } -.noCodeNewline code { - display: inline; - white-space: unset; -} diff --git a/packages/ui/demo/src/DemoHeader.js b/packages/ui/demo/src/DemoHeader.js deleted file mode 100644 index d587410c..00000000 --- a/packages/ui/demo/src/DemoHeader.js +++ /dev/null @@ -1,68 +0,0 @@ -import React, { Component } from "react"; -import { Tooltip, Button, Classes } from "@blueprintjs/core"; -import classNames from "classnames"; -import "./style.css"; -// eslint-disable-next-line @nx/enforce-module-boundaries -import { VersionSwitcher } from "@teselagen/shared-demo"; - -class DemoHeader extends Component { - constructor(props) { - super(props); - const darkTheme = localStorage.getItem("darkTheme"); - document.body.classList.toggle(Classes.DARK, darkTheme === "true"); - this.state = { - darkTheme: !!darkTheme - }; - } - - componentDidUpdate() { - const { darkTheme } = this.state; - localStorage.setItem("darkTheme", darkTheme); - document.body.classList.toggle(Classes.DARK, !!darkTheme); - } - - toggleTheme = () => { - this.setState({ - darkTheme: !this.state.darkTheme - }); - }; - - render() { - const { darkTheme } = this.state; - return ( -
- - - - @teselagen/ui - - -
- ); - } -} - -export default DemoHeader; diff --git a/packages/ui/demo/src/DemoNav.js b/packages/ui/demo/src/DemoNav.js deleted file mode 100644 index b2bfdc28..00000000 --- a/packages/ui/demo/src/DemoNav.js +++ /dev/null @@ -1,118 +0,0 @@ -import React, { useState } from "react"; -import { NavLink } from "react-router-dom"; -import isMobile from "is-mobile"; -import "./style.css"; -import { Button, Icon, InputGroup } from "@blueprintjs/core"; - -// eslint-disable-next-line import/no-anonymous-default-export -export default ({ demos }) => { - const [isOpen, setIsOpen] = useState(!isMobile()); - const [search, setSearch] = useState(""); - - let inner; - if (!isOpen) { - inner = ( - - ); - } else { - inner = ( - -
-

Components

- -
- - { - setSearch(""); - }} - > - ) - } - onChange={e => { - setSearch(e.target.value); - }} - style={{ marginBottom: 5 /* maxWidth: 200 */ }} - placeholder="Filter..." - leftElement={} - > - {Object.keys(demos) - .sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase())) - .map(function (name, index) { - if (search && !name.toLowerCase().includes(search.toLowerCase())) - return null; - const childLinks = demos[name].childLinks || {}; - return ( - - - {name} - - {Object.keys(childLinks).map(childKey => { - return ( - - {childKey} - - ); - })} - - ); - })} -

-

-

-

-
- ); - } - return ( -
- {inner} -
- ); -}; diff --git a/packages/ui/demo/src/examples/MenuBar.js b/packages/ui/demo/src/examples/MenuBar.js index d6d1088c..9605d3de 100644 --- a/packages/ui/demo/src/examples/MenuBar.js +++ b/packages/ui/demo/src/examples/MenuBar.js @@ -19,6 +19,7 @@ import { } from "../../../src/utils/commandControls"; import { MenuItem } from "@blueprintjs/core"; import DemoWrapper from "../DemoWrapper"; +import "./MenuBarStyle.css"; export default class MenuBarDemo extends React.Component { constructor(props) { diff --git a/packages/ui/demo/src/examples/MenuBarStyle.css b/packages/ui/demo/src/examples/MenuBarStyle.css new file mode 100644 index 00000000..cb092822 --- /dev/null +++ b/packages/ui/demo/src/examples/MenuBarStyle.css @@ -0,0 +1,4 @@ +.noCodeNewline code { + display: inline; + white-space: unset; +} diff --git a/packages/ui/demo/src/index.js b/packages/ui/demo/src/index.js index 540de0f2..2ed7bb66 100644 --- a/packages/ui/demo/src/index.js +++ b/packages/ui/demo/src/index.js @@ -13,10 +13,8 @@ import TgSelectDemo from "./examples/TgSelectDemo"; import InfoHelper from "./examples/InfoHelper"; import Loading from "./examples/Loading"; import PromptUnsavedChanges from "./examples/PromptUnsavedChanges"; -import DemoNav from "./DemoNav"; -import DemoHeader from "./DemoHeader"; -import { DataTable } from "../../src"; - +// eslint-disable-next-line @nx/enforce-module-boundaries +import { DemoPage } from "@teselagen/shared-demo"; import FillWindowExample from "./examples/FillWindow"; import TimelineDemo from "./examples/TimelineDemo"; @@ -26,14 +24,12 @@ import ScrollToTopDemo from "./examples/ScrollToTop"; import showAppSpinnerDemo from "./examples/showAppSpinnerDemo"; import EditableCellTable from "./examples/EditableCellTable"; -import "./style.css"; +// import "./style.css"; import React from "react"; import { render } from "react-dom"; -import { HashRouter as Router, Route, Redirect } from "react-router-dom"; import { Provider } from "react-redux"; import store from "./store"; import { FocusStyleManager } from "@blueprintjs/core"; -import isMobile from "is-mobile"; import AdvancedOptionsDemo from "./examples/AdvancedOptionsDemo"; import FormComponents from "./examples/FormComponents"; import UploadCsvWizard from "./examples/UploadCsvWizard"; @@ -254,149 +250,10 @@ const demos = { // } }; -const demoPropsSchema = [ - { - displayName: "Name", - path: "name", - width: 200, - render: v => {v} - }, - { - displayName: "Type", - width: 200, - path: "type", - render: v => {v} - }, - { - displayName: "Description", - path: "description" - } -]; - -function DemoComponentWrapper( - { demo: Demo, DemoComponent, props = [] }, - demoTitle -) { - return () => { - let component; - if (DemoComponent) { - component = ; - } else { - component = ( -
- - {!!props.length && ( - -
- Properties -
- - -
- )} -
- ); - } - return ( - -
-

{demoTitle}

-

- - Component Source - -
- {component} -
- ); - }; -} - const Demo = () => { return ( - -
- -
- -
- } - /> - {Object.keys(demos).map(function (key, index) { - const demo = demos[key]; - return ( - - - {Object.keys(demo.childLinks || []).map( - (childKey, index2) => { - const childDemo = demo.childLinks[childKey]; - return ( - - ); - } - )} - - ); - })} -
-
-
-
+
); }; diff --git a/vite.react.config.ts b/vite.react.config.ts index e7e90794..9ad96296 100644 --- a/vite.react.config.ts +++ b/vite.react.config.ts @@ -94,7 +94,7 @@ export default ({ name }: { name: string; dir: string }) => entry: "./demo/index.js", // MUST title: `${name} demo`, // optional, default: '' body: ` -
+
` // optional, default: '
' } } From df6e660f0edbca51ed139aae49961147537fdb1d Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Mon, 4 Mar 2024 08:19:34 -0800 Subject: [PATCH 2/7] fixing VersionSwitcher demo rendering, making FillWindow have default z-index of 10 --- .../ove/demo/src/VersionHistoryViewDemo.js | 5 +- packages/ove/demo/src/index.js | 11 +- packages/ove/src/Editor/FillWindow.js | 1 + packages/ove/src/style.css | 6 + packages/shared-demo/src/DemoNav.js | 2 +- packages/shared-demo/src/DemoPage.js | 104 +++++++++--------- packages/shared-demo/src/VersionSwitcher.js | 2 +- packages/shared-demo/src/style.css | 2 +- packages/ui/demo/src/index.js | 1 - 9 files changed, 74 insertions(+), 60 deletions(-) diff --git a/packages/ove/demo/src/VersionHistoryViewDemo.js b/packages/ove/demo/src/VersionHistoryViewDemo.js index 537335e3..a7264f5b 100644 --- a/packages/ove/demo/src/VersionHistoryViewDemo.js +++ b/packages/ove/demo/src/VersionHistoryViewDemo.js @@ -6,10 +6,9 @@ export default () => { { window.alert("onSave triggered!"); - // console.info("onSave triggered:", args); }} exitVersionHistoryView={() => { - window.alert("exit requested!"); + window.history.go(-1); }} getSequenceAtVersion={versionId => { // in a real version we'd go to server and get a real sequence based on the version id @@ -17,7 +16,7 @@ export default () => { // return seq if (versionId === 2) { return { - sequence: "thomaswashere" + sequence: "thmaswashr" }; } else if (versionId === 3) { return { diff --git a/packages/ove/demo/src/index.js b/packages/ove/demo/src/index.js index e54cde0e..86c90e23 100644 --- a/packages/ove/demo/src/index.js +++ b/packages/ove/demo/src/index.js @@ -19,8 +19,9 @@ import StandaloneDemo from "./StandaloneDemo"; import SimpleCircularOrLinearViewDemo from "./SimpleCircularOrLinearViewDemo"; import StandaloneAlignmentDemo from "./StandaloneAlignmentDemo"; import AlignmentDemo from "./AlignmentDemo"; -import VersionHistoryView from "../../src/VersionHistoryView"; import EditorDemo from "./EditorDemo"; +import VersionHistoryViewDemo from "./VersionHistoryViewDemo"; + import "./style.css"; // eslint-disable-next-line @nx/enforce-module-boundaries import { DemoPage } from "@teselagen/shared-demo"; @@ -31,15 +32,21 @@ const demos = { demo: EditorDemo }, Standalone: { + noDemoMargin: true, + demo: StandaloneDemo }, VersionHistoryView: { - demo: VersionHistoryView + demo: VersionHistoryViewDemo }, StandaloneAlignment: { + noDemoMargin: true, + demo: StandaloneAlignmentDemo }, Alignment: { + noDemoMargin: true, + demo: AlignmentDemo }, SimpleCircularOrLinearView: { diff --git a/packages/ove/src/Editor/FillWindow.js b/packages/ove/src/Editor/FillWindow.js index 06b441d2..4bb3405f 100644 --- a/packages/ove/src/Editor/FillWindow.js +++ b/packages/ove/src/Editor/FillWindow.js @@ -30,6 +30,7 @@ export default class FillWindow extends React.Component {
{ setIsOpen(false); }} minimal - text={"Hide Components"} + text={"Hide Sidebar"} intent="primary" icon="chevron-left" > diff --git a/packages/shared-demo/src/DemoPage.js b/packages/shared-demo/src/DemoPage.js index 466583b1..6c5ed778 100644 --- a/packages/shared-demo/src/DemoPage.js +++ b/packages/shared-demo/src/DemoPage.js @@ -53,7 +53,6 @@ const DemoPage = ({ moduleName, demos, showComponentList }) => { justifyContent: "space-between", padding: "5px 20px", height: 50, - zIndex: 20, alignItems: "center" }} > @@ -64,8 +63,7 @@ const DemoPage = ({ moduleName, demos, showComponentList }) => { onClick={() => { setIsOpen(true); }} - text={"Show Components"} - // data-tip="Show Component List" + text={"Show Sidebar"} style={{ height: "fit-content", marginRight: 10 }} minimal intent="primary" @@ -105,49 +103,36 @@ const DemoPage = ({ moduleName, demos, showComponentList }) => {
-
- } - /> - {Object.keys(demos).map(function (key, index) { - const demo = demos[key]; - return ( - - - {Object.keys(demo.childLinks || []).map( - (childKey, index2) => { - const childDemo = demo.childLinks[childKey]; - return ( - - ); - } - )} - - ); - })} -
+ } + /> + {Object.keys(demos).map(function (key, index) { + const demo = demos[key]; + return ( + + + {Object.keys(demo.childLinks || []).map((childKey, index2) => { + const childDemo = demo.childLinks[childKey]; + return ( + + ); + })} + + ); + })} @@ -175,10 +160,12 @@ const demoPropsSchema = [ } ]; -const DemoComponentWrapper = ( - { demo: Demo, DemoComponent, props = [] }, - demoTitle -) => { +const DemoComponentWrapper = ({ + demo: Demo, + noDemoMargin, + DemoComponent, + props = [] +}) => { return withRouter(({ history }) => { let component; if (DemoComponent) { @@ -209,6 +196,21 @@ const DemoComponentWrapper = ( ); } - return component; + return ( +
+ {component} +
+ ); }); }; diff --git a/packages/shared-demo/src/VersionSwitcher.js b/packages/shared-demo/src/VersionSwitcher.js index 2aedec5e..0ad59849 100644 --- a/packages/shared-demo/src/VersionSwitcher.js +++ b/packages/shared-demo/src/VersionSwitcher.js @@ -85,7 +85,7 @@ export default function VersionSwitcher({ Changelog diff --git a/packages/shared-demo/src/style.css b/packages/shared-demo/src/style.css index 5ed45e67..11cfc657 100644 --- a/packages/shared-demo/src/style.css +++ b/packages/shared-demo/src/style.css @@ -69,7 +69,7 @@ h6 { width: 100%; text-align: center; padding: 12px 0; - background: #ebf1f5; + /* background: #ebf1f5; */ } .demo-header h1 { diff --git a/packages/ui/demo/src/index.js b/packages/ui/demo/src/index.js index 2ed7bb66..6ec40eca 100644 --- a/packages/ui/demo/src/index.js +++ b/packages/ui/demo/src/index.js @@ -24,7 +24,6 @@ import ScrollToTopDemo from "./examples/ScrollToTop"; import showAppSpinnerDemo from "./examples/showAppSpinnerDemo"; import EditableCellTable from "./examples/EditableCellTable"; -// import "./style.css"; import React from "react"; import { render } from "react-dom"; import { Provider } from "react-redux"; From c85445a93a6978bc951f9f5e8dff1a366858a045 Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Mon, 4 Mar 2024 15:47:13 -0800 Subject: [PATCH 3/7] bumping cypress and vite --- package.json | 4 +- packages/ove/cypress/e2e/dialogs.spec.js | 3 +- packages/ove/cypress/e2e/rnaMode.spec.js | 5 +- .../ove/cypress/e2e/zoomCircularView.spec.js | 3 +- packages/ove/cypress/support/index.js | 1 + .../src/filterSequenceString.js | 6 + packages/ui/src/customIcons.js | 32 +- yarn.lock | 292 +++++++++++++++++- 8 files changed, 306 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 5a4107f1..3cbc266c 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "chance": "^1.1.11", "classnames": "^2.3.2", "concurrently": "^8.2.2", - "cypress": "13.5.1", + "cypress": "13.6.6", "cypress-vite": "^1.4.0", "esbuild": "^0.19.5", "eslint": "~8.53.0", @@ -150,7 +150,7 @@ "tslib": "^2.6.2", "typescript": "~5.2.2", "validate.io-nonnegative-integer-array": "^1.0.1", - "vite": "^4.3.9", + "vite": "^5.1.5", "vite-plugin-dts": "~3.5.4", "vite-plugin-eslint": "^1.8.1", "vite-plugin-libcss": "^1.1.1", diff --git a/packages/ove/cypress/e2e/dialogs.spec.js b/packages/ove/cypress/e2e/dialogs.spec.js index 79f398a9..9d887d7c 100644 --- a/packages/ove/cypress/e2e/dialogs.spec.js +++ b/packages/ove/cypress/e2e/dialogs.spec.js @@ -22,7 +22,8 @@ describe("dialogs", function () { cy.get(`[data-test="cutsiteHideShowTool"]`).click(); cy.contains(".veLabelText", "araD").rightclick({ force: true }); cy.contains(".bp3-menu-item", "Create").click(); - cy.contains(".bp3-menu-item", "New Feature").click({ force: true }); + cy.contains(".bp3-menu-item", "New Feature").click(); + cy.contains(".bp3-menu-item", "New Feature").should("not.exist"); cy.focused().type("new feat"); cy.screenshot(); diff --git a/packages/ove/cypress/e2e/rnaMode.spec.js b/packages/ove/cypress/e2e/rnaMode.spec.js index d4f84c05..86861262 100644 --- a/packages/ove/cypress/e2e/rnaMode.spec.js +++ b/packages/ove/cypress/e2e/rnaMode.spec.js @@ -20,11 +20,8 @@ describe("rna editing in OVE", function () { cy.contains("uuaugacaacuugacggcuacaucauucacuuuuucuuca").should("not.exist"); cy.contains("uuuugacgt"); cy.selectRange(10, 11); + cy.replaceSelection(" tguugttuuuuuuuuuuuuuuuaa{enter}"); cy.get(".veRowViewSelectionLayer.notCaret").first().rightclick(); - cy.contains(".bp3-menu-item", "Replace").click(); - // eslint-disable-next-line cypress/no-unnecessary-waiting - cy.wait(200); - cy.focused().type(" tguugttuuuuuuuuuuuuuuuaa{enter}", { delay: 20 }); cy.contains("Selecting 24 bps from 10 to 33"); //the t's should not be filtered out and neither should the u's cy.contains("tguugttuuuuuuuuuuuuuuuaa"); }); diff --git a/packages/ove/cypress/e2e/zoomCircularView.spec.js b/packages/ove/cypress/e2e/zoomCircularView.spec.js index 0d4dbc39..539a4fc2 100644 --- a/packages/ove/cypress/e2e/zoomCircularView.spec.js +++ b/packages/ove/cypress/e2e/zoomCircularView.spec.js @@ -60,7 +60,8 @@ describe("zoomCircularView.spec", function () { ".veRotateCircularSlider .bp3-slider-handle", ".ve-tool-container-downloadTool" ); - cy.get(`.circularViewSvg g[style="transform: rotate(150deg);"]`); + cy.get(`.circularViewSvg g[style="transform: rotate(0deg);"]`); + cy.get(`.veCircularViewLabelText:contains(Example Primer 1)`); cy.dragBetween( ".veZoomCircularSlider .bp3-slider-handle", ".veZoomCircularSlider .bp3-icon-plus" diff --git a/packages/ove/cypress/support/index.js b/packages/ove/cypress/support/index.js index 6b9718f7..1096bb9d 100644 --- a/packages/ove/cypress/support/index.js +++ b/packages/ove/cypress/support/index.js @@ -314,6 +314,7 @@ Cypress.Commands.add("replaceSelection", sequenceString => { cy.contains(".bp3-menu-item", "Replace").click(); // eslint-disable-next-line cypress/no-unnecessary-waiting cy.wait(200); + cy.contains(".bp3-menu-item", "Replace").should("not.exist"); cy.get(".sequenceInputBubble input").type( (Cypress.config("isInteractive") ? "" : " ") + `${sequenceString}{enter}` diff --git a/packages/sequence-utils/src/filterSequenceString.js b/packages/sequence-utils/src/filterSequenceString.js index c5a0cb09..0c97ccff 100644 --- a/packages/sequence-utils/src/filterSequenceString.js +++ b/packages/sequence-utils/src/filterSequenceString.js @@ -81,6 +81,12 @@ export default function filterSequenceString( `${ name ? `Sequence ${name}: ` : "" }Invalid character(s) detected and removed: ${uniq(invalidChars) + .map(c => { + if (c === " ") { + return "space"; + } + return c; + }) .slice(0, 100) .join(", ")} ` ); diff --git a/packages/ui/src/customIcons.js b/packages/ui/src/customIcons.js index f613d1b6..48dc6cb5 100644 --- a/packages/ui/src/customIcons.js +++ b/packages/ui/src/customIcons.js @@ -107,7 +107,7 @@ export const workqueueIcon = ptIconWrapper( export const removeDuplicatesIcon = ptIconWrapper( ); export const inventoryIcon = ptIconWrapper( @@ -262,12 +262,12 @@ export const proteinIcon = ptIconWrapper( fill="#000000" fill-opacity="0.0" d="m0 0l389.5118 0l0 331.30185l-389.5118 0z" - fill-rule="evenodd" + fillRule="evenodd" /> , diff --git a/yarn.lock b/yarn.lock index 5afa6f78..efe217c0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1799,11 +1799,21 @@ debug "^3.1.0" lodash.once "^4.1.1" +"@esbuild/aix-ppc64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz#d1bc06aedb6936b3b6d313bf809a5a40387d2b7f" + integrity sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA== + "@esbuild/android-arm64@0.18.20": version "0.18.20" resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz#984b4f9c8d0377443cc2dfcef266d02244593622" integrity sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ== +"@esbuild/android-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz#7ad65a36cfdb7e0d429c353e00f680d737c2aed4" + integrity sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA== + "@esbuild/android-arm64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.6.tgz#13d98a34bbbde4237867cc232307a20ded139b6f" @@ -1814,6 +1824,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz#fedb265bc3a589c84cc11f810804f234947c3682" integrity sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw== +"@esbuild/android-arm@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.12.tgz#b0c26536f37776162ca8bde25e42040c203f2824" + integrity sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w== + "@esbuild/android-arm@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.6.tgz#68898d949672c56f10451f540fd92301dc713fb3" @@ -1824,6 +1839,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz#35cf419c4cfc8babe8893d296cd990e9e9f756f2" integrity sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg== +"@esbuild/android-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.12.tgz#cb13e2211282012194d89bf3bfe7721273473b3d" + integrity sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew== + "@esbuild/android-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.6.tgz#51a0ab83680dedc6dd1ae26133def26b178ed3a1" @@ -1834,6 +1854,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz#08172cbeccf95fbc383399a7f39cfbddaeb0d7c1" integrity sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA== +"@esbuild/darwin-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz#cbee41e988020d4b516e9d9e44dd29200996275e" + integrity sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g== + "@esbuild/darwin-arm64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.6.tgz#2883f14197111febb118c0463c080930a30883e5" @@ -1844,6 +1869,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz#d70d5790d8bf475556b67d0f8b7c5bdff053d85d" integrity sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ== +"@esbuild/darwin-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz#e37d9633246d52aecf491ee916ece709f9d5f4cd" + integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A== + "@esbuild/darwin-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.6.tgz#400bf20f9a35a7d68a17f5898c0f9ecb099f062b" @@ -1854,6 +1884,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz#98755cd12707f93f210e2494d6a4b51b96977f54" integrity sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw== +"@esbuild/freebsd-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz#1ee4d8b682ed363b08af74d1ea2b2b4dbba76487" + integrity sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA== + "@esbuild/freebsd-arm64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.6.tgz#8af07bd848afa2470b8a2339b203ce29a721152b" @@ -1864,6 +1899,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz#c1eb2bff03915f87c29cece4c1a7fa1f423b066e" integrity sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ== +"@esbuild/freebsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz#37a693553d42ff77cd7126764b535fb6cc28a11c" + integrity sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg== + "@esbuild/freebsd-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.6.tgz#ae0230860e27df204a616671e028ff8fdffa009a" @@ -1874,6 +1914,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz#bad4238bd8f4fc25b5a021280c770ab5fc3a02a0" integrity sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA== +"@esbuild/linux-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz#be9b145985ec6c57470e0e051d887b09dddb2d4b" + integrity sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA== + "@esbuild/linux-arm64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.6.tgz#3042bc423a978deab44a72244b863f743fd9fda1" @@ -1884,6 +1929,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz#3e617c61f33508a27150ee417543c8ab5acc73b0" integrity sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg== +"@esbuild/linux-arm@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz#207ecd982a8db95f7b5279207d0ff2331acf5eef" + integrity sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w== + "@esbuild/linux-arm@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.6.tgz#50a537de609315979509120b0181882978294db1" @@ -1894,6 +1944,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz#699391cccba9aee6019b7f9892eb99219f1570a7" integrity sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA== +"@esbuild/linux-ia32@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz#d0d86b5ca1562523dc284a6723293a52d5860601" + integrity sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA== + "@esbuild/linux-ia32@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.6.tgz#f99c48b597facf9cbf8e1a2522ce379b2ad7b0c4" @@ -1904,6 +1959,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz#e6fccb7aac178dd2ffb9860465ac89d7f23b977d" integrity sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg== +"@esbuild/linux-loong64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz#9a37f87fec4b8408e682b528391fa22afd952299" + integrity sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA== + "@esbuild/linux-loong64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.6.tgz#9fe79be31ce305564aa62da190f38e199d6d26b7" @@ -1914,6 +1974,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz#eeff3a937de9c2310de30622a957ad1bd9183231" integrity sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ== +"@esbuild/linux-mips64el@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz#4ddebd4e6eeba20b509d8e74c8e30d8ace0b89ec" + integrity sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w== + "@esbuild/linux-mips64el@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.6.tgz#5a922dad90fc8a83fd0631c136b46128153ffb6f" @@ -1924,6 +1989,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz#2f7156bde20b01527993e6881435ad79ba9599fb" integrity sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA== +"@esbuild/linux-ppc64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz#adb67dadb73656849f63cd522f5ecb351dd8dee8" + integrity sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg== + "@esbuild/linux-ppc64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.6.tgz#a7fccf924824999b301546843adb4f51051965e8" @@ -1934,6 +2004,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz#6628389f210123d8b4743045af8caa7d4ddfc7a6" integrity sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A== +"@esbuild/linux-riscv64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz#11bc0698bf0a2abf8727f1c7ace2112612c15adf" + integrity sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg== + "@esbuild/linux-riscv64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.6.tgz#41d2db11550662d6c03902d9d8d26b0ed5bb8d55" @@ -1944,6 +2019,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071" integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ== +"@esbuild/linux-s390x@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz#e86fb8ffba7c5c92ba91fc3b27ed5a70196c3cc8" + integrity sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg== + "@esbuild/linux-s390x@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.6.tgz#d7a843a2620e73c5c9d65c482e2fbddc7e0f7753" @@ -1954,6 +2034,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz#c7690b3417af318a9b6f96df3031a8865176d338" integrity sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w== +"@esbuild/linux-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz#5f37cfdc705aea687dfe5dfbec086a05acfe9c78" + integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg== + "@esbuild/linux-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.6.tgz#d3f20f0c2bdaa1b9ed1c0df7db034771e7aa5234" @@ -1964,6 +2049,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz#30e8cd8a3dded63975e2df2438ca109601ebe0d1" integrity sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A== +"@esbuild/netbsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz#29da566a75324e0d0dd7e47519ba2f7ef168657b" + integrity sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA== + "@esbuild/netbsd-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.6.tgz#6108d7270599ee37cd57bb14e4516a83541885d5" @@ -1974,6 +2064,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz#7812af31b205055874c8082ea9cf9ab0da6217ae" integrity sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg== +"@esbuild/openbsd-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz#306c0acbdb5a99c95be98bdd1d47c916e7dc3ff0" + integrity sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw== + "@esbuild/openbsd-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.6.tgz#b1b5aaa2c9028e90a2bef6774a9c67451f53f164" @@ -1984,6 +2079,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz#d5c275c3b4e73c9b0ecd38d1ca62c020f887ab9d" integrity sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ== +"@esbuild/sunos-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz#0933eaab9af8b9b2c930236f62aae3fc593faf30" + integrity sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA== + "@esbuild/sunos-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.6.tgz#b51b648cea77c62b1934a4fdcfee7aaa9de174cb" @@ -1994,6 +2094,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz#73bc7f5a9f8a77805f357fab97f290d0e4820ac9" integrity sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg== +"@esbuild/win32-arm64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz#773bdbaa1971b36db2f6560088639ccd1e6773ae" + integrity sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A== + "@esbuild/win32-arm64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.6.tgz#34e5665f239047c302c8d153406c87db22afd58a" @@ -2004,6 +2109,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz#ec93cbf0ef1085cc12e71e0d661d20569ff42102" integrity sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g== +"@esbuild/win32-ia32@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz#000516cad06354cc84a73f0943a4aa690ef6fd67" + integrity sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ== + "@esbuild/win32-ia32@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.6.tgz#f7aaebe325e67f44c0a738e80a98221504677b4a" @@ -2014,6 +2124,11 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz#786c5f41f043b07afb1af37683d7c33668858f6d" integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ== +"@esbuild/win32-x64@0.19.12": + version "0.19.12" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz#c57c8afbb4054a3ab8317591a0b7320360b444ae" + integrity sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA== + "@esbuild/win32-x64@0.19.6": version "0.19.6" resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.6.tgz#7134e5dea1f5943b013e96fc34f9638a5f3d7e3e" @@ -2996,6 +3111,71 @@ estree-walker "^2.0.2" picomatch "^2.3.1" +"@rollup/rollup-android-arm-eabi@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.12.0.tgz#38c3abd1955a3c21d492af6b1a1dca4bb1d894d6" + integrity sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w== + +"@rollup/rollup-android-arm64@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.12.0.tgz#3822e929f415627609e53b11cec9a4be806de0e2" + integrity sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ== + +"@rollup/rollup-darwin-arm64@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.12.0.tgz#6c082de71f481f57df6cfa3701ab2a7afde96f69" + integrity sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ== + +"@rollup/rollup-darwin-x64@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.12.0.tgz#c34ca0d31f3c46a22c9afa0e944403eea0edcfd8" + integrity sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg== + +"@rollup/rollup-linux-arm-gnueabihf@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.12.0.tgz#48e899c1e438629c072889b824a98787a7c2362d" + integrity sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA== + +"@rollup/rollup-linux-arm64-gnu@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.12.0.tgz#788c2698a119dc229062d40da6ada8a090a73a68" + integrity sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA== + +"@rollup/rollup-linux-arm64-musl@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.12.0.tgz#3882a4e3a564af9e55804beeb67076857b035ab7" + integrity sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ== + +"@rollup/rollup-linux-riscv64-gnu@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.12.0.tgz#0c6ad792e1195c12bfae634425a3d2aa0fe93ab7" + integrity sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw== + +"@rollup/rollup-linux-x64-gnu@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.12.0.tgz#9d62485ea0f18d8674033b57aa14fb758f6ec6e3" + integrity sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA== + +"@rollup/rollup-linux-x64-musl@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.12.0.tgz#50e8167e28b33c977c1f813def2b2074d1435e05" + integrity sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw== + +"@rollup/rollup-win32-arm64-msvc@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.12.0.tgz#68d233272a2004429124494121a42c4aebdc5b8e" + integrity sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw== + +"@rollup/rollup-win32-ia32-msvc@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.12.0.tgz#366ca62221d1689e3b55a03f4ae12ae9ba595d40" + integrity sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA== + +"@rollup/rollup-win32-x64-msvc@4.12.0": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.12.0.tgz#9ffdf9ed133a7464f4ae187eb9e1294413fab235" + integrity sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg== + "@rushstack/node-core-library@3.60.0": version "3.60.0" resolved "https://registry.yarnpkg.com/@rushstack/node-core-library/-/node-core-library-3.60.0.tgz#a52ca6b98762e9f64c1735d21456510d2aa956e3" @@ -3355,6 +3535,11 @@ resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz" integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== +"@types/estree@1.0.5": + version "1.0.5" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== + "@types/graceful-fs@^4.1.3": version "4.1.6" resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.6.tgz" @@ -3472,11 +3657,6 @@ dependencies: undici-types "~5.26.4" -"@types/node@^18.17.5": - version "18.18.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.0.tgz#bd19d5133a6e5e2d0152ec079ac27c120e7f1763" - integrity sha512-3xA4X31gHT1F1l38ATDIL9GpRLdwVhnEFC8Uikv5ZLlXATwrCYyPq7ZWHxzxc3J/30SUiwiYT+bQe0/XvKlWbw== - "@types/normalize-package-data@^2.4.1": version "2.4.4" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" @@ -4721,7 +4901,7 @@ buffer-from@^1.0.0: resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@^5.5.0, buffer@^5.6.0: +buffer@^5.5.0, buffer@^5.7.1: version "5.7.1" resolved "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -5564,20 +5744,19 @@ cypress-vite@^1.4.0: chokidar "^3.5.3" debug "^4.3.4" -cypress@13.5.1: - version "13.5.1" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.5.1.tgz#8b19bf0b9f31ea43f78980b2479bd3f25197d5cc" - integrity sha512-yqLViT0D/lPI8Kkm7ciF/x/DCK/H/DnogdGyiTnQgX4OVR2aM30PtK+kvklTOD1u3TuItiD9wUQAF8EYWtyZug== +cypress@13.6.6: + version "13.6.6" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.6.6.tgz#5133f231ed1c6e57dc8dcbf60aade220bcd6884b" + integrity sha512-S+2S9S94611hXimH9a3EAYt81QM913ZVA03pUmGDfLTFa5gyp85NJ8dJGSlEAEmyRsYkioS1TtnWtbv/Fzt11A== dependencies: "@cypress/request" "^3.0.0" "@cypress/xvfb" "^1.2.4" - "@types/node" "^18.17.5" "@types/sinonjs__fake-timers" "8.1.1" "@types/sizzle" "^2.3.2" arch "^2.2.0" blob-util "^2.0.2" bluebird "^3.7.2" - buffer "^5.6.0" + buffer "^5.7.1" cachedir "^2.3.0" chalk "^4.1.0" check-more-types "^2.24.0" @@ -5595,7 +5774,7 @@ cypress@13.5.1: figures "^3.2.0" fs-extra "^9.1.0" getos "^3.2.1" - is-ci "^3.0.0" + is-ci "^3.0.1" is-installed-globally "~0.4.0" lazy-ass "^1.6.0" listr2 "^3.8.3" @@ -6261,6 +6440,35 @@ esbuild@^0.18.10: "@esbuild/win32-ia32" "0.18.20" "@esbuild/win32-x64" "0.18.20" +esbuild@^0.19.3: + version "0.19.12" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04" + integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg== + optionalDependencies: + "@esbuild/aix-ppc64" "0.19.12" + "@esbuild/android-arm" "0.19.12" + "@esbuild/android-arm64" "0.19.12" + "@esbuild/android-x64" "0.19.12" + "@esbuild/darwin-arm64" "0.19.12" + "@esbuild/darwin-x64" "0.19.12" + "@esbuild/freebsd-arm64" "0.19.12" + "@esbuild/freebsd-x64" "0.19.12" + "@esbuild/linux-arm" "0.19.12" + "@esbuild/linux-arm64" "0.19.12" + "@esbuild/linux-ia32" "0.19.12" + "@esbuild/linux-loong64" "0.19.12" + "@esbuild/linux-mips64el" "0.19.12" + "@esbuild/linux-ppc64" "0.19.12" + "@esbuild/linux-riscv64" "0.19.12" + "@esbuild/linux-s390x" "0.19.12" + "@esbuild/linux-x64" "0.19.12" + "@esbuild/netbsd-x64" "0.19.12" + "@esbuild/openbsd-x64" "0.19.12" + "@esbuild/sunos-x64" "0.19.12" + "@esbuild/win32-arm64" "0.19.12" + "@esbuild/win32-ia32" "0.19.12" + "@esbuild/win32-x64" "0.19.12" + esbuild@^0.19.5: version "0.19.6" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.6.tgz#baa0e8b6b9e655c54ffd57f1772e44677a7931cc" @@ -6977,6 +7185,11 @@ fsevents@2.3.2, fsevents@^2.3.2, fsevents@~2.3.2: resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== +fsevents@~2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" @@ -7658,9 +7871,9 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-ci@^3.0.0: +is-ci@^3.0.1: version "3.0.1" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ== dependencies: ci-info "^3.2.0" @@ -9940,6 +10153,11 @@ nanoid@^3.3.6: resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz" integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== +nanoid@^3.3.7: + version "3.3.7" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== + nanoid@^4.0.0: version "4.0.2" resolved "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz" @@ -10664,6 +10882,15 @@ postcss@^8.4.27: picocolors "^1.0.0" source-map-js "^1.0.2" +postcss@^8.4.35: + version "8.4.35" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.35.tgz#60997775689ce09011edf083a549cea44aabe2f7" + integrity sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA== + dependencies: + nanoid "^3.3.7" + picocolors "^1.0.0" + source-map-js "^1.0.2" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" @@ -11410,6 +11637,28 @@ rollup@^3.28.0: optionalDependencies: fsevents "~2.3.2" +rollup@^4.2.0: + version "4.12.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.12.0.tgz#0b6d1e5f3d46bbcf244deec41a7421dc54cc45b5" + integrity sha512-wz66wn4t1OHIJw3+XU7mJJQV/2NAfw5OAk6G6Hoo3zcvz/XOfQ52Vgi+AN4Uxoxi0KBBwk2g8zPrTDA4btSB/Q== + dependencies: + "@types/estree" "1.0.5" + optionalDependencies: + "@rollup/rollup-android-arm-eabi" "4.12.0" + "@rollup/rollup-android-arm64" "4.12.0" + "@rollup/rollup-darwin-arm64" "4.12.0" + "@rollup/rollup-darwin-x64" "4.12.0" + "@rollup/rollup-linux-arm-gnueabihf" "4.12.0" + "@rollup/rollup-linux-arm64-gnu" "4.12.0" + "@rollup/rollup-linux-arm64-musl" "4.12.0" + "@rollup/rollup-linux-riscv64-gnu" "4.12.0" + "@rollup/rollup-linux-x64-gnu" "4.12.0" + "@rollup/rollup-linux-x64-musl" "4.12.0" + "@rollup/rollup-win32-arm64-msvc" "4.12.0" + "@rollup/rollup-win32-ia32-msvc" "4.12.0" + "@rollup/rollup-win32-x64-msvc" "4.12.0" + fsevents "~2.3.2" + rrweb-cssom@^0.6.0: version "0.6.0" resolved "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.6.0.tgz" @@ -12866,7 +13115,7 @@ vite-tsconfig-paths@^4.2.1: globrex "^0.1.2" tsconfck "^2.1.0" -"vite@^3.0.0 || ^4.0.0 || ^5.0.0-0", "vite@^3.1.0 || ^4.0.0 || ^5.0.0-0", vite@^4.0.0, vite@^4.3.9: +"vite@^3.0.0 || ^4.0.0 || ^5.0.0-0", "vite@^3.1.0 || ^4.0.0 || ^5.0.0-0", vite@^4.0.0: version "4.4.9" resolved "https://registry.yarnpkg.com/vite/-/vite-4.4.9.tgz#1402423f1a2f8d66fd8d15e351127c7236d29d3d" integrity sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA== @@ -12877,6 +13126,17 @@ vite-tsconfig-paths@^4.2.1: optionalDependencies: fsevents "~2.3.2" +vite@^5.1.5: + version "5.1.5" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.1.5.tgz#bdbc2b15e8000d9cc5172f059201178f9c9de5fb" + integrity sha512-BdN1xh0Of/oQafhU+FvopafUp6WaYenLU/NFoL5WyJL++GxkNfieKzBhM24H3HVsPQrlAqB7iJYTHabzaRed5Q== + dependencies: + esbuild "^0.19.3" + postcss "^8.4.35" + rollup "^4.2.0" + optionalDependencies: + fsevents "~2.3.3" + vitest@^0.34.6: version "0.34.6" resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.34.6.tgz#44880feeeef493c04b7f795ed268f24a543250d7" From a729ea3abc1f9b14cae43d27ee362523e4324546 Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Tue, 5 Mar 2024 09:59:45 -0800 Subject: [PATCH 4/7] tiny --- packages/ove/src/index.js | 5 ----- packages/ui/src/index.js | 2 -- 2 files changed, 7 deletions(-) diff --git a/packages/ove/src/index.js b/packages/ove/src/index.js index 0007ba8a..8fab4881 100644 --- a/packages/ove/src/index.js +++ b/packages/ove/src/index.js @@ -5,11 +5,6 @@ import "./style.css"; export { getUserGroupLabel } from "./CutsiteFilter/AdditionalCutsiteInfoDialog"; window.tgCreateMenu = showContextMenu; -// window.tgCreateMenu = (menu, e, e2) => { -// (e||e2).stopPropagation() -// (e || e2) -// } //add this to the window so people can easily override the default context menus - FocusStyleManager.onlyShowFocusOnTabs(); export { getGaps } from "./AlignmentView/getGaps"; export { default as createVectorEditor } from "./createVectorEditor"; diff --git a/packages/ui/src/index.js b/packages/ui/src/index.js index b537767e..c4d157cb 100644 --- a/packages/ui/src/index.js +++ b/packages/ui/src/index.js @@ -71,7 +71,6 @@ export * from "./utils/menuUtils"; export * from "./utils/browserUtils"; export * from "./utils/commandUtils"; export * from "./utils/commandControls"; - export { default as AsyncValidateFieldSpinner } from "./AsyncValidateFieldSpinner"; export { default as showProgressToast } from "./utils/showProgressToast"; export { default as getTextFromEl } from "./utils/getTextFromEl"; @@ -79,5 +78,4 @@ export { default as ScrollToTop } from "./ScrollToTop"; const noop = () => undefined; export { noop }; export { default as showDialogOnDocBody } from "./showDialogOnDocBody"; - export { default as TableFormTrackerContext } from "./DataTable/TableFormTrackerContext"; From a1333f719b3317d771daf08248a486ebc1f61b7b Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Tue, 5 Mar 2024 10:04:44 -0800 Subject: [PATCH 5/7] bumping node version, re-triggering cypress tests --- .github/workflows/cypress.yml | 2 +- packages/ove/src/index.js | 1 - packages/ui/src/index.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 350d688a..31068738 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Checkout uses: actions/checkout@v3 with: diff --git a/packages/ove/src/index.js b/packages/ove/src/index.js index 8fab4881..37cc3d9c 100644 --- a/packages/ove/src/index.js +++ b/packages/ove/src/index.js @@ -3,7 +3,6 @@ import { showContextMenu } from "@teselagen/ui"; import "./createVectorEditor"; import "./style.css"; export { getUserGroupLabel } from "./CutsiteFilter/AdditionalCutsiteInfoDialog"; - window.tgCreateMenu = showContextMenu; FocusStyleManager.onlyShowFocusOnTabs(); export { getGaps } from "./AlignmentView/getGaps"; diff --git a/packages/ui/src/index.js b/packages/ui/src/index.js index c4d157cb..72816cc1 100644 --- a/packages/ui/src/index.js +++ b/packages/ui/src/index.js @@ -56,7 +56,6 @@ export { default as tg_modalState } from "./enhancers/withDialog/tg_modalState"; export { default as Timeline, TimelineEvent } from "./Timeline"; export * from "./FormComponents"; export * from "./useDialog"; - export * from "./toastr"; export * from "./showConfirmationDialog"; export * from "./utils/handlerHelpers"; From 99243f9557d6d1c1f523631eb73878447709cbf3 Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Fri, 8 Mar 2024 12:15:05 -0800 Subject: [PATCH 6/7] chore: publish ui@0.3.76 --- CHANGELOG.md | 7 ++++--- output.json | 8 +++++++- packages/ui/package.json | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef4420ad..8129a81b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). #### 0.2.0 +- Use a custom tippy theme called 'teselagen' to avoid overriding styles defined by themes in tippy instances outisde of ove [`#64`](https://github.com/TeselaGen/tg-oss/pull/64) - Added fix for clipboard commands when there are multiple editors [`#57`](https://github.com/TeselaGen/tg-oss/pull/57) - Fixed condition for removing \* [`#52`](https://github.com/TeselaGen/tg-oss/pull/52) - Removed \* aa from dna translation at the end of sequence [`#50`](https://github.com/TeselaGen/tg-oss/pull/50) @@ -30,6 +31,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Added menu item to allow user to export DNA as FASTA when looking at a protein sequence to resolve https://github.com/TeselaGen/tg-oss/issues/61 [`#61`](https://github.com/TeselaGen/tg-oss/issues/61) - Added fix for clipboard commands when there are multiple editors on a page to resolve https://github.com/TeselaGen/tg-oss/issues/24 [`#24`](https://github.com/TeselaGen/tg-oss/issues/24) - closes #35 [`#35`](https://github.com/TeselaGen/tg-oss/issues/35) -- making upload accept handle async values [`5c8dfd8`](https://github.com/TeselaGen/tg-oss/commit/5c8dfd8a91defd00773329d9dbfc2e15beb01bbb) -- fixing issue with annotationsToSupport and adding test [`2f885dc`](https://github.com/TeselaGen/tg-oss/commit/2f885dc53fd4441a4473eb0b3194dc82d1922a30) -- adding download table as csv button to editable tables, more csv wizard fixing [`9f4989e`](https://github.com/TeselaGen/tg-oss/commit/9f4989e2fda4f7542b96cb2f1ec3d3c97c386245) +- formatting all files in repo [`87f52d8`](https://github.com/TeselaGen/tg-oss/commit/87f52d888fb22613139ee4fe32a702c1ed2adfda) +- unifying the ui and ove demos [`f23237d`](https://github.com/TeselaGen/tg-oss/commit/f23237d4185830d94f362cbd1dae527ab59ad623) +- bumping cypress and vite [`c85445a`](https://github.com/TeselaGen/tg-oss/commit/c85445a93a6978bc951f9f5e8dff1a366858a045) diff --git a/output.json b/output.json index b3e75f08..b0d80146 100644 --- a/output.json +++ b/output.json @@ -779,7 +779,13 @@ } ], "range-utils": [], - "shared-demo": [], + "shared-demo": [ + { + "source": "shared-demo", + "target": "ui", + "type": "static" + } + ], "file-utils": [], "uploader": [], "ove": [ diff --git a/packages/ui/package.json b/packages/ui/package.json index 01bb381d..f397aa10 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@teselagen/ui", - "version": "0.3.75", + "version": "0.3.76", "main": "./src/index.js", "exports": { ".": { From f2757d52fa25c18b947e03e1be2c847e28d59ace Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Fri, 8 Mar 2024 12:15:30 -0800 Subject: [PATCH 7/7] chore: publish ove@0.4.5 --- packages/ove/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ove/package.json b/packages/ove/package.json index 8535b628..c4fc75f1 100644 --- a/packages/ove/package.json +++ b/packages/ove/package.json @@ -1,6 +1,6 @@ { "name": "@teselagen/ove", - "version": "0.4.4", + "version": "0.4.5", "main": "./src/index.js", "exports": { ".": {