@atlaskit/inline-edit 13.3.0 → 13.4.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 +1045 -1037
- package/__perf__/inline-edit.tsx +3 -3
- package/codemods/migrates/add-comments-when-validate-found.ts +1 -1
- package/codemods/migrates/lift-InlineEditStateless-to-default.ts +2 -1
- package/codemods/migrates/lift-InlineEditableTextField-to-its-entry-point.ts +2 -1
- package/codemods/migrates/spread-errorMessage-out-of-fieldProps.ts +2 -2
- package/codemods/migrates/utils.ts +3 -2
- package/dist/cjs/inline-edit.js +1 -1
- package/dist/es2019/inline-edit.js +1 -1
- package/dist/esm/inline-edit.js +1 -1
- package/dist/types/inline-editable-textfield.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/inline-editable-textfield.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/extract-react-types/inline-editable-textfield-props.tsx +1 -1
- package/package.json +14 -14
package/__perf__/inline-edit.tsx
CHANGED
|
@@ -2,11 +2,11 @@ import React, { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { fireEvent } from '@testing-library/dom';
|
|
4
4
|
import {
|
|
5
|
-
InteractionTaskArgs,
|
|
6
|
-
PublicInteractionTask,
|
|
5
|
+
type InteractionTaskArgs,
|
|
6
|
+
type PublicInteractionTask,
|
|
7
7
|
} from 'storybook-addon-performance';
|
|
8
8
|
|
|
9
|
-
import { FieldProps } from '@atlaskit/form';
|
|
9
|
+
import { type FieldProps } from '@atlaskit/form';
|
|
10
10
|
import Textfield from '@atlaskit/textfield';
|
|
11
11
|
|
|
12
12
|
import InlineEdit from '../src';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodePath } from 'ast-types/lib/node-path';
|
|
2
|
-
import
|
|
1
|
+
import { type NodePath } from 'ast-types/lib/node-path';
|
|
2
|
+
import type { ASTPath, default as core, ImportDeclaration } from 'jscodeshift';
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
getDefaultSpecifierName,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type {
|
|
2
2
|
ASTPath,
|
|
3
|
+
default as core,
|
|
3
4
|
ImportDeclaration,
|
|
4
5
|
JSXAttribute,
|
|
5
6
|
Program,
|
|
6
7
|
} from 'jscodeshift';
|
|
7
|
-
import { Collection } from 'jscodeshift/src/Collection';
|
|
8
|
+
import { type Collection } from 'jscodeshift/src/Collection';
|
|
8
9
|
|
|
9
10
|
function addCommentBefore({
|
|
10
11
|
j,
|
package/dist/cjs/inline-edit.js
CHANGED
|
@@ -29,7 +29,7 @@ var fieldStyles = (0, _react2.css)({
|
|
|
29
29
|
var analyticsAttributes = {
|
|
30
30
|
componentName: 'inlineEdit',
|
|
31
31
|
packageName: "@atlaskit/inline-edit",
|
|
32
|
-
packageVersion: "13.
|
|
32
|
+
packageVersion: "13.4.1"
|
|
33
33
|
};
|
|
34
34
|
var noop = function noop() {};
|
|
35
35
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
package/dist/esm/inline-edit.js
CHANGED
|
@@ -20,7 +20,7 @@ var fieldStyles = css({
|
|
|
20
20
|
var analyticsAttributes = {
|
|
21
21
|
componentName: 'inlineEdit',
|
|
22
22
|
packageName: "@atlaskit/inline-edit",
|
|
23
|
-
packageVersion: "13.
|
|
23
|
+
packageVersion: "13.4.1"
|
|
24
24
|
};
|
|
25
25
|
var noop = function noop() {};
|
|
26
26
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import { InlineEditableTextfieldProps } from './types';
|
|
2
|
+
import { type InlineEditableTextfieldProps } from './types';
|
|
3
3
|
declare const InlineEditableTextfield: (props: InlineEditableTextfieldProps) => jsx.JSX.Element;
|
|
4
4
|
export default InlineEditableTextfield;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import { InlineEditableTextfieldProps } from './types';
|
|
2
|
+
import { type InlineEditableTextfieldProps } from './types';
|
|
3
3
|
declare const InlineEditableTextfield: (props: InlineEditableTextfieldProps) => jsx.JSX.Element;
|
|
4
4
|
export default InlineEditableTextfield;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.4.1",
|
|
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/"
|
|
@@ -32,25 +32,26 @@
|
|
|
32
32
|
"website": {
|
|
33
33
|
"name": "Inline edit",
|
|
34
34
|
"category": "Components"
|
|
35
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"runReact18": true
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
39
|
-
"@atlaskit/button": "^17.
|
|
40
|
+
"@atlaskit/button": "^17.17.0",
|
|
40
41
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
41
|
-
"@atlaskit/form": "^10.
|
|
42
|
-
"@atlaskit/icon": "^22.
|
|
43
|
-
"@atlaskit/inline-dialog": "^14.
|
|
44
|
-
"@atlaskit/primitives": "^
|
|
42
|
+
"@atlaskit/form": "^10.3.0",
|
|
43
|
+
"@atlaskit/icon": "^22.3.0",
|
|
44
|
+
"@atlaskit/inline-dialog": "^14.1.0",
|
|
45
|
+
"@atlaskit/primitives": "^7.0.0",
|
|
45
46
|
"@atlaskit/textfield": "^6.3.0",
|
|
46
|
-
"@atlaskit/theme": "^12.
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/theme": "^12.9.0",
|
|
48
|
+
"@atlaskit/tokens": "^1.49.0",
|
|
48
49
|
"@atlaskit/visually-hidden": "^1.3.0",
|
|
49
50
|
"@babel/runtime": "^7.0.0",
|
|
50
51
|
"@emotion/react": "^11.7.1"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
|
-
"react": "^16.8.0"
|
|
54
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@af/accessibility-testing": "*",
|
|
@@ -59,19 +60,19 @@
|
|
|
59
60
|
"@atlaskit/docs": "*",
|
|
60
61
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
61
62
|
"@atlaskit/section-message": "^6.5.0",
|
|
62
|
-
"@atlaskit/select": "^17.
|
|
63
|
+
"@atlaskit/select": "^17.10.0",
|
|
63
64
|
"@atlaskit/ssr": "*",
|
|
64
65
|
"@atlaskit/tag": "^12.2.0",
|
|
65
66
|
"@atlaskit/tag-group": "^10.3.0",
|
|
66
67
|
"@atlaskit/textarea": "^5.4.0",
|
|
67
68
|
"@atlaskit/visual-regression": "*",
|
|
68
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
69
69
|
"@emotion/styled": "^11.0.0",
|
|
70
70
|
"@testing-library/dom": "^8.17.1",
|
|
71
71
|
"@testing-library/react": "^12.1.5",
|
|
72
72
|
"ast-types": "^0.13.3",
|
|
73
73
|
"jscodeshift": "^0.13.0",
|
|
74
74
|
"react-dom": "^16.8.0",
|
|
75
|
+
"react-select-event": "^5.5.0",
|
|
75
76
|
"storybook-addon-performance": "^0.16.0",
|
|
76
77
|
"typescript": "~5.4.2",
|
|
77
78
|
"wait-for-expect": "^1.2.0"
|
|
@@ -105,6 +106,5 @@
|
|
|
105
106
|
"./inline-editable-textfield": "./src/entry-points/inline-editable-textfield.ts",
|
|
106
107
|
"./types": "./src/entry-points/types.ts",
|
|
107
108
|
".": "./src/index.ts"
|
|
108
|
-
}
|
|
109
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
109
|
+
}
|
|
110
110
|
}
|