@atlaskit/editor-plugin-media-insert 24.0.17 → 25.0.0
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 +34 -0
- package/dist/cjs/ui/MediaFromURL.js +1 -2
- package/dist/es2019/ui/MediaFromURL.js +1 -2
- package/dist/esm/ui/MediaFromURL.js +1 -2
- package/package.json +20 -26
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media-insert
|
|
2
2
|
|
|
3
|
+
## 25.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
29
|
+
## 24.0.18
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- [`fd3ef8de291ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fd3ef8de291ba) -
|
|
34
|
+
Cleanup feature gate `platform_editor_nov_a11y_fixes`
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
|
|
3
37
|
## 24.0.17
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -23,7 +23,6 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
23
23
|
var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
24
24
|
var _growDiagonal = _interopRequireDefault(require("@atlaskit/icon/core/grow-diagonal"));
|
|
25
25
|
var _mediaClientReact = require("@atlaskit/media-client-react");
|
|
26
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
27
26
|
var _primitives = require("@atlaskit/primitives");
|
|
28
27
|
var _sectionMessage = _interopRequireDefault(require("@atlaskit/section-message"));
|
|
29
28
|
var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
@@ -337,7 +336,7 @@ function MediaFromURL(_ref) {
|
|
|
337
336
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
338
337
|
, (0, _extends2.default)({}, rest, {
|
|
339
338
|
value: value,
|
|
340
|
-
"aria-label":
|
|
339
|
+
"aria-label": strings.pasteLinkToUpload,
|
|
341
340
|
placeholder: strings.pasteLinkToUpload,
|
|
342
341
|
maxLength: MAX_URL_LENGTH,
|
|
343
342
|
onKeyPress: onInputKeyPress
|
|
@@ -9,7 +9,6 @@ import { mediaInsertMessages } from '@atlaskit/editor-common/messages';
|
|
|
9
9
|
import Form, { ErrorMessage, Field, FormFooter, HelperMessage, MessageWrapper } from '@atlaskit/form';
|
|
10
10
|
import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
11
11
|
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
13
|
import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
15
14
|
import SectionMessage from '@atlaskit/section-message';
|
|
@@ -301,7 +300,7 @@ export function MediaFromURL({
|
|
|
301
300
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
302
301
|
, _extends({}, rest, {
|
|
303
302
|
value: value,
|
|
304
|
-
"aria-label":
|
|
303
|
+
"aria-label": strings.pasteLinkToUpload,
|
|
305
304
|
placeholder: strings.pasteLinkToUpload,
|
|
306
305
|
maxLength: MAX_URL_LENGTH,
|
|
307
306
|
onKeyPress: onInputKeyPress
|
|
@@ -17,7 +17,6 @@ import { mediaInsertMessages } from '@atlaskit/editor-common/messages';
|
|
|
17
17
|
import Form, { ErrorMessage, Field, FormFooter, HelperMessage, MessageWrapper } from '@atlaskit/form';
|
|
18
18
|
import ExpandIcon from '@atlaskit/icon/core/grow-diagonal';
|
|
19
19
|
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
20
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
20
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
22
21
|
import { Box, Flex, Inline, Stack, xcss } from '@atlaskit/primitives';
|
|
23
22
|
import SectionMessage from '@atlaskit/section-message';
|
|
@@ -328,7 +327,7 @@ export function MediaFromURL(_ref) {
|
|
|
328
327
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
329
328
|
, _extends({}, rest, {
|
|
330
329
|
value: value,
|
|
331
|
-
"aria-label":
|
|
330
|
+
"aria-label": strings.pasteLinkToUpload,
|
|
332
331
|
placeholder: strings.pasteLinkToUpload,
|
|
333
332
|
maxLength: MAX_URL_LENGTH,
|
|
334
333
|
onKeyPress: onInputKeyPress
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media-insert",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"description": "Media Insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,29 +21,28 @@
|
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^
|
|
25
|
-
"@atlaskit/button": "^
|
|
26
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
27
|
-
"@atlaskit/editor-plugin-media": "^
|
|
28
|
-
"@atlaskit/editor-prosemirror": "^
|
|
29
|
-
"@atlaskit/editor-shared-styles": "^
|
|
30
|
-
"@atlaskit/form": "^
|
|
31
|
-
"@atlaskit/icon": "^
|
|
32
|
-
"@atlaskit/media-card": "^
|
|
33
|
-
"@atlaskit/media-client": "^
|
|
34
|
-
"@atlaskit/media-client-react": "^
|
|
35
|
-
"@atlaskit/media-picker": "^
|
|
36
|
-
"@atlaskit/
|
|
37
|
-
"@atlaskit/
|
|
38
|
-
"@atlaskit/
|
|
39
|
-
"@atlaskit/
|
|
40
|
-
"@atlaskit/
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^103.0.0",
|
|
24
|
+
"@atlaskit/adf-schema": "^55.0.0",
|
|
25
|
+
"@atlaskit/button": "^24.0.0",
|
|
26
|
+
"@atlaskit/editor-plugin-analytics": "^12.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-media": "^14.0.0",
|
|
28
|
+
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
29
|
+
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
30
|
+
"@atlaskit/form": "^16.0.0",
|
|
31
|
+
"@atlaskit/icon": "^36.0.0",
|
|
32
|
+
"@atlaskit/media-card": "^81.0.0",
|
|
33
|
+
"@atlaskit/media-client": "^37.0.0",
|
|
34
|
+
"@atlaskit/media-client-react": "^6.0.0",
|
|
35
|
+
"@atlaskit/media-picker": "^72.0.0",
|
|
36
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
37
|
+
"@atlaskit/section-message": "^9.0.0",
|
|
38
|
+
"@atlaskit/tabs": "^20.0.0",
|
|
39
|
+
"@atlaskit/textfield": "^9.0.0",
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^104.0.0",
|
|
42
41
|
"@babel/runtime": "^7.0.0"
|
|
43
42
|
},
|
|
44
43
|
"peerDependencies": {
|
|
45
|
-
"@atlaskit/editor-common": "^
|
|
46
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/editor-common": "^116.0.0",
|
|
45
|
+
"@atlaskit/tokens": "^14.0.0",
|
|
47
46
|
"react": "^18.2.0",
|
|
48
47
|
"react-dom": "^18.2.0",
|
|
49
48
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -89,11 +88,6 @@
|
|
|
89
88
|
"checkDevDependencies": true
|
|
90
89
|
}
|
|
91
90
|
},
|
|
92
|
-
"platform-feature-flags": {
|
|
93
|
-
"platform_editor_nov_a11y_fixes": {
|
|
94
|
-
"type": "boolean"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
91
|
"devDependencies": {
|
|
98
92
|
"react": "^18.2.0",
|
|
99
93
|
"react-dom": "^18.2.0",
|