@teselagen/ove 0.3.65 → 0.4.1

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/index.umd.js CHANGED
@@ -80,7 +80,6 @@ var __async = (__this, __arguments, generator) => {
80
80
  return Object.freeze(Object.defineProperty(n2, Symbol.toStringTag, { value: "Module" }));
81
81
  }
82
82
  __name(_mergeNamespaces, "_mergeNamespaces");
83
- const index$3 = "";
84
83
  var Alignment = {
85
84
  CENTER: "center",
86
85
  LEFT: "left",
@@ -350,19 +349,19 @@ var __async = (__this, __arguments, generator) => {
350
349
  }
351
350
  };
352
351
  /*! *****************************************************************************
353
- Copyright (c) Microsoft Corporation.
352
+ Copyright (c) Microsoft Corporation.
354
353
 
355
- Permission to use, copy, modify, and/or distribute this software for any
356
- purpose with or without fee is hereby granted.
354
+ Permission to use, copy, modify, and/or distribute this software for any
355
+ purpose with or without fee is hereby granted.
357
356
 
358
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
359
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
360
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
361
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
362
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
363
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
364
- PERFORMANCE OF THIS SOFTWARE.
365
- ***************************************************************************** */
357
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
358
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
359
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
360
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
361
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
362
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
363
+ PERFORMANCE OF THIS SOFTWARE.
364
+ ***************************************************************************** */
366
365
  var extendStatics$4 = /* @__PURE__ */ __name(function(d2, b3) {
367
366
  extendStatics$4 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b5) {
368
367
  d3.__proto__ = b5;
@@ -958,27 +957,27 @@ var __async = (__this, __arguments, generator) => {
958
957
  __name(commonjsRequire, "commonjsRequire");
959
958
  var dom4_max = {};
960
959
  /*!
961
- Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection
960
+ Copyright (C) 2013-2015 by Andrea Giammarchi - @WebReflection
962
961
 
963
- Permission is hereby granted, free of charge, to any person obtaining a copy
964
- of this software and associated documentation files (the "Software"), to deal
965
- in the Software without restriction, including without limitation the rights
966
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
967
- copies of the Software, and to permit persons to whom the Software is
968
- furnished to do so, subject to the following conditions:
962
+ Permission is hereby granted, free of charge, to any person obtaining a copy
963
+ of this software and associated documentation files (the "Software"), to deal
964
+ in the Software without restriction, including without limitation the rights
965
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
966
+ copies of the Software, and to permit persons to whom the Software is
967
+ furnished to do so, subject to the following conditions:
969
968
 
970
- The above copyright notice and this permission notice shall be included in
971
- all copies or substantial portions of the Software.
969
+ The above copyright notice and this permission notice shall be included in
970
+ all copies or substantial portions of the Software.
972
971
 
973
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
974
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
975
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
976
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
977
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
978
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
979
- THE SOFTWARE.
972
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
973
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
974
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
975
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
976
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
977
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
978
+ THE SOFTWARE.
980
979
 
981
- */
980
+ */
982
981
  var hasRequiredDom4_max;
983
982
  function requireDom4_max() {
984
983
  if (hasRequiredDom4_max)
@@ -43713,25 +43712,16 @@ ${latestSubscriptionCallbackError.current.stack}
43713
43712
  var _cof = /* @__PURE__ */ __name(function(it) {
43714
43713
  return toString$4.call(it).slice(8, -1);
43715
43714
  }, "_cof");
43716
- var _iobject;
43717
- var hasRequired_iobject;
43718
- function require_iobject() {
43719
- if (hasRequired_iobject)
43720
- return _iobject;
43721
- hasRequired_iobject = 1;
43722
- var cof2 = _cof;
43723
- _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
43724
- return cof2(it) == "String" ? it.split("") : Object(it);
43725
- };
43726
- return _iobject;
43727
- }
43728
- __name(require_iobject, "require_iobject");
43715
+ var cof$2 = _cof;
43716
+ var _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
43717
+ return cof$2(it) == "String" ? it.split("") : Object(it);
43718
+ };
43729
43719
  var _defined = /* @__PURE__ */ __name(function(it) {
43730
43720
  if (it == void 0)
43731
43721
  throw TypeError("Can't call method on " + it);
43732
43722
  return it;
43733
43723
  }, "_defined");
43734
- var IObject = require_iobject();
43724
+ var IObject = _iobject;
43735
43725
  var defined$2 = _defined;
43736
43726
  var _toIobject = /* @__PURE__ */ __name(function(it) {
43737
43727
  return IObject(defined$2(it));
@@ -43852,7 +43842,7 @@ ${latestSubscriptionCallbackError.current.stack}
43852
43842
  var gOPS2 = _objectGops;
43853
43843
  var pIE2 = require_objectPie();
43854
43844
  var toObject2 = _toObject;
43855
- var IObject2 = require_iobject();
43845
+ var IObject2 = _iobject;
43856
43846
  var $assign = Object.assign;
43857
43847
  _objectAssign = !$assign || _fails(function() {
43858
43848
  var A2 = {};
@@ -62068,19 +62058,19 @@ ${latestSubscriptionCallbackError.current.stack}
62068
62058
  }
62069
62059
  __name(getActiveItem, "getActiveItem");
62070
62060
  /*! *****************************************************************************
62071
- Copyright (c) Microsoft Corporation.
62061
+ Copyright (c) Microsoft Corporation.
62072
62062
 
62073
- Permission to use, copy, modify, and/or distribute this software for any
62074
- purpose with or without fee is hereby granted.
62063
+ Permission to use, copy, modify, and/or distribute this software for any
62064
+ purpose with or without fee is hereby granted.
62075
62065
 
62076
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
62077
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
62078
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
62079
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
62080
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
62081
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
62082
- PERFORMANCE OF THIS SOFTWARE.
62083
- ***************************************************************************** */
62066
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
62067
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
62068
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
62069
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
62070
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
62071
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
62072
+ PERFORMANCE OF THIS SOFTWARE.
62073
+ ***************************************************************************** */
62084
62074
  var extendStatics$3 = /* @__PURE__ */ __name(function(d2, b3) {
62085
62075
  extendStatics$3 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b5) {
62086
62076
  d3.__proto__ = b5;
@@ -68100,19 +68090,19 @@ ${latestSubscriptionCallbackError.current.stack}
68100
68090
  min: DEFAULT_MIN_MILLISECOND
68101
68091
  }, _a$1);
68102
68092
  /*! *****************************************************************************
68103
- Copyright (c) Microsoft Corporation.
68093
+ Copyright (c) Microsoft Corporation.
68104
68094
 
68105
- Permission to use, copy, modify, and/or distribute this software for any
68106
- purpose with or without fee is hereby granted.
68095
+ Permission to use, copy, modify, and/or distribute this software for any
68096
+ purpose with or without fee is hereby granted.
68107
68097
 
68108
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
68109
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
68110
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
68111
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
68112
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
68113
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
68114
- PERFORMANCE OF THIS SOFTWARE.
68115
- ***************************************************************************** */
68098
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
68099
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
68100
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
68101
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
68102
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
68103
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
68104
+ PERFORMANCE OF THIS SOFTWARE.
68105
+ ***************************************************************************** */
68116
68106
  var extendStatics$2 = /* @__PURE__ */ __name(function(d2, b3) {
68117
68107
  extendStatics$2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b5) {
68118
68108
  d3.__proto__ = b5;
@@ -90749,15 +90739,15 @@ ${latestSubscriptionCallbackError.current.stack}
90749
90739
  var jszip_min = { exports: {} };
90750
90740
  /*!
90751
90741
 
90752
- JSZip v3.10.1 - A JavaScript class for generating and reading zip files
90753
- <http://stuartk.com/jszip>
90742
+ JSZip v3.10.1 - A JavaScript class for generating and reading zip files
90743
+ <http://stuartk.com/jszip>
90754
90744
 
90755
- (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
90756
- Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
90745
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
90746
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
90757
90747
 
90758
- JSZip uses the library pako released under the MIT license :
90759
- https://github.com/nodeca/pako/blob/main/LICENSE
90760
- */
90748
+ JSZip uses the library pako released under the MIT license :
90749
+ https://github.com/nodeca/pako/blob/main/LICENSE
90750
+ */
90761
90751
  (function(module2, exports3) {
90762
90752
  !function(e2) {
90763
90753
  module2.exports = e2();
@@ -104008,19 +103998,19 @@ ${latestSubscriptionCallbackError.current.stack}
104008
103998
  }(reactExports.PureComponent)
104009
103999
  );
104010
104000
  /*! *****************************************************************************
104011
- Copyright (c) Microsoft Corporation. All rights reserved.
104012
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
104013
- this file except in compliance with the License. You may obtain a copy of the
104014
- License at http://www.apache.org/licenses/LICENSE-2.0
104001
+ Copyright (c) Microsoft Corporation. All rights reserved.
104002
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
104003
+ this file except in compliance with the License. You may obtain a copy of the
104004
+ License at http://www.apache.org/licenses/LICENSE-2.0
104015
104005
 
104016
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
104017
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
104018
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
104019
- MERCHANTABLITY OR NON-INFRINGEMENT.
104006
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
104007
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
104008
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
104009
+ MERCHANTABLITY OR NON-INFRINGEMENT.
104020
104010
 
104021
- See the Apache Version 2.0 License for specific language governing permissions
104022
- and limitations under the License.
104023
- ***************************************************************************** */
104011
+ See the Apache Version 2.0 License for specific language governing permissions
104012
+ and limitations under the License.
104013
+ ***************************************************************************** */
104024
104014
  var extendStatics$1 = /* @__PURE__ */ __name(function(d2, b3) {
104025
104015
  extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b5) {
104026
104016
  d3.__proto__ = b5;
@@ -150983,7 +150973,7 @@ double click --> edit`}`;
150983
150973
  annotation.labelClassName
150984
150974
  ),
150985
150975
  style: {
150986
- fontSize: ".9em",
150976
+ // fontSize: ".8em",
150987
150977
  fill: _textColor
150988
150978
  },
150989
150979
  transform: `translate(${textOffset},${height2 - 2})`
@@ -154047,7 +154037,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
154047
154037
  }
154048
154038
  __name(showFileDialog, "showFileDialog");
154049
154039
  const name = "@teselagen/ove";
154050
- const version = "0.3.64";
154040
+ const version = "0.4.0";
154051
154041
  const main = "./src/index.js";
154052
154042
  const exports$1 = {
154053
154043
  ".": {
@@ -178333,19 +178323,19 @@ ${seqDataToCopy}\r
178333
178323
  * Released under MIT License
178334
178324
  */
178335
178325
  /*! *****************************************************************************
178336
- Copyright (c) Microsoft Corporation.
178326
+ Copyright (c) Microsoft Corporation.
178337
178327
 
178338
- Permission to use, copy, modify, and/or distribute this software for any
178339
- purpose with or without fee is hereby granted.
178328
+ Permission to use, copy, modify, and/or distribute this software for any
178329
+ purpose with or without fee is hereby granted.
178340
178330
 
178341
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
178342
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
178343
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
178344
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178345
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
178346
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
178347
- PERFORMANCE OF THIS SOFTWARE.
178348
- ***************************************************************************** */
178331
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
178332
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
178333
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
178334
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
178335
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
178336
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
178337
+ PERFORMANCE OF THIS SOFTWARE.
178338
+ ***************************************************************************** */
178349
178339
  var extendStatics = /* @__PURE__ */ __name(function(d2, b3) {
178350
178340
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d3, b5) {
178351
178341
  d3.__proto__ = b5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.65",
3
+ "version": "0.4.1",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
package/src/Menlo.ttf ADDED
Binary file
package/src/Monaco.ttf ADDED
Binary file
@@ -302,7 +302,7 @@ function PointedAnnotation(props) {
302
302
  annotation.labelClassName
303
303
  )}
304
304
  style={{
305
- fontSize: ".9em",
305
+ // fontSize: ".8em",
306
306
  fill: _textColor
307
307
  }}
308
308
  transform={`translate(${textOffset},${height - 2})`}
package/src/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import "@fontsource/ubuntu-mono";
2
1
  import { FocusStyleManager } from "@blueprintjs/core";
3
2
  import { showContextMenu } from "@teselagen/ui";
4
3
  import "./createVectorEditor";
package/src/style.css CHANGED
@@ -1,6 +1,20 @@
1
+ @font-face {
2
+ font-family: 'Menlo';
3
+ src: url('./Menlo.ttf');
4
+ font-weight: normal;
5
+ font-style: normal;
6
+ font-display: block;
7
+ }
8
+ @font-face {
9
+ font-family: 'Monaco';
10
+ src: url('./Monaco.ttf');
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ font-display: block;
14
+ }
1
15
  .ve-monospace-font {
2
- font-family: "Ubuntu Mono", Monaco, monospace;
3
- font-size: 12px;
16
+ font-family: Menlo, Monaco, monospace;
17
+ font-size: 10px;
4
18
  }
5
19
  .rowViewTextContainer text {
6
20
  user-select: none;
@@ -16,7 +30,6 @@
16
30
  }
17
31
 
18
32
  .veCircularView .ve-monospace-font {
19
- font-family: "Lucida Console", Monaco, monospace;
20
33
  font-size: 14px;
21
34
  }
22
35