@atlaskit/inline-edit 15.6.5 → 15.6.7
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 +13 -0
- package/dist/cjs/inline-editable-textfield.js +3 -1
- package/dist/es2019/inline-editable-textfield.js +3 -1
- package/dist/esm/inline-editable-textfield.js +3 -1
- package/dist/types/internal/hooks/use-button-focus-hook.d.ts +2 -2
- package/dist/types-ts4.5/internal/hooks/use-button-focus-hook.d.ts +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/inline-edit
|
|
2
2
|
|
|
3
|
+
## 15.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 15.6.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`b8934c531e413`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b8934c531e413) -
|
|
14
|
+
Internal refactoring
|
|
15
|
+
|
|
3
16
|
## 15.6.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -55,7 +55,9 @@ var InlineEditableTextfield = function InlineEditableTextfield(props) {
|
|
|
55
55
|
}
|
|
56
56
|
providedOnCancel === null || providedOnCancel === void 0 || providedOnCancel();
|
|
57
57
|
}, [defaultValue, providedOnCancel]);
|
|
58
|
-
return /*#__PURE__*/_react.default.createElement(_inlineEdit.default
|
|
58
|
+
return /*#__PURE__*/_react.default.createElement(_inlineEdit.default
|
|
59
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
60
|
+
, (0, _extends2.default)({}, props, {
|
|
59
61
|
onCancel: onCancel,
|
|
60
62
|
defaultValue: defaultValue,
|
|
61
63
|
editView: function editView(_ref) {
|
|
@@ -45,7 +45,9 @@ const InlineEditableTextfield = props => {
|
|
|
45
45
|
}
|
|
46
46
|
providedOnCancel === null || providedOnCancel === void 0 ? void 0 : providedOnCancel();
|
|
47
47
|
}, [defaultValue, providedOnCancel]);
|
|
48
|
-
return /*#__PURE__*/React.createElement(InlineEdit
|
|
48
|
+
return /*#__PURE__*/React.createElement(InlineEdit
|
|
49
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
50
|
+
, _extends({}, props, {
|
|
49
51
|
onCancel: onCancel,
|
|
50
52
|
defaultValue: defaultValue,
|
|
51
53
|
editView: ({
|
|
@@ -46,7 +46,9 @@ var InlineEditableTextfield = function InlineEditableTextfield(props) {
|
|
|
46
46
|
}
|
|
47
47
|
providedOnCancel === null || providedOnCancel === void 0 || providedOnCancel();
|
|
48
48
|
}, [defaultValue, providedOnCancel]);
|
|
49
|
-
return /*#__PURE__*/React.createElement(InlineEdit
|
|
49
|
+
return /*#__PURE__*/React.createElement(InlineEdit
|
|
50
|
+
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
51
|
+
, _extends({}, props, {
|
|
50
52
|
onCancel: onCancel,
|
|
51
53
|
defaultValue: defaultValue,
|
|
52
54
|
editView: function editView(_ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const useButtonFocusHook: (isEditing: boolean | undefined, isEditingState: boolean) => {
|
|
2
|
-
editButtonRef: import(
|
|
3
|
-
editViewRef: import(
|
|
2
|
+
editButtonRef: import('react').RefObject<HTMLButtonElement>;
|
|
3
|
+
editViewRef: import('react').MutableRefObject<HTMLElement | undefined>;
|
|
4
4
|
shouldBeEditing: boolean;
|
|
5
5
|
doNotFocusOnEditButton: () => boolean;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const useButtonFocusHook: (isEditing: boolean | undefined, isEditingState: boolean) => {
|
|
2
|
-
editButtonRef: import(
|
|
3
|
-
editViewRef: import(
|
|
2
|
+
editButtonRef: import('react').RefObject<HTMLButtonElement>;
|
|
3
|
+
editViewRef: import('react').MutableRefObject<HTMLElement | undefined>;
|
|
4
4
|
shouldBeEditing: boolean;
|
|
5
5
|
doNotFocusOnEditButton: () => boolean;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "15.6.
|
|
3
|
+
"version": "15.6.7",
|
|
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/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"sideEffects": [
|
|
24
24
|
"**/*.compiled.css"
|
|
25
25
|
],
|
|
26
|
-
"atlaskit:src": "src/index.
|
|
26
|
+
"atlaskit:src": "src/index.tsx",
|
|
27
27
|
"homepage": "https://atlassian.design/components/inline-edit/",
|
|
28
28
|
"atlassian": {
|
|
29
29
|
"team": "Design System Team",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/button": "^23.9.0",
|
|
38
38
|
"@atlaskit/css": "^0.19.0",
|
|
39
39
|
"@atlaskit/form": "^15.3.0",
|
|
40
|
-
"@atlaskit/icon": "^
|
|
40
|
+
"@atlaskit/icon": "^32.0.0",
|
|
41
41
|
"@atlaskit/inline-dialog": "^18.0.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/primitives": "^18.0.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@af/accessibility-testing": "workspace:^",
|
|
56
56
|
"@af/integration-testing": "workspace:^",
|
|
57
57
|
"@atlaskit/datetime-picker": "^17.5.0",
|
|
58
|
-
"@atlaskit/docs": "^11.
|
|
58
|
+
"@atlaskit/docs": "^11.4.0",
|
|
59
59
|
"@atlaskit/heading": "^5.3.0",
|
|
60
60
|
"@atlaskit/link": "^3.3.0",
|
|
61
61
|
"@atlaskit/section-message": "^8.12.0",
|