@atlaskit/inline-edit 15.1.4 → 15.1.5
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 +8 -0
- package/dist/cjs/inline-edit.js +2 -5
- package/dist/es2019/inline-edit.js +2 -5
- package/dist/esm/inline-edit.js +2 -5
- package/package.json +8 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/inline-edit
|
|
2
2
|
|
|
3
|
+
## 15.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#145361](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/145361)
|
|
8
|
+
[`db584fb973656`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db584fb973656) -
|
|
9
|
+
Clean up of FG platform-design-system-inline-edit-reset-on-escape
|
|
10
|
+
|
|
3
11
|
## 15.1.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/inline-edit.js
CHANGED
|
@@ -15,7 +15,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
15
15
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
16
16
|
var _Field = _interopRequireDefault(require("@atlaskit/form/Field"));
|
|
17
17
|
var _Form = _interopRequireDefault(require("@atlaskit/form/Form"));
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
19
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
21
20
|
var _buttons = _interopRequireDefault(require("./internal/buttons"));
|
|
@@ -29,7 +28,7 @@ var fieldStyles = null;
|
|
|
29
28
|
var analyticsAttributes = {
|
|
30
29
|
componentName: 'inlineEdit',
|
|
31
30
|
packageName: "@atlaskit/inline-edit",
|
|
32
|
-
packageVersion: "15.1.
|
|
31
|
+
packageVersion: "15.1.5"
|
|
33
32
|
};
|
|
34
33
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
35
34
|
var _props$startWithEditV = props.startWithEditViewOpen,
|
|
@@ -185,9 +184,7 @@ var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
|
185
184
|
onKeyDown: function onKeyDown(e) {
|
|
186
185
|
_onKeyDown(e);
|
|
187
186
|
if (e.key === 'Esc' || e.key === 'Escape') {
|
|
188
|
-
|
|
189
|
-
reset();
|
|
190
|
-
}
|
|
187
|
+
reset();
|
|
191
188
|
onCancel();
|
|
192
189
|
}
|
|
193
190
|
},
|
|
@@ -5,7 +5,6 @@ import React, { useCallback, useRef, useState } from 'react';
|
|
|
5
5
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
6
6
|
import Field from '@atlaskit/form/Field';
|
|
7
7
|
import Form from '@atlaskit/form/Form';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
10
9
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
11
10
|
import Buttons from './internal/buttons';
|
|
@@ -15,7 +14,7 @@ const fieldStyles = null;
|
|
|
15
14
|
const analyticsAttributes = {
|
|
16
15
|
componentName: 'inlineEdit',
|
|
17
16
|
packageName: "@atlaskit/inline-edit",
|
|
18
|
-
packageVersion: "15.1.
|
|
17
|
+
packageVersion: "15.1.5"
|
|
19
18
|
};
|
|
20
19
|
const InnerInlineEdit = props => {
|
|
21
20
|
const {
|
|
@@ -160,9 +159,7 @@ const InnerInlineEdit = props => {
|
|
|
160
159
|
onKeyDown: e => {
|
|
161
160
|
onKeyDown(e);
|
|
162
161
|
if (e.key === 'Esc' || e.key === 'Escape') {
|
|
163
|
-
|
|
164
|
-
reset();
|
|
165
|
-
}
|
|
162
|
+
reset();
|
|
166
163
|
onCancel();
|
|
167
164
|
}
|
|
168
165
|
},
|
package/dist/esm/inline-edit.js
CHANGED
|
@@ -9,7 +9,6 @@ import React, { useCallback, useRef, useState } from 'react';
|
|
|
9
9
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
10
10
|
import Field from '@atlaskit/form/Field';
|
|
11
11
|
import Form from '@atlaskit/form/Form';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
12
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
14
13
|
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
15
14
|
import Buttons from './internal/buttons';
|
|
@@ -19,7 +18,7 @@ var fieldStyles = null;
|
|
|
19
18
|
var analyticsAttributes = {
|
|
20
19
|
componentName: 'inlineEdit',
|
|
21
20
|
packageName: "@atlaskit/inline-edit",
|
|
22
|
-
packageVersion: "15.1.
|
|
21
|
+
packageVersion: "15.1.5"
|
|
23
22
|
};
|
|
24
23
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
25
24
|
var _props$startWithEditV = props.startWithEditViewOpen,
|
|
@@ -175,9 +174,7 @@ var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
|
175
174
|
onKeyDown: function onKeyDown(e) {
|
|
176
175
|
_onKeyDown(e);
|
|
177
176
|
if (e.key === 'Esc' || e.key === 'Escape') {
|
|
178
|
-
|
|
179
|
-
reset();
|
|
180
|
-
}
|
|
177
|
+
reset();
|
|
181
178
|
onCancel();
|
|
182
179
|
}
|
|
183
180
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.5",
|
|
4
4
|
"description": "An inline edit displays a custom input component that switches between reading and editing on the same page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
40
40
|
"@atlaskit/css": "^0.10.0",
|
|
41
41
|
"@atlaskit/form": "^12.0.0",
|
|
42
|
-
"@atlaskit/icon": "^25.
|
|
42
|
+
"@atlaskit/icon": "^25.6.0",
|
|
43
43
|
"@atlaskit/inline-dialog": "^17.0.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^14.
|
|
45
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
46
46
|
"@atlaskit/textfield": "^8.0.0",
|
|
47
47
|
"@atlaskit/theme": "^18.0.0",
|
|
48
|
-
"@atlaskit/tokens": "^4.
|
|
48
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
49
49
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@compiled/react": "^0.18.3"
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@af/accessibility-testing": "^2.0.0",
|
|
58
58
|
"@af/integration-testing": "^0.5.0",
|
|
59
|
-
"@atlaskit/datetime-picker": "^
|
|
59
|
+
"@atlaskit/datetime-picker": "^17.0.0",
|
|
60
60
|
"@atlaskit/docs": "^10.0.0",
|
|
61
61
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
62
|
-
"@atlaskit/heading": "^5.
|
|
62
|
+
"@atlaskit/heading": "^5.2.0",
|
|
63
63
|
"@atlaskit/link": "^3.1.0",
|
|
64
64
|
"@atlaskit/section-message": "^8.2.0",
|
|
65
|
-
"@atlaskit/select": "^20.
|
|
65
|
+
"@atlaskit/select": "^20.4.0",
|
|
66
66
|
"@atlaskit/tag": "^14.0.0",
|
|
67
67
|
"@atlaskit/tag-group": "^12.0.0",
|
|
68
68
|
"@atlaskit/textarea": "^8.0.0",
|
|
@@ -104,9 +104,5 @@
|
|
|
104
104
|
"./types": "./src/entry-points/types.ts",
|
|
105
105
|
".": "./src/index.ts"
|
|
106
106
|
},
|
|
107
|
-
"platform-feature-flags": {
|
|
108
|
-
"platform-design-system-inline-edit-reset-on-escape": {
|
|
109
|
-
"type": "boolean"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
107
|
+
"platform-feature-flags": {}
|
|
112
108
|
}
|