@atlaskit/editor-plugin-selection-marker 14.0.6 → 15.0.1

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-selection-marker
2
2
 
3
+ ## 15.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 14.0.6
4
16
 
5
17
  ### Patch Changes
package/compass.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  configVersion: 1
2
2
  id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/6e9c62df-72c6-47ab-bdcc-53efff417ca1
3
3
  name: '@atlaskit/editor-plugin-selection-marker'
4
- ownerId: ari:cloud:identity::team/ce353f56-2a90-491b-b272-b90dca4fffa2 # Editor FE Platform
4
+ ownerId: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb # Editor Developers
5
5
  labels:
6
6
  - platform-code
7
7
  - platform-afm
@@ -16,14 +16,14 @@ links:
16
16
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
17
  - name: Slack Channel
18
18
  type: CHAT_CHANNEL
19
- url: https://atlassian.enterprise.slack.com/archives/C03SD6QJWPP # #cc-editor-lego
19
+ url: https://atlassian.enterprise.slack.com/archives/CFG3PSQ9E # #help-editor
20
20
  - name: Editor Plugin Selection Marker
21
21
  type: REPOSITORY
22
22
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-plugin-selection-marker
23
23
  customFields:
24
24
  - name: Department
25
25
  type: text
26
- value: Eng - Editor Frontend Platform
26
+ value: Editor Developers
27
27
  - name: Trusted Reviewer Teams
28
28
  type: text
29
29
  value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
@@ -16,7 +16,6 @@ var _view = require("@atlaskit/editor-prosemirror/view");
16
16
  // Ignored via go/ees005
17
17
  // eslint-disable-next-line require-unicode-regexp
18
18
  var MS_PREFIX_REGEX = /^ms/;
19
- // @ts-ignore - TS1501 Older versions of TypeScript don't play nice with the u flag. With the current AFM TypeScript version, this *should* be fine, but the pipeline type check fails, hence why a ts-ignore is needed (over a ts-expect-error)
20
19
  var NON_WHITESPACE_REGEX = /(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
21
20
  var selectionMarkerHighlightStyles = {
22
21
  content: "''",
@@ -8,7 +8,6 @@ import { Decoration } from '@atlaskit/editor-prosemirror/view';
8
8
  // Ignored via go/ees005
9
9
  // eslint-disable-next-line require-unicode-regexp
10
10
  const MS_PREFIX_REGEX = /^ms/;
11
- // @ts-ignore - TS1501 Older versions of TypeScript don't play nice with the u flag. With the current AFM TypeScript version, this *should* be fine, but the pipeline type check fails, hence why a ts-ignore is needed (over a ts-expect-error)
12
11
  const NON_WHITESPACE_REGEX = /\S/u;
13
12
  const selectionMarkerHighlightStyles = {
14
13
  content: "''",
@@ -9,7 +9,6 @@ import { Decoration } from '@atlaskit/editor-prosemirror/view';
9
9
  // Ignored via go/ees005
10
10
  // eslint-disable-next-line require-unicode-regexp
11
11
  var MS_PREFIX_REGEX = /^ms/;
12
- // @ts-ignore - TS1501 Older versions of TypeScript don't play nice with the u flag. With the current AFM TypeScript version, this *should* be fine, but the pipeline type check fails, hence why a ts-ignore is needed (over a ts-expect-error)
13
12
  var NON_WHITESPACE_REGEX = /(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;
14
13
  var selectionMarkerHighlightStyles = {
15
14
  content: "''",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-marker",
3
- "version": "14.0.6",
3
+ "version": "15.0.1",
4
4
  "description": "Selection marker plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -20,24 +20,24 @@
20
20
  ],
21
21
  "atlaskit:src": "src/index.ts",
22
22
  "dependencies": {
23
- "@atlaskit/editor-plugin-decorations": "^14.0.0",
24
- "@atlaskit/editor-plugin-editor-disabled": "^14.0.0",
25
- "@atlaskit/editor-plugin-focus": "^13.0.0",
26
- "@atlaskit/editor-plugin-toolbar": "^11.0.0",
27
- "@atlaskit/editor-plugin-type-ahead": "^15.1.0",
28
- "@atlaskit/editor-plugin-user-intent": "^12.0.0",
23
+ "@atlaskit/editor-plugin-decorations": "^15.0.0",
24
+ "@atlaskit/editor-plugin-editor-disabled": "^15.0.0",
25
+ "@atlaskit/editor-plugin-focus": "^14.0.0",
26
+ "@atlaskit/editor-plugin-toolbar": "^12.0.0",
27
+ "@atlaskit/editor-plugin-type-ahead": "^16.1.0",
28
+ "@atlaskit/editor-plugin-user-intent": "^13.0.0",
29
29
  "@atlaskit/editor-prosemirror": "^8.0.0",
30
30
  "@atlaskit/link": "^5.0.0",
31
31
  "@atlaskit/platform-feature-flags": "^2.1.0",
32
32
  "@atlaskit/theme": "^28.0.0",
33
- "@atlaskit/tmp-editor-statsig": "^147.0.0",
33
+ "@atlaskit/tmp-editor-statsig": "^148.0.0",
34
34
  "@atlaskit/tokens": "^16.7.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/react": "^11.7.1",
37
37
  "lodash": "^4.17.21"
38
38
  },
39
39
  "peerDependencies": {
40
- "@atlaskit/editor-common": "^118.10.0",
40
+ "@atlaskit/editor-common": "^119.5.0",
41
41
  "react": "^18.2.0 || ^19.2.0",
42
42
  "react-dom": "^18.2.0 || ^19.2.0"
43
43
  },
@@ -1,43 +0,0 @@
1
- /**
2
- * Testing structured MCP docs for review — ignore this file.
3
- * Contact #dst-structured-content in Slack with questions.
4
- */
5
-
6
- import path from 'path';
7
-
8
- import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
9
-
10
- import packageJson from './package.json';
11
-
12
- const packagePath = path.resolve(__dirname);
13
-
14
- const documentation: StructuredContentSource = {
15
- components: [
16
- {
17
- name: 'Editor Plugin Selection Marker',
18
- description: 'Selection marker plugin for @atlaskit/editor-core.',
19
- status: 'general-availability',
20
- import: {
21
- name: 'selectionMarkerPlugin',
22
- package: '@atlaskit/editor-plugin-selection-marker',
23
- type: 'named',
24
- packagePath,
25
- packageJson,
26
- },
27
- usageGuidelines: [],
28
- contentGuidelines: [],
29
- accessibilityGuidelines: [],
30
- keywords: ['editor', 'editor-plugin-selection-marker', 'atlaskit'],
31
- categories: ['editor'],
32
- examples: [
33
- {
34
- name: 'Basic',
35
- description: 'Selection marker plugin in editor.',
36
- source: path.resolve(packagePath, './examples/1-basic.tsx'),
37
- },
38
- ],
39
- },
40
- ],
41
- };
42
-
43
- export default documentation;