@modusoperandi/licit 1.0.7 → 1.0.8

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.
Files changed (92) hide show
  1. package/ContentPlaceholderPlugin.js +0 -1
  2. package/ContentPlaceholderPlugin.js.flow +0 -2
  3. package/CursorPlaceholderPlugin.js +0 -1
  4. package/CursorPlaceholderPlugin.js.flow +0 -2
  5. package/HTMLMutator.js +2 -3
  6. package/HTMLMutator.js.flow +2 -3
  7. package/ImageUploadPlaceholderPlugin.js +1 -3
  8. package/ImageUploadPlaceholderPlugin.js.flow +1 -4
  9. package/LinkTooltipPlugin.js +0 -1
  10. package/LinkTooltipPlugin.js.flow +0 -2
  11. package/ListItemMergeCommand.js +2 -2
  12. package/ListItemMergeCommand.js.flow +1 -2
  13. package/SelectionPlaceholderPlugin.js +0 -1
  14. package/SelectionPlaceholderPlugin.js.flow +0 -2
  15. package/TableBackgroundColorCommand.js +1 -2
  16. package/TableBackgroundColorCommand.js.flow +12 -13
  17. package/TableBorderColorCommand.js +1 -2
  18. package/TableBorderColorCommand.js.flow +12 -13
  19. package/TableCellColorCommand.js +1 -2
  20. package/TableCellColorCommand.js.flow +1 -2
  21. package/TableCellMenuPlugin.js +0 -1
  22. package/TableCellMenuPlugin.js.flow +0 -1
  23. package/TableInsertCommand.js +1 -2
  24. package/TableInsertCommand.js.flow +1 -2
  25. package/TableResizePlugin.js +1 -2
  26. package/TableResizePlugin.js.flow +1 -2
  27. package/bom.xml +7850 -9120
  28. package/client/Licit.js +0 -1
  29. package/client/Licit.js.flow +0 -1
  30. package/package.json +8 -7
  31. package/patchListElements.js +2 -3
  32. package/patchListElements.js.flow +2 -3
  33. package/styles.css +32 -3
  34. package/ui/AlertInfo.js +0 -1
  35. package/ui/AlertInfo.js.flow +0 -1
  36. package/ui/BookmarkNodeView.js +0 -1
  37. package/ui/BookmarkNodeView.js.flow +0 -2
  38. package/ui/CommandMenuButton.js +0 -1
  39. package/ui/CommandMenuButton.js.flow +0 -2
  40. package/ui/CustomMenu.js +0 -2
  41. package/ui/CustomMenu.js.flow +0 -3
  42. package/ui/CustomMenuItem.js +0 -1
  43. package/ui/CustomMenuItem.js.flow +0 -1
  44. package/ui/CustomRadioButton.js +0 -1
  45. package/ui/CustomRadioButton.js.flow +0 -1
  46. package/ui/DocLayoutEditor.js +0 -2
  47. package/ui/DocLayoutEditor.js.flow +0 -3
  48. package/ui/Editor.js +0 -3
  49. package/ui/Editor.js.flow +0 -4
  50. package/ui/EditorFrameset.js +0 -1
  51. package/ui/EditorFrameset.js.flow +0 -2
  52. package/ui/EditorToolbar.js +0 -1
  53. package/ui/EditorToolbar.js.flow +0 -2
  54. package/ui/Frag.js +0 -1
  55. package/ui/Frag.js.flow +0 -2
  56. package/ui/Icon.js +0 -6
  57. package/ui/Icon.js.flow +0 -7
  58. package/ui/ImageInlineEditor.js +0 -1
  59. package/ui/ImageInlineEditor.js.flow +0 -1
  60. package/ui/LinkTooltip.js +0 -1
  61. package/ui/LinkTooltip.js.flow +0 -2
  62. package/ui/LinkURLEditor.js +0 -3
  63. package/ui/LinkURLEditor.js.flow +0 -4
  64. package/ui/ListTypeButton.js +0 -1
  65. package/ui/ListTypeButton.js.flow +0 -1
  66. package/ui/ListTypeMenu.js +0 -1
  67. package/ui/ListTypeMenu.js.flow +0 -1
  68. package/ui/LoadingIndicator.js +0 -1
  69. package/ui/LoadingIndicator.js.flow +0 -1
  70. package/ui/MathEditor.js +0 -1
  71. package/ui/MathEditor.js.flow +0 -2
  72. package/ui/MathInlineEditor.js +0 -1
  73. package/ui/MathInlineEditor.js.flow +0 -1
  74. package/ui/MathNodeView.js +0 -1
  75. package/ui/MathNodeView.js.flow +0 -1
  76. package/ui/PasteMenu.js +0 -1
  77. package/ui/PasteMenu.js.flow +0 -1
  78. package/ui/ResizeObserver.js +3 -3
  79. package/ui/ResizeObserver.js.flow +2 -3
  80. package/ui/TableCellMenu.js +0 -1
  81. package/ui/TableCellMenu.js.flow +0 -2
  82. package/ui/TableGridSizeEditor.js +1 -3
  83. package/ui/TableGridSizeEditor.js.flow +1 -3
  84. package/ui/mathquill-editor/MathQuillEditor.js +0 -1
  85. package/ui/mathquill-editor/MathQuillEditor.js.flow +0 -1
  86. package/ui/mathquill-editor/MathQuillEditorSymbolsPanel.js +0 -1
  87. package/ui/mathquill-editor/MathQuillEditorSymbolsPanel.js.flow +0 -1
  88. package/ui/mathquill-editor/mathquill-import-kludge.js +0 -1
  89. package/ui/mathquill-editor/mathquill-import-kludge.js.flow +0 -2
  90. package/ui/renderLaTeXAsHTML.js +0 -4
  91. package/ui/renderLaTeXAsHTML.js.flow +0 -4
  92. package/styles0.css +0 -29
@@ -1,5 +1,4 @@
1
1
  import ResizeObserver from 'resize-observer-polyfill';
2
- import nullthrows from 'nullthrows';
3
2
 
4
3
  // flow type copied from
5
4
  // https://github.com/que-etc/resize-observer-polyfill/blob/master/src/index.js.flow
@@ -41,7 +40,7 @@ export function observe(node, callback) {
41
40
  var observer = instance || (instance = new ResizeObserver(onResizeObserve));
42
41
  if (nodesObserving.has(el)) {
43
42
  // Already observing node.
44
- var callbacks = nullthrows(nodesObserving.get(el));
43
+ var callbacks = nodesObserving === null || nodesObserving === void 0 ? void 0 : nodesObserving.get(el);
45
44
  callbacks.push(callback);
46
45
  } else {
47
46
  var _callbacks = [callback];
@@ -57,9 +56,10 @@ export function unobserve(node, callback) {
57
56
  var el = node;
58
57
  observer.unobserve(el);
59
58
  if (callback) {
59
+ var _nodesObserving$get;
60
60
  // Remove the passed in callback from the callbacks of the observed node
61
61
  // And, if no more callbacks then stop observing the node
62
- var callbacks = nodesObserving.has(el) ? nullthrows(nodesObserving.get(el)).filter(function (cb) {
62
+ var callbacks = nodesObserving.has(el) ? nodesObserving === null || nodesObserving === void 0 || (_nodesObserving$get = nodesObserving.get(el)) === null || _nodesObserving$get === void 0 ? void 0 : _nodesObserving$get.filter(function (cb) {
63
63
  return cb !== callback;
64
64
  }) : null;
65
65
  if (callbacks !== null && callbacks !== void 0 && callbacks.length) {
@@ -1,7 +1,6 @@
1
1
  // @flow
2
2
 
3
3
  import ResizeObserver from 'resize-observer-polyfill';
4
- import nullthrows from 'nullthrows';
5
4
 
6
5
  // flow type copied from
7
6
  // https://github.com/que-etc/resize-observer-polyfill/blob/master/src/index.js.flow
@@ -56,7 +55,7 @@ export function observe(
56
55
  const observer = instance || (instance = new ResizeObserver(onResizeObserve));
57
56
  if (nodesObserving.has(el)) {
58
57
  // Already observing node.
59
- const callbacks = nullthrows(nodesObserving.get(el));
58
+ const callbacks = nodesObserving?.get(el);
60
59
  callbacks.push(callback);
61
60
  } else {
62
61
  const callbacks = [callback];
@@ -77,7 +76,7 @@ export function unobserve(node: HTMLElement, callback?: ResizeCallback): void {
77
76
  // Remove the passed in callback from the callbacks of the observed node
78
77
  // And, if no more callbacks then stop observing the node
79
78
  const callbacks = nodesObserving.has(el)
80
- ? nullthrows(nodesObserving.get(el)).filter((cb) => cb !== callback)
79
+ ? nodesObserving?.get(el)?.filter((cb) => cb !== callback)
81
80
  : null;
82
81
  if (callbacks?.length) {
83
82
  nodesObserving.set(el, callbacks);
@@ -19,7 +19,6 @@ import * as React from 'react';
19
19
  import CommandMenuButton from './CommandMenuButton.js';
20
20
  import { TABLE_COMMANDS_GROUP } from './EditorToolbarConfig.js';
21
21
  import Icon from './Icon.js';
22
- import './czi-table-cell-menu.css';
23
22
  var TableCellMenu = /*#__PURE__*/function (_React$PureComponent) {
24
23
  function TableCellMenu() {
25
24
  var _this;
@@ -8,8 +8,6 @@ import CommandMenuButton from './CommandMenuButton.js';
8
8
  import { TABLE_COMMANDS_GROUP } from './EditorToolbarConfig.js';
9
9
  import Icon from './Icon.js';
10
10
 
11
- import './czi-table-cell-menu.css';
12
-
13
11
  type Props = {
14
12
  editorState: EditorState,
15
13
  editorView: EditorView,
@@ -14,10 +14,8 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
14
14
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
15
15
  import cx from 'classnames';
16
16
  import * as React from 'react';
17
- import { clamp } from '@modusoperandi/licit-ui-commands';
18
17
  import htmlElementToRect from './htmlElementToRect.js';
19
- import { fromHTMlElement, fromXY, isIntersected } from '@modusoperandi/licit-ui-commands';
20
- import './czi-table-grid-size-editor.css';
18
+ import { clamp, fromHTMlElement, fromXY, isIntersected } from '@modusoperandi/licit-ui-commands';
21
19
  var bpfrpt_proptype_TableGridSizeEditorValue = {
22
20
  "cols": PropTypes.number.isRequired,
23
21
  "rows": PropTypes.number.isRequired
@@ -3,16 +3,14 @@
3
3
  import cx from 'classnames';
4
4
  import * as React from 'react';
5
5
 
6
- import { clamp } from '@modusoperandi/licit-ui-commands';
7
6
  import htmlElementToRect from './htmlElementToRect.js';
8
7
  import {
8
+ clamp,
9
9
  fromHTMlElement,
10
10
  fromXY,
11
11
  isIntersected,
12
12
  } from '@modusoperandi/licit-ui-commands';
13
13
 
14
- import './czi-table-grid-size-editor.css';
15
-
16
14
  export type TableGridSizeEditorValue = {
17
15
  cols: number,
18
16
  rows: number,
@@ -15,7 +15,6 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
15
15
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
16
16
  function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
17
17
  function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
18
- import './czi-mathquill-editor.css';
19
18
  import * as MathQuillEditorSymbols from './MathQuillEditorSymbols.js';
20
19
  import MathQuillEditorSymbolsPanel from './MathQuillEditorSymbolsPanel.js';
21
20
  import * as React from 'react';
@@ -1,6 +1,5 @@
1
1
  // @flow
2
2
 
3
- import './czi-mathquill-editor.css';
4
3
  import * as MathQuillEditorSymbols from './MathQuillEditorSymbols.js';
5
4
  import MathQuillEditorSymbolsPanel from './MathQuillEditorSymbolsPanel.js';
6
5
  import * as React from 'react';
@@ -13,7 +13,6 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
15
  import renderLaTeXAsHTML from '../renderLaTeXAsHTML.js';
16
- import './czi-mathquill-editor-symbols-panel.css';
17
16
  import { CustomButton } from '@modusoperandi/licit-ui-commands';
18
17
  import * as React from 'react';
19
18
  var MathQuillEditorSymbolsPanel = /*#__PURE__*/function (_React$PureComponent) {
@@ -1,7 +1,6 @@
1
1
  // @flow
2
2
 
3
3
  import renderLaTeXAsHTML from '../renderLaTeXAsHTML.js';
4
- import './czi-mathquill-editor-symbols-panel.css';
5
4
  import { CustomButton } from '@modusoperandi/licit-ui-commands';
6
5
  import * as React from 'react';
7
6
 
@@ -10,5 +10,4 @@ import jquery from 'jquery';
10
10
  window.jQuery = window.jQuery || jquery;
11
11
  import mathquill from 'node-mathquill/build/mathquill.js';
12
12
  window.MathQuill = window.MathQuill || mathquill;
13
- import 'node-mathquill/build/mathquill.css';
14
13
  export var MathQuill = window.MathQuill || mathquill;
@@ -12,6 +12,4 @@ window.jQuery = window.jQuery || jquery;
12
12
  import mathquill from 'node-mathquill/build/mathquill.js';
13
13
  window.MathQuill = window.MathQuill || mathquill;
14
14
 
15
- import 'node-mathquill/build/mathquill.css';
16
-
17
15
  export const MathQuill = window.MathQuill || mathquill;
@@ -4,10 +4,6 @@ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.
4
4
  function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
5
5
  import canUseCSSFont from './canUseCSSFont.js';
6
6
  import katex from 'katex';
7
-
8
- // [FS] IRAD-1061 2020-09-19
9
- // Now loaded locally, so that it work in closed network as well.
10
- import 'katex/dist/katex.min.css';
11
7
  var latexEl = document.createElement('div');
12
8
  var cached = {};
13
9
  var CSS_FONT = 'KaTeX_Main';
@@ -3,10 +3,6 @@
3
3
  import canUseCSSFont from './canUseCSSFont.js';
4
4
  import katex from 'katex';
5
5
 
6
- // [FS] IRAD-1061 2020-09-19
7
- // Now loaded locally, so that it work in closed network as well.
8
- import 'katex/dist/katex.min.css';
9
-
10
6
  const latexEl: any = document.createElement('div');
11
7
  const cached: Object = {};
12
8
 
package/styles0.css DELETED
@@ -1,29 +0,0 @@
1
- @import './ui/czi-vars.css';
2
- @import './ui/czi-heading.css';
3
- @import './ui/czi-indent.css';
4
- @import './ui/czi-list.css';
5
- @import './ui/czi-table.css';
6
- @import '@modusoperandi/licit-ui-commands/ui/czi-custom-button.css';
7
- @import '@modusoperandi/licit-ui-commands/ui/czi-animations.css';
8
- @import '@modusoperandi/licit-ui-commands/ui/czi-color-editor.css';
9
- @import './ui/czi-bookmark-view.css';
10
- @import './ui/czi-body-layout-editor.css';
11
- @import './ui/czi-cursor-placeholder.css';
12
- @import './ui/czi-custom-menu.css';
13
- @import './ui/czi-custom-menu-button.css';
14
- @import './ui/czi-custom-menu-item.css';
15
- @import './ui/czi-custom-radio-button.css';
16
- @import './ui/czi-custom-scrollbar.css';
17
- @import './ui/czi-editor.css';
18
- @import './ui/czi-editor-frameset.css';
19
- @import './ui/czi-editor-toolbar.css';
20
- @import './ui/czi-form.css';
21
- @import './ui/czi-frag.css';
22
- @import './ui/czi-icon.css';
23
- @import './ui/czi-image-resize-box.css';
24
- @import './ui/czi-image-upload-editor.css';
25
- @import './ui/czi-image-upload-placeholder.css';
26
- @import './ui/czi-image-url-editor.css';
27
- @import './ui/czi-image-view.css';
28
- @import './ui/czi-inline-editor.css';
29
- @import './ui/czi-link-tooltip.css';