@atlaskit/link-picker 6.11.2 → 6.12.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 +21 -0
- package/dist/cjs/ui/link-picker/text-input/index.js +1 -6
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/ui/link-picker/text-input/index.js +1 -6
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/ui/link-picker/text-input/index.js +1 -6
- package/dist/esm/ui/main.js +1 -1
- package/package.json +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 6.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`cb9f9a0085ea8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cb9f9a0085ea8) -
|
|
8
|
+
Cleanup `feature_gate` `platform_navx_3298_message_wrapper`. Form helper and error messages are
|
|
9
|
+
now always rendered inside a `MessageWrapper` live region, and the Rovo link picker's display-text
|
|
10
|
+
helper is permanently associated with its input via `aria-describedby`.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 6.12.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [`725211e3dd6b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/725211e3dd6b0) -
|
|
18
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 6.11.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -18,7 +18,6 @@ var _field = _interopRequireDefault(require("@atlaskit/form/field"));
|
|
|
18
18
|
var _helperMessage = require("@atlaskit/form/helper-message");
|
|
19
19
|
var _messageWrapper = require("@atlaskit/form/message-wrapper");
|
|
20
20
|
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
21
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
22
21
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
23
22
|
var _textField = _interopRequireDefault(require("@atlaskit/textfield/text-field"));
|
|
24
23
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
@@ -127,11 +126,7 @@ var TextInput = exports.TextInput = function TextInput(_ref) {
|
|
|
127
126
|
elemAfterInput: clearText,
|
|
128
127
|
isInvalid: !!error,
|
|
129
128
|
"aria-describedby": "".concat(restProps['aria-describedby'], " ").concat(fieldProps.id, "-error ").concat(fieldProps.id, "-helper")
|
|
130
|
-
})),
|
|
131
|
-
testId: testIds.linkHelperText
|
|
132
|
-
}, helperMessage), error && /*#__PURE__*/_react.default.createElement(_errorMessage.ErrorMessage, {
|
|
133
|
-
testId: testIds.urlError
|
|
134
|
-
}, error)) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, helperMessage && /*#__PURE__*/_react.default.createElement(_helperMessage.HelperMessage, {
|
|
129
|
+
})), /*#__PURE__*/_react.default.createElement(_messageWrapper.MessageWrapper, null, helperMessage && /*#__PURE__*/_react.default.createElement(_helperMessage.HelperMessage, {
|
|
135
130
|
testId: testIds.linkHelperText
|
|
136
131
|
}, helperMessage), error && /*#__PURE__*/_react.default.createElement(_errorMessage.ErrorMessage, {
|
|
137
132
|
testId: testIds.urlError
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -26,7 +26,7 @@ var testIds = exports.testIds = {
|
|
|
26
26
|
};
|
|
27
27
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
28
28
|
packageName: "@atlaskit/link-picker" || '',
|
|
29
|
-
packageVersion: "6.
|
|
29
|
+
packageVersion: "6.12.0" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -9,7 +9,6 @@ import Field from '@atlaskit/form/field';
|
|
|
9
9
|
import { HelperMessage } from '@atlaskit/form/helper-message';
|
|
10
10
|
import { MessageWrapper } from '@atlaskit/form/message-wrapper';
|
|
11
11
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
12
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
14
13
|
import Textfield from '@atlaskit/textfield/text-field';
|
|
15
14
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
@@ -115,11 +114,7 @@ export const TextInput = ({
|
|
|
115
114
|
elemAfterInput: clearText,
|
|
116
115
|
isInvalid: !!error,
|
|
117
116
|
"aria-describedby": `${restProps['aria-describedby']} ${fieldProps.id}-error ${fieldProps.id}-helper`
|
|
118
|
-
})),
|
|
119
|
-
testId: testIds.linkHelperText
|
|
120
|
-
}, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
121
|
-
testId: testIds.urlError
|
|
122
|
-
}, error)) : /*#__PURE__*/React.createElement(React.Fragment, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
|
|
117
|
+
})), /*#__PURE__*/React.createElement(MessageWrapper, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
|
|
123
118
|
testId: testIds.linkHelperText
|
|
124
119
|
}, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
125
120
|
testId: testIds.urlError
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -11,7 +11,6 @@ import Field from '@atlaskit/form/field';
|
|
|
11
11
|
import { HelperMessage } from '@atlaskit/form/helper-message';
|
|
12
12
|
import { MessageWrapper } from '@atlaskit/form/message-wrapper';
|
|
13
13
|
import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
14
|
import { Box, Pressable } from '@atlaskit/primitives/compiled';
|
|
16
15
|
import Textfield from '@atlaskit/textfield/text-field';
|
|
17
16
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
@@ -118,11 +117,7 @@ export var TextInput = function TextInput(_ref) {
|
|
|
118
117
|
elemAfterInput: clearText,
|
|
119
118
|
isInvalid: !!error,
|
|
120
119
|
"aria-describedby": "".concat(restProps['aria-describedby'], " ").concat(fieldProps.id, "-error ").concat(fieldProps.id, "-helper")
|
|
121
|
-
})),
|
|
122
|
-
testId: testIds.linkHelperText
|
|
123
|
-
}, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
124
|
-
testId: testIds.urlError
|
|
125
|
-
}, error)) : /*#__PURE__*/React.createElement(React.Fragment, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
|
|
120
|
+
})), /*#__PURE__*/React.createElement(MessageWrapper, null, helperMessage && /*#__PURE__*/React.createElement(HelperMessage, {
|
|
126
121
|
testId: testIds.linkHelperText
|
|
127
122
|
}, helperMessage), error && /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
128
123
|
testId: testIds.urlError
|
package/dist/esm/ui/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.12.1",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -37,9 +37,6 @@
|
|
|
37
37
|
"platform_navx_fix_nested_footer_landmark": {
|
|
38
38
|
"type": "boolean"
|
|
39
39
|
},
|
|
40
|
-
"platform_navx_3298_message_wrapper": {
|
|
41
|
-
"type": "boolean"
|
|
42
|
-
},
|
|
43
40
|
"add-disable-manual-url-capability-technical": {
|
|
44
41
|
"type": "boolean"
|
|
45
42
|
},
|
|
@@ -48,15 +45,15 @@
|
|
|
48
45
|
}
|
|
49
46
|
},
|
|
50
47
|
"scripts": {
|
|
51
|
-
"codegen-analytics": "
|
|
48
|
+
"codegen-analytics": "ts-analytics-codegen --command='afm workspace @atlaskit/link-picker codegen-analytics'"
|
|
52
49
|
},
|
|
53
50
|
"dependencies": {
|
|
54
|
-
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.
|
|
55
|
-
"@atlaskit/analytics-next": "^12.
|
|
51
|
+
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.271.0",
|
|
52
|
+
"@atlaskit/analytics-next": "^12.6.0",
|
|
56
53
|
"@atlaskit/atlassian-context": "^2.0.0",
|
|
57
54
|
"@atlaskit/button": "^25.4.0",
|
|
58
55
|
"@atlaskit/css": "^1.1.0",
|
|
59
|
-
"@atlaskit/form": "^18.
|
|
56
|
+
"@atlaskit/form": "^18.2.0",
|
|
60
57
|
"@atlaskit/frontend-utilities": "^5.0.0",
|
|
61
58
|
"@atlaskit/heading": "^8.0.0",
|
|
62
59
|
"@atlaskit/icon": "^38.0.0",
|
|
@@ -67,12 +64,12 @@
|
|
|
67
64
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
68
65
|
"@atlaskit/primitives": "^22.5.0",
|
|
69
66
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
70
|
-
"@atlaskit/smart-card": "^46.
|
|
67
|
+
"@atlaskit/smart-card": "^46.6.0",
|
|
71
68
|
"@atlaskit/spinner": "^20.4.0",
|
|
72
69
|
"@atlaskit/spotlight": "^4.2.0",
|
|
73
70
|
"@atlaskit/tabs": "^21.3.0",
|
|
74
71
|
"@atlaskit/textfield": "^10.2.0",
|
|
75
|
-
"@atlaskit/tokens": "^20.
|
|
72
|
+
"@atlaskit/tokens": "^20.4.0",
|
|
76
73
|
"@atlaskit/tooltip": "^24.4.0",
|
|
77
74
|
"@atlaskit/ufo": "^2.0.0",
|
|
78
75
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
@@ -102,7 +99,7 @@
|
|
|
102
99
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
103
100
|
"@atlassian/a11y-playwright-testing": "^0.13.0",
|
|
104
101
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
105
|
-
"@atlassian/link-picker-atlassian-plugin": "^39.
|
|
102
|
+
"@atlassian/link-picker-atlassian-plugin": "^39.11.0",
|
|
106
103
|
"@atlassian/link-picker-plugins": "^33.0.0",
|
|
107
104
|
"@atlassian/recent-work-client": "^2.23.0",
|
|
108
105
|
"@atlassian/structured-docs-types": "workspace:^",
|