@atlaskit/editor-plugin-placeholder-text 9.0.29 → 9.0.31
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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-placeholder-text
|
|
2
2
|
|
|
3
|
+
## 9.0.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`73b2fc243f544`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73b2fc243f544) -
|
|
8
|
+
Cleaning up getBrowserInfo which was behind experiment platform_editor_hydratable_ui and is now
|
|
9
|
+
rolled out
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 9.0.30
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 9.0.29
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -10,10 +10,9 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
10
10
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
11
11
|
var _whitespace = require("@atlaskit/editor-common/whitespace");
|
|
12
12
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
13
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
14
13
|
var serializePlaceholderNode = function serializePlaceholderNode(node) {
|
|
15
14
|
var element = document.createElement('span');
|
|
16
|
-
var browser = (0,
|
|
15
|
+
var browser = (0, _browser.getBrowserInfo)();
|
|
17
16
|
element.classList.add('pm-placeholder');
|
|
18
17
|
|
|
19
18
|
// the inline node api test suite requires the following class name
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
2
2
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
3
3
|
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
5
4
|
const serializePlaceholderNode = node => {
|
|
6
5
|
const element = document.createElement('span');
|
|
7
|
-
const browser =
|
|
6
|
+
const browser = getBrowserInfo();
|
|
8
7
|
element.classList.add('pm-placeholder');
|
|
9
8
|
|
|
10
9
|
// the inline node api test suite requires the following class name
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import {
|
|
3
|
+
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
4
4
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
5
5
|
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
6
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
6
|
var serializePlaceholderNode = function serializePlaceholderNode(node) {
|
|
8
7
|
var element = document.createElement('span');
|
|
9
|
-
var browser =
|
|
8
|
+
var browser = getBrowserInfo();
|
|
10
9
|
element.classList.add('pm-placeholder');
|
|
11
10
|
|
|
12
11
|
// the inline node api test suite requires the following class name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-placeholder-text",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.31",
|
|
4
4
|
"description": "placeholder text plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,14 +31,13 @@
|
|
|
31
31
|
"@atlaskit/editor-plugin-analytics": "^8.0.0",
|
|
32
32
|
"@atlaskit/editor-plugin-type-ahead": "^8.2.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
34
|
-
"@atlaskit/icon": "^34.
|
|
35
|
-
"@atlaskit/tmp-editor-statsig": "^60.2.0",
|
|
34
|
+
"@atlaskit/icon": "^34.1.0",
|
|
36
35
|
"@atlaskit/tokens": "^13.0.0",
|
|
37
36
|
"@babel/runtime": "^7.0.0",
|
|
38
37
|
"@emotion/react": "^11.7.1"
|
|
39
38
|
},
|
|
40
39
|
"peerDependencies": {
|
|
41
|
-
"@atlaskit/editor-common": "^112.
|
|
40
|
+
"@atlaskit/editor-common": "^112.21.0",
|
|
42
41
|
"react": "^18.2.0",
|
|
43
42
|
"react-dom": "^18.2.0",
|
|
44
43
|
"react-intl-next": "npm:react-intl@^5.18.1"
|