@atlaskit/editor-plugin-placeholder-text 9.0.1 → 9.0.3

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,17 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 9.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 9.0.1
4
16
 
5
17
  ### Patch Changes
@@ -255,12 +255,13 @@ var decorateWithPluginOptions = function decorateWithPluginOptions(plugin, optio
255
255
  tr.setMeta(_pluginKey.pluginKey, {
256
256
  showInsertPanelAt: tr.selection.anchor
257
257
  });
258
+ var resolvedInputMethod = _analytics.INPUT_METHOD.QUICK_INSERT;
258
259
  api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 || _api$analytics.actions.attachAnalyticsEvent({
259
260
  action: _analytics.ACTION.INSERTED,
260
261
  actionSubject: _analytics.ACTION_SUBJECT.DOCUMENT,
261
262
  actionSubjectId: _analytics.ACTION_SUBJECT_ID.PLACEHOLDER_TEXT,
262
263
  attributes: {
263
- inputMethod: _analytics.INPUT_METHOD.QUICK_INSERT
264
+ inputMethod: resolvedInputMethod
264
265
  },
265
266
  eventType: _analytics.EVENT_TYPE.TRACK
266
267
  })(tr);
@@ -238,12 +238,13 @@ const decorateWithPluginOptions = (plugin, options, api) => {
238
238
  tr.setMeta(pluginKey, {
239
239
  showInsertPanelAt: tr.selection.anchor
240
240
  });
241
+ const resolvedInputMethod = INPUT_METHOD.QUICK_INSERT;
241
242
  api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions.attachAnalyticsEvent({
242
243
  action: ACTION.INSERTED,
243
244
  actionSubject: ACTION_SUBJECT.DOCUMENT,
244
245
  actionSubjectId: ACTION_SUBJECT_ID.PLACEHOLDER_TEXT,
245
246
  attributes: {
246
- inputMethod: INPUT_METHOD.QUICK_INSERT
247
+ inputMethod: resolvedInputMethod
247
248
  },
248
249
  eventType: EVENT_TYPE.TRACK
249
250
  })(tr);
@@ -247,12 +247,13 @@ var decorateWithPluginOptions = function decorateWithPluginOptions(plugin, optio
247
247
  tr.setMeta(pluginKey, {
248
248
  showInsertPanelAt: tr.selection.anchor
249
249
  });
250
+ var resolvedInputMethod = INPUT_METHOD.QUICK_INSERT;
250
251
  api === null || api === void 0 || (_api$analytics = api.analytics) === null || _api$analytics === void 0 || _api$analytics.actions.attachAnalyticsEvent({
251
252
  action: ACTION.INSERTED,
252
253
  actionSubject: ACTION_SUBJECT.DOCUMENT,
253
254
  actionSubjectId: ACTION_SUBJECT_ID.PLACEHOLDER_TEXT,
254
255
  attributes: {
255
- inputMethod: INPUT_METHOD.QUICK_INSERT
256
+ inputMethod: resolvedInputMethod
256
257
  },
257
258
  eventType: EVENT_TYPE.TRACK
258
259
  })(tr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder-text",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "description": "placeholder text plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,13 +33,13 @@
33
33
  "@atlaskit/editor-prosemirror": "^7.3.0",
34
34
  "@atlaskit/icon": "^32.0.0",
35
35
  "@atlaskit/theme": "^22.0.0",
36
- "@atlaskit/tmp-editor-statsig": "^36.0.0",
36
+ "@atlaskit/tmp-editor-statsig": "^38.0.0",
37
37
  "@atlaskit/tokens": "^11.1.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@emotion/react": "^11.7.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@atlaskit/editor-common": "^112.0.0",
42
+ "@atlaskit/editor-common": "^112.2.0",
43
43
  "react": "^18.2.0",
44
44
  "react-dom": "^18.2.0",
45
45
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -84,6 +84,11 @@
84
84
  ]
85
85
  }
86
86
  },
87
+ "platform-feature-flags": {
88
+ "platform_editor_element_browser_analytic": {
89
+ "type": "boolean"
90
+ }
91
+ },
87
92
  "typesVersions": {
88
93
  ">=4.5 <4.9": {
89
94
  "*": [