@atlaskit/inline-edit 15.6.7 → 15.6.9
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 +12 -0
- package/dist/cjs/inline-edit.js +1 -1
- package/dist/cjs/inline-editable-textfield.js +1 -1
- package/dist/cjs/internal/buttons.js +1 -1
- package/dist/cjs/internal/read-view.js +1 -1
- package/dist/es2019/inline-edit.js +1 -1
- package/dist/es2019/inline-editable-textfield.js +1 -1
- package/dist/es2019/internal/buttons.js +1 -1
- package/dist/es2019/internal/read-view.js +1 -1
- package/dist/esm/inline-edit.js +1 -1
- package/dist/esm/inline-editable-textfield.js +1 -1
- package/dist/esm/internal/buttons.js +1 -1
- package/dist/esm/internal/read-view.js +1 -1
- package/inline-edit.docs.tsx +47 -0
- package/package.json +10 -9
package/CHANGELOG.md
CHANGED
package/dist/cjs/inline-edit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inline-edit.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline-edit.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import "./inline-edit.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useRef, useState } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inline-editable-textfield.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline-editable-textfield.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./inline-editable-textfield.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
package/dist/esm/inline-edit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inline-edit.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline-edit.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./inline-edit.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inline-editable-textfield.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline-editable-textfield.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["errorMessage", "isInvalid"];
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
|
|
3
|
+
import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
|
|
4
|
+
|
|
5
|
+
const documentation: ComponentStructuredContentSource[] = [
|
|
6
|
+
{
|
|
7
|
+
name: 'InlineEdit',
|
|
8
|
+
description: 'A component for inline editing of text content.',
|
|
9
|
+
status: 'general-availability',
|
|
10
|
+
import: {
|
|
11
|
+
name: 'InlineEdit',
|
|
12
|
+
package: '@atlaskit/inline-edit',
|
|
13
|
+
type: 'default',
|
|
14
|
+
packagePath: path.resolve(__dirname),
|
|
15
|
+
packageJson: require('./package.json'),
|
|
16
|
+
},
|
|
17
|
+
usageGuidelines: [
|
|
18
|
+
'Use for inline text editing',
|
|
19
|
+
'Provide clear edit state indicators',
|
|
20
|
+
'Handle save and cancel actions',
|
|
21
|
+
'Consider validation requirements',
|
|
22
|
+
],
|
|
23
|
+
contentGuidelines: [
|
|
24
|
+
'Use clear, descriptive text content',
|
|
25
|
+
'Provide helpful placeholder text',
|
|
26
|
+
'Use appropriate validation messages',
|
|
27
|
+
'Keep content concise but meaningful',
|
|
28
|
+
],
|
|
29
|
+
accessibilityGuidelines: [
|
|
30
|
+
'Ensure proper focus management',
|
|
31
|
+
'Provide clear edit state indicators',
|
|
32
|
+
'Use appropriate ARIA attributes',
|
|
33
|
+
'Consider keyboard navigation',
|
|
34
|
+
],
|
|
35
|
+
examples: [
|
|
36
|
+
{
|
|
37
|
+
name: 'Inline Edit',
|
|
38
|
+
description: 'Inline Edit example',
|
|
39
|
+
source: path.resolve(__dirname, './examples/ai/inline-edit.tsx'),
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
keywords: ['inline', 'edit', 'editable', 'text', 'input'],
|
|
43
|
+
categories: ['form'],
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
export default documentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "15.6.
|
|
3
|
+
"version": "15.6.9",
|
|
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/"
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
|
-
"@atlaskit/button": "^23.
|
|
37
|
+
"@atlaskit/button": "^23.10.0",
|
|
38
38
|
"@atlaskit/css": "^0.19.0",
|
|
39
|
-
"@atlaskit/form": "^15.
|
|
40
|
-
"@atlaskit/icon": "^
|
|
39
|
+
"@atlaskit/form": "^15.4.0",
|
|
40
|
+
"@atlaskit/icon": "^33.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",
|
|
44
44
|
"@atlaskit/textfield": "^8.2.0",
|
|
45
|
-
"@atlaskit/theme": "^
|
|
46
|
-
"@atlaskit/tokens": "^11.
|
|
45
|
+
"@atlaskit/theme": "^22.0.0",
|
|
46
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
47
47
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
|
-
"@compiled/react": "^0.
|
|
49
|
+
"@compiled/react": "^0.20.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": "^18.2.0"
|
|
@@ -55,15 +55,16 @@
|
|
|
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.7.0",
|
|
59
59
|
"@atlaskit/heading": "^5.3.0",
|
|
60
60
|
"@atlaskit/link": "^3.3.0",
|
|
61
61
|
"@atlaskit/section-message": "^8.12.0",
|
|
62
|
-
"@atlaskit/select": "^21.
|
|
62
|
+
"@atlaskit/select": "^21.8.0",
|
|
63
63
|
"@atlaskit/tag": "^14.5.0",
|
|
64
64
|
"@atlaskit/tag-group": "^12.0.0",
|
|
65
65
|
"@atlaskit/textarea": "^8.2.0",
|
|
66
66
|
"@atlassian/ssr-tests": "workspace:^",
|
|
67
|
+
"@atlassian/structured-docs-types": "workspace:^",
|
|
67
68
|
"@testing-library/react": "^16.3.0",
|
|
68
69
|
"react-dom": "^18.2.0",
|
|
69
70
|
"react-select-event": "^5.5.0"
|