@cocreate/text 1.17.5 → 1.17.7
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/CHANGELOG.md +14 -0
- package/package.json +11 -11
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.17.7](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.6...v1.17.7) (2022-09-22)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* removed setClassStyle ([972a5c7](https://github.com/CoCreate-app/CoCreate-text/commit/972a5c75b5df9d4f59dac9c0ee87184a84a8a5bc))
|
7
|
+
|
8
|
+
## [1.17.6](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.5...v1.17.6) (2022-09-01)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* bump all of [@cocreate](https://github.com/cocreate) dependencies ([adff98e](https://github.com/CoCreate-app/CoCreate-text/commit/adff98ee487011d1deaeb1f15295318759899531))
|
14
|
+
|
1
15
|
## [1.17.5](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.4...v1.17.5) (2022-08-31)
|
2
16
|
|
3
17
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cocreate/text",
|
3
|
-
"version": "1.17.
|
3
|
+
"version": "1.17.7",
|
4
4
|
"description": "A simple text component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
5
5
|
"keywords": [
|
6
6
|
"text",
|
@@ -61,15 +61,15 @@
|
|
61
61
|
"webpack-log": "^3.0.1"
|
62
62
|
},
|
63
63
|
"dependencies": {
|
64
|
-
"@cocreate/actions": "^1.
|
65
|
-
"@cocreate/crdt": "^1.
|
66
|
-
"@cocreate/crud-client": "^1.
|
67
|
-
"@cocreate/cursors": "^1.11.
|
68
|
-
"@cocreate/docs": "^1.3.
|
69
|
-
"@cocreate/hosting": "^1.3.
|
70
|
-
"@cocreate/observer": "^1.5.
|
71
|
-
"@cocreate/selection": "^1.4.
|
72
|
-
"@cocreate/utils": "^1.
|
73
|
-
"@cocreate/uuid": "^1.2.
|
64
|
+
"@cocreate/actions": "^1.5.0",
|
65
|
+
"@cocreate/crdt": "^1.13.2",
|
66
|
+
"@cocreate/crud-client": "^1.10.0",
|
67
|
+
"@cocreate/cursors": "^1.11.23",
|
68
|
+
"@cocreate/docs": "^1.3.5",
|
69
|
+
"@cocreate/hosting": "^1.3.4",
|
70
|
+
"@cocreate/observer": "^1.5.4",
|
71
|
+
"@cocreate/selection": "^1.4.13",
|
72
|
+
"@cocreate/utils": "^1.10.0",
|
73
|
+
"@cocreate/uuid": "^1.2.5"
|
74
74
|
}
|
75
75
|
}
|
package/src/index.js
CHANGED
@@ -5,7 +5,7 @@ import crdt from '@cocreate/crdt';
|
|
5
5
|
import cursors from '@cocreate/cursors';
|
6
6
|
import uuid from '@cocreate/uuid';
|
7
7
|
import {updateDom} from './updateDom';
|
8
|
-
import {insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle,
|
8
|
+
import {insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle, replaceInnerText} from './updateText';
|
9
9
|
import {getSelection, processSelection} from '@cocreate/selection';
|
10
10
|
import action from '@cocreate/actions';
|
11
11
|
import './saveDomText';
|
@@ -424,4 +424,4 @@ action.init({
|
|
424
424
|
|
425
425
|
init();
|
426
426
|
|
427
|
-
export default {initElements, initElement, updateText, updateElement, _addEventListeners, insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle,
|
427
|
+
export default {initElements, initElement, updateText, updateElement, _addEventListeners, insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle, replaceInnerText};
|