microboard-ui-temp 0.1.97 → 0.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -11
- package/dist/spa.js +13 -11
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -259203,13 +259203,19 @@ class ConnectorTransformer extends Tool {
|
|
|
259203
259203
|
this.snap.connector = connector;
|
|
259204
259204
|
this.snap.pointerMove();
|
|
259205
259205
|
const point5 = this.snap.getControlPoint();
|
|
259206
|
-
|
|
259207
|
-
start:
|
|
259208
|
-
|
|
259209
|
-
|
|
259210
|
-
|
|
259211
|
-
|
|
259212
|
-
|
|
259206
|
+
switch (this.statePointer) {
|
|
259207
|
+
case "start":
|
|
259208
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
259209
|
+
this.selection.subject.publish(this.selection);
|
|
259210
|
+
break;
|
|
259211
|
+
case "end":
|
|
259212
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
259213
|
+
this.selection.subject.publish(this.selection);
|
|
259214
|
+
break;
|
|
259215
|
+
case "middle":
|
|
259216
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
259217
|
+
break;
|
|
259218
|
+
}
|
|
259213
259219
|
this.selection.subject.publish(this.selection);
|
|
259214
259220
|
}
|
|
259215
259221
|
}
|
|
@@ -439728,13 +439734,9 @@ class TextEditor extends import_react362.default.Component {
|
|
|
439728
439734
|
return this.props.text.editor.handleSplitListItem();
|
|
439729
439735
|
}
|
|
439730
439736
|
if (event.key === "Tab" && !event.shiftKey) {
|
|
439731
|
-
event.preventDefault();
|
|
439732
|
-
event.stopPropagation();
|
|
439733
439737
|
return this.props.text.editor.handleWrapIntoNestedList();
|
|
439734
439738
|
}
|
|
439735
439739
|
if (event.key === "Tab" && event.shiftKey) {
|
|
439736
|
-
event.preventDefault();
|
|
439737
|
-
event.stopPropagation();
|
|
439738
439740
|
const listType = this.props.text.editor.getListTypeAtSelectionStart();
|
|
439739
439741
|
if (!listType) {
|
|
439740
439742
|
return false;
|
package/dist/spa.js
CHANGED
|
@@ -259203,13 +259203,19 @@ class ConnectorTransformer extends Tool {
|
|
|
259203
259203
|
this.snap.connector = connector;
|
|
259204
259204
|
this.snap.pointerMove();
|
|
259205
259205
|
const point5 = this.snap.getControlPoint();
|
|
259206
|
-
|
|
259207
|
-
start:
|
|
259208
|
-
|
|
259209
|
-
|
|
259210
|
-
|
|
259211
|
-
|
|
259212
|
-
|
|
259206
|
+
switch (this.statePointer) {
|
|
259207
|
+
case "start":
|
|
259208
|
+
connector.setStartPoint(point5, this.beginTimeStamp);
|
|
259209
|
+
this.selection.subject.publish(this.selection);
|
|
259210
|
+
break;
|
|
259211
|
+
case "end":
|
|
259212
|
+
connector.setEndPoint(point5, this.beginTimeStamp);
|
|
259213
|
+
this.selection.subject.publish(this.selection);
|
|
259214
|
+
break;
|
|
259215
|
+
case "middle":
|
|
259216
|
+
connector.setMiddlePoint(point5, this.beginTimeStamp);
|
|
259217
|
+
break;
|
|
259218
|
+
}
|
|
259213
259219
|
this.selection.subject.publish(this.selection);
|
|
259214
259220
|
}
|
|
259215
259221
|
}
|
|
@@ -439728,13 +439734,9 @@ class TextEditor extends import_react362.default.Component {
|
|
|
439728
439734
|
return this.props.text.editor.handleSplitListItem();
|
|
439729
439735
|
}
|
|
439730
439736
|
if (event.key === "Tab" && !event.shiftKey) {
|
|
439731
|
-
event.preventDefault();
|
|
439732
|
-
event.stopPropagation();
|
|
439733
439737
|
return this.props.text.editor.handleWrapIntoNestedList();
|
|
439734
439738
|
}
|
|
439735
439739
|
if (event.key === "Tab" && event.shiftKey) {
|
|
439736
|
-
event.preventDefault();
|
|
439737
|
-
event.stopPropagation();
|
|
439738
439740
|
const listType = this.props.text.editor.getListTypeAtSelectionStart();
|
|
439739
439741
|
if (!listType) {
|
|
439740
439742
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.98",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
61
61
|
"js-cookie": "^3.0.5",
|
|
62
62
|
"jwt-decode": "^4.0.0",
|
|
63
|
-
"microboard-temp": "^0.5.
|
|
63
|
+
"microboard-temp": "^0.5.35",
|
|
64
64
|
"nanoid": "^5.1.5",
|
|
65
65
|
"prop-types": "^15.8.1",
|
|
66
66
|
"react-hot-toast": "2.4.1",
|