@atlaskit/inline-edit 12.2.2 → 12.2.3
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 +6 -0
- package/dist/cjs/inline-edit.js +1 -1
- package/dist/cjs/internal/read-view.js +4 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/inline-edit.js +1 -1
- package/dist/es2019/internal/read-view.js +4 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/inline-edit.js +1 -1
- package/dist/esm/internal/read-view.js +4 -2
- package/dist/esm/version.json +1 -1
- package/package.json +11 -8
- package/report.api.md +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/inline-edit
|
|
2
2
|
|
|
3
|
+
## 12.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
8
|
+
|
|
3
9
|
## 12.2.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/inline-edit.js
CHANGED
|
@@ -25,8 +25,10 @@ var readViewContainerStyles = (0, _react2.css)({
|
|
|
25
25
|
});
|
|
26
26
|
var editButtonStyles = (0, _react2.css)({
|
|
27
27
|
display: 'block',
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'0'`
|
|
29
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
30
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'0'`
|
|
31
|
+
padding: "var(--ds-scale-0, 0px)",
|
|
30
32
|
appearance: 'none',
|
|
31
33
|
background: 'transparent',
|
|
32
34
|
border: 0,
|
package/dist/cjs/version.json
CHANGED
|
@@ -8,8 +8,10 @@ const readViewContainerStyles = css({
|
|
|
8
8
|
});
|
|
9
9
|
const editButtonStyles = css({
|
|
10
10
|
display: 'block',
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'0'`
|
|
12
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
13
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'0'`
|
|
14
|
+
padding: "var(--ds-scale-0, 0px)",
|
|
13
15
|
appearance: 'none',
|
|
14
16
|
background: 'transparent',
|
|
15
17
|
border: 0,
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/inline-edit.js
CHANGED
|
@@ -8,8 +8,10 @@ var readViewContainerStyles = css({
|
|
|
8
8
|
});
|
|
9
9
|
var editButtonStyles = css({
|
|
10
10
|
display: 'block',
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'0'`
|
|
12
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
13
|
+
// TODO Delete this comment after verifying spacing token -> previous value `'0'`
|
|
14
|
+
padding: "var(--ds-scale-0, 0px)",
|
|
13
15
|
appearance: 'none',
|
|
14
16
|
background: 'transparent',
|
|
15
17
|
border: 0,
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.3",
|
|
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/"
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.0 <4.5": {
|
|
17
17
|
"*": [
|
|
18
|
-
"dist/types-ts4.0/*"
|
|
18
|
+
"dist/types-ts4.0/*",
|
|
19
|
+
"dist/types-ts4.0/index.d.ts"
|
|
19
20
|
]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
"atlaskit:src": "src/index.ts",
|
|
24
25
|
"homepage": "https://atlassian.design/components/inline-edit/",
|
|
25
26
|
"atlassian": {
|
|
27
|
+
"disableProductCI": true,
|
|
26
28
|
"team": "Design System Team",
|
|
27
29
|
"releaseModel": "scheduled",
|
|
28
30
|
"website": {
|
|
@@ -34,10 +36,10 @@
|
|
|
34
36
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
35
37
|
"@atlaskit/button": "^16.3.0",
|
|
36
38
|
"@atlaskit/codemod-utils": "^4.1.0",
|
|
37
|
-
"@atlaskit/form": "^8.
|
|
38
|
-
"@atlaskit/icon": "^21.
|
|
39
|
+
"@atlaskit/form": "^8.6.0",
|
|
40
|
+
"@atlaskit/icon": "^21.11.0",
|
|
39
41
|
"@atlaskit/inline-dialog": "^13.4.0",
|
|
40
|
-
"@atlaskit/textfield": "^5.
|
|
42
|
+
"@atlaskit/textfield": "^5.3.0",
|
|
41
43
|
"@atlaskit/theme": "^12.2.0",
|
|
42
44
|
"@atlaskit/tokens": "^0.10.0",
|
|
43
45
|
"@babel/runtime": "^7.0.0",
|
|
@@ -47,14 +49,14 @@
|
|
|
47
49
|
"react": "^16.8.0"
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|
|
50
|
-
"@atlaskit/datetime-picker": "^12.
|
|
52
|
+
"@atlaskit/datetime-picker": "^12.3.0",
|
|
51
53
|
"@atlaskit/docs": "*",
|
|
52
|
-
"@atlaskit/section-message": "^6.
|
|
54
|
+
"@atlaskit/section-message": "^6.3.0",
|
|
53
55
|
"@atlaskit/select": "^15.7.0",
|
|
54
56
|
"@atlaskit/ssr": "*",
|
|
55
57
|
"@atlaskit/tag": "^11.4.0",
|
|
56
58
|
"@atlaskit/tag-group": "^10.1.0",
|
|
57
|
-
"@atlaskit/textarea": "^4.
|
|
59
|
+
"@atlaskit/textarea": "^4.5.0",
|
|
58
60
|
"@atlaskit/visual-regression": "*",
|
|
59
61
|
"@atlaskit/webdriver-runner": "*",
|
|
60
62
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -81,6 +83,7 @@
|
|
|
81
83
|
"dom-events": "use-bind-event-listener",
|
|
82
84
|
"ui-components": "lite-mode",
|
|
83
85
|
"analytics": "analytics-next",
|
|
86
|
+
"design-tokens": "spacing",
|
|
84
87
|
"theming": "tokens",
|
|
85
88
|
"deprecation": "no-deprecated-imports",
|
|
86
89
|
"styling": [
|
package/report.api.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/inline-edit"
|
|
1
|
+
## API Report File for "@atlaskit/inline-edit".
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
/// <reference types="react" />
|
|
5
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
6
|
|
|
7
|
+
```ts
|
|
8
8
|
import { FieldProps } from '@atlaskit/form';
|
|
9
|
+
import { jsx } from '@emotion/react';
|
|
9
10
|
import { default as React_2 } from 'react';
|
|
10
11
|
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
11
12
|
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
@@ -55,12 +56,12 @@ declare interface ExtendedFieldProps<FieldValue>
|
|
|
55
56
|
|
|
56
57
|
declare const InlineEdit: <FieldValue extends unknown = string>(
|
|
57
58
|
props: InlineEditProps<FieldValue>,
|
|
58
|
-
) => JSX.Element;
|
|
59
|
+
) => jsx.JSX.Element;
|
|
59
60
|
export default InlineEdit;
|
|
60
61
|
|
|
61
62
|
export declare const InlineEditableTextfield: (
|
|
62
63
|
props: InlineEditableTextfieldProps,
|
|
63
|
-
) => JSX.Element;
|
|
64
|
+
) => jsx.JSX.Element;
|
|
64
65
|
|
|
65
66
|
export declare interface InlineEditableTextfieldProps extends CommonProps {
|
|
66
67
|
/** Sets height of the text field to compact. The top and bottom padding is decreased. */
|