@atlaskit/editor-plugin-media 1.20.9 → 1.20.11

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/plugin.js +2 -1
  3. package/dist/cjs/pm-plugins/alt-text/ui/AltTextEdit.js +2 -0
  4. package/dist/cjs/pm-plugins/keymap.js +2 -4
  5. package/dist/cjs/ui/CaptionPlaceholder/index.js +1 -1
  6. package/dist/cjs/ui/ImageBorder/index.js +10 -3
  7. package/dist/cjs/ui/ImageBorder/styles.js +3 -0
  8. package/dist/cjs/ui/Media/DropPlaceholder.js +6 -0
  9. package/dist/cjs/ui/PixelEntry/index.js +66 -58
  10. package/dist/cjs/ui/PixelEntry/styles.js +13 -1
  11. package/dist/cjs/ui/ResizableMediaSingle/ResizableMediaMigrationNotification.js +3 -1
  12. package/dist/cjs/ui/ResizableMediaSingle/ResizableMediaSingleNext.js +2 -0
  13. package/dist/cjs/ui/ResizableMediaSingle/index.js +3 -1
  14. package/dist/cjs/ui/ResizableMediaSingle/styles.js +3 -0
  15. package/dist/es2019/plugin.js +27 -24
  16. package/dist/es2019/pm-plugins/alt-text/ui/AltTextEdit.js +2 -0
  17. package/dist/es2019/pm-plugins/keymap.js +2 -4
  18. package/dist/es2019/ui/CaptionPlaceholder/index.js +1 -1
  19. package/dist/es2019/ui/ImageBorder/index.js +10 -3
  20. package/dist/es2019/ui/ImageBorder/styles.js +3 -0
  21. package/dist/es2019/ui/Media/DropPlaceholder.js +6 -0
  22. package/dist/es2019/ui/PixelEntry/index.js +64 -56
  23. package/dist/es2019/ui/PixelEntry/styles.js +13 -1
  24. package/dist/es2019/ui/ResizableMediaSingle/ResizableMediaMigrationNotification.js +3 -1
  25. package/dist/es2019/ui/ResizableMediaSingle/ResizableMediaSingleNext.js +2 -0
  26. package/dist/es2019/ui/ResizableMediaSingle/index.js +3 -1
  27. package/dist/es2019/ui/ResizableMediaSingle/styles.js +3 -0
  28. package/dist/esm/plugin.js +2 -1
  29. package/dist/esm/pm-plugins/alt-text/ui/AltTextEdit.js +2 -0
  30. package/dist/esm/pm-plugins/keymap.js +2 -4
  31. package/dist/esm/ui/CaptionPlaceholder/index.js +1 -1
  32. package/dist/esm/ui/ImageBorder/index.js +10 -3
  33. package/dist/esm/ui/ImageBorder/styles.js +3 -0
  34. package/dist/esm/ui/Media/DropPlaceholder.js +6 -0
  35. package/dist/esm/ui/PixelEntry/index.js +66 -58
  36. package/dist/esm/ui/PixelEntry/styles.js +13 -1
  37. package/dist/esm/ui/ResizableMediaSingle/ResizableMediaMigrationNotification.js +3 -1
  38. package/dist/esm/ui/ResizableMediaSingle/ResizableMediaSingleNext.js +2 -0
  39. package/dist/esm/ui/ResizableMediaSingle/index.js +3 -1
  40. package/dist/esm/ui/ResizableMediaSingle/styles.js +3 -0
  41. package/package.json +138 -161
package/package.json CHANGED
@@ -1,162 +1,139 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-media",
3
- "version": "1.20.9",
4
- "description": "Media plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Media Experience Porygon",
12
- "releaseModel": "continuous",
13
- "singleton": true,
14
- "runReact18": false
15
- },
16
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
- "main": "dist/cjs/index.js",
18
- "module": "dist/esm/index.js",
19
- "module:es2019": "dist/es2019/index.js",
20
- "types": "dist/types/index.d.ts",
21
- "typesVersions": {
22
- ">=4.5 <4.9": {
23
- "*": [
24
- "dist/types-ts4.5/*",
25
- "dist/types-ts4.5/index.d.ts"
26
- ]
27
- }
28
- },
29
- "sideEffects": false,
30
- "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts",
33
- "./types": "./src/types.ts"
34
- },
35
- "dependencies": {
36
- "@atlaskit/adf-schema": "^36.10.7",
37
- "@atlaskit/analytics-namespaced-context": "^6.9.0",
38
- "@atlaskit/analytics-next": "^9.3.0",
39
- "@atlaskit/button": "^17.17.0",
40
- "@atlaskit/editor-common": "^82.1.0",
41
- "@atlaskit/editor-palette": "1.6.0",
42
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
43
- "@atlaskit/editor-plugin-annotation": "1.10.0",
44
- "@atlaskit/editor-plugin-decorations": "^1.1.0",
45
- "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
46
- "@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
47
- "@atlaskit/editor-plugin-floating-toolbar": "^1.4.0",
48
- "@atlaskit/editor-plugin-focus": "^1.2.0",
49
- "@atlaskit/editor-plugin-grid": "^1.1.0",
50
- "@atlaskit/editor-plugin-guideline": "^1.1.0",
51
- "@atlaskit/editor-plugin-selection": "^1.2.0",
52
- "@atlaskit/editor-plugin-width": "^1.1.0",
53
- "@atlaskit/editor-prosemirror": "4.0.1",
54
- "@atlaskit/editor-shared-styles": "^2.12.0",
55
- "@atlaskit/editor-tables": "^2.7.0",
56
- "@atlaskit/form": "^10.3.0",
57
- "@atlaskit/icon": "^22.3.0",
58
- "@atlaskit/media-card": "^77.12.0",
59
- "@atlaskit/media-client": "^27.2.0",
60
- "@atlaskit/media-client-react": "^2.0.0",
61
- "@atlaskit/media-common": "^11.2.0",
62
- "@atlaskit/media-filmstrip": "^47.0.0",
63
- "@atlaskit/media-picker": "^66.4.0",
64
- "@atlaskit/media-ui": "^25.10.0",
65
- "@atlaskit/media-viewer": "^48.6.0",
66
- "@atlaskit/platform-feature-flags": "^0.2.0",
67
- "@atlaskit/primitives": "^7.0.0",
68
- "@atlaskit/textfield": "^6.3.0",
69
- "@atlaskit/theme": "^12.9.0",
70
- "@atlaskit/tokens": "^1.49.0",
71
- "@atlaskit/tooltip": "^18.4.0",
72
- "@babel/runtime": "^7.0.0",
73
- "@emotion/react": "^11.7.1",
74
- "bind-event-listener": "^3.0.0",
75
- "classnames": "^2.2.5",
76
- "lodash": "^4.17.21",
77
- "memoize-one": "^6.0.0",
78
- "uuid": "^3.1.0"
79
- },
80
- "devDependencies": {
81
- "react-dom": "^16.8.0",
82
- "typescript": "~5.4.2"
83
- },
84
- "peerDependencies": {
85
- "@atlaskit/media-core": "^34.2.0",
86
- "react": "^16.8.0",
87
- "react-dom": "^16.8.0",
88
- "react-intl-next": "npm:react-intl@^5.18.1"
89
- },
90
- "techstack": {
91
- "@atlassian/frontend": {
92
- "import-structure": [
93
- "atlassian-conventions"
94
- ],
95
- "circular-dependencies": [
96
- "file-and-folder-level"
97
- ]
98
- },
99
- "@repo/internal": {
100
- "dom-events": "use-bind-event-listener",
101
- "analytics": [
102
- "analytics-next"
103
- ],
104
- "design-tokens": [
105
- "color"
106
- ],
107
- "theming": [
108
- "react-context"
109
- ],
110
- "ui-components": [
111
- "lite-mode"
112
- ],
113
- "deprecation": "no-deprecated-imports",
114
- "styling": [
115
- "emotion",
116
- "emotion"
117
- ],
118
- "imports": [
119
- "import-no-extraneous-disable-for-examples-and-docs"
120
- ]
121
- }
122
- },
123
- "platform-feature-flags": {
124
- "platform.editor.media.extended-resize-experience": {
125
- "type": "boolean"
126
- },
127
- "platform.editor.media.inline-image.base-support": {
128
- "type": "boolean",
129
- "referenceOnly": "true"
130
- },
131
- "platform.media-experience.media-viewer-v2_hgsii": {
132
- "type": "boolean",
133
- "referenceOnly": "true"
134
- },
135
- "platform.editor.a11y-media-resizing_b5v0o": {
136
- "type": "boolean"
137
- },
138
- "platform.editor.allow-extended-panel": {
139
- "type": "boolean"
140
- },
141
- "platform.editor.a11y_video_controls_keyboard_support_yhcxh": {
142
- "type": "boolean"
143
- },
144
- "platform.editor.media.fix-copy-paste-excel_62g4s": {
145
- "type": "boolean"
146
- },
147
- "platform.editor.media.preview-in-full-page": {
148
- "type": "boolean"
149
- },
150
- "platform.editor.live-view.comments-in-media-toolbar-button": {
151
- "type": "boolean"
152
- },
153
- "platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
154
- "type": "boolean"
155
- }
156
- },
157
- "stricter": {
158
- "no-unused-dependencies": {
159
- "checkDevDependencies": true
160
- }
161
- }
162
- }
2
+ "name": "@atlaskit/editor-plugin-media",
3
+ "version": "1.20.11",
4
+ "description": "Media plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Media Experience Porygon",
12
+ "releaseModel": "continuous",
13
+ "singleton": true,
14
+ "runReact18": false
15
+ },
16
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
+ "main": "dist/cjs/index.js",
18
+ "module": "dist/esm/index.js",
19
+ "module:es2019": "dist/es2019/index.js",
20
+ "types": "dist/types/index.d.ts",
21
+ "typesVersions": {
22
+ ">=4.5 <4.9": {
23
+ "*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
24
+ }
25
+ },
26
+ "sideEffects": false,
27
+ "atlaskit:src": "src/index.ts",
28
+ "af:exports": {
29
+ ".": "./src/index.ts",
30
+ "./types": "./src/types.ts"
31
+ },
32
+ "dependencies": {
33
+ "@atlaskit/adf-schema": "^36.10.7",
34
+ "@atlaskit/analytics-namespaced-context": "^6.10.0",
35
+ "@atlaskit/analytics-next": "^9.3.0",
36
+ "@atlaskit/button": "^17.17.0",
37
+ "@atlaskit/editor-common": "^82.6.0",
38
+ "@atlaskit/editor-palette": "1.6.0",
39
+ "@atlaskit/editor-plugin-analytics": "^1.2.0",
40
+ "@atlaskit/editor-plugin-annotation": "1.10.2",
41
+ "@atlaskit/editor-plugin-decorations": "^1.1.0",
42
+ "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
43
+ "@atlaskit/editor-plugin-editor-viewmode": "^1.2.0",
44
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.6.0",
45
+ "@atlaskit/editor-plugin-focus": "^1.2.0",
46
+ "@atlaskit/editor-plugin-grid": "^1.1.0",
47
+ "@atlaskit/editor-plugin-guideline": "^1.1.0",
48
+ "@atlaskit/editor-plugin-selection": "^1.2.0",
49
+ "@atlaskit/editor-plugin-width": "^1.1.0",
50
+ "@atlaskit/editor-prosemirror": "4.0.1",
51
+ "@atlaskit/editor-shared-styles": "^2.12.0",
52
+ "@atlaskit/editor-tables": "^2.7.0",
53
+ "@atlaskit/form": "^10.3.0",
54
+ "@atlaskit/icon": "^22.3.0",
55
+ "@atlaskit/media-card": "^77.12.0",
56
+ "@atlaskit/media-client": "^27.2.0",
57
+ "@atlaskit/media-client-react": "^2.0.0",
58
+ "@atlaskit/media-common": "^11.2.0",
59
+ "@atlaskit/media-filmstrip": "^47.0.0",
60
+ "@atlaskit/media-picker": "^66.4.0",
61
+ "@atlaskit/media-ui": "^25.10.0",
62
+ "@atlaskit/media-viewer": "^48.6.0",
63
+ "@atlaskit/platform-feature-flags": "^0.2.0",
64
+ "@atlaskit/primitives": "^7.2.0",
65
+ "@atlaskit/textfield": "^6.3.0",
66
+ "@atlaskit/theme": "^12.9.0",
67
+ "@atlaskit/tokens": "^1.50.0",
68
+ "@atlaskit/tooltip": "^18.4.0",
69
+ "@babel/runtime": "^7.0.0",
70
+ "@emotion/react": "^11.7.1",
71
+ "bind-event-listener": "^3.0.0",
72
+ "classnames": "^2.2.5",
73
+ "lodash": "^4.17.21",
74
+ "memoize-one": "^6.0.0",
75
+ "uuid": "^3.1.0"
76
+ },
77
+ "devDependencies": {
78
+ "react-dom": "^16.8.0",
79
+ "typescript": "~5.4.2"
80
+ },
81
+ "peerDependencies": {
82
+ "@atlaskit/media-core": "^34.2.0",
83
+ "react": "^16.8.0",
84
+ "react-dom": "^16.8.0",
85
+ "react-intl-next": "npm:react-intl@^5.18.1"
86
+ },
87
+ "techstack": {
88
+ "@atlassian/frontend": {
89
+ "import-structure": ["atlassian-conventions"],
90
+ "circular-dependencies": ["file-and-folder-level"]
91
+ },
92
+ "@repo/internal": {
93
+ "dom-events": "use-bind-event-listener",
94
+ "analytics": ["analytics-next"],
95
+ "design-tokens": ["color"],
96
+ "theming": ["react-context"],
97
+ "ui-components": ["lite-mode"],
98
+ "deprecation": "no-deprecated-imports",
99
+ "styling": ["emotion", "emotion"],
100
+ "imports": ["import-no-extraneous-disable-for-examples-and-docs"]
101
+ }
102
+ },
103
+ "platform-feature-flags": {
104
+ "platform.editor.media.extended-resize-experience": {
105
+ "type": "boolean"
106
+ },
107
+ "platform.editor.media.inline-image.base-support": {
108
+ "type": "boolean",
109
+ "referenceOnly": "true"
110
+ },
111
+ "platform.media-experience.media-viewer-v2_hgsii": {
112
+ "type": "boolean",
113
+ "referenceOnly": "true"
114
+ },
115
+ "platform.editor.allow-extended-panel": {
116
+ "type": "boolean"
117
+ },
118
+ "platform.editor.a11y_video_controls_keyboard_support_yhcxh": {
119
+ "type": "boolean"
120
+ },
121
+ "platform.editor.media.fix-copy-paste-excel_62g4s": {
122
+ "type": "boolean"
123
+ },
124
+ "platform.editor.media.preview-in-full-page": {
125
+ "type": "boolean"
126
+ },
127
+ "platform.editor.live-view.comments-in-media-toolbar-button": {
128
+ "type": "boolean"
129
+ },
130
+ "platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
131
+ "type": "boolean"
132
+ }
133
+ },
134
+ "stricter": {
135
+ "no-unused-dependencies": {
136
+ "checkDevDependencies": true
137
+ }
138
+ }
139
+ }