@atlaskit/link-picker 6.7.1 → 6.8.0
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 +19 -0
- package/dist/cjs/ui/link-picker/form-footer/index.js +3 -1
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/ui/link-picker/form-footer/index.js +3 -1
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/ui/link-picker/form-footer/index.js +3 -1
- package/dist/esm/ui/main.js +1 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 6.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`942e8a15cbdf1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/942e8a15cbdf1) -
|
|
8
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 6.7.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`6dac09d559c6d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6dac09d559c6d) -
|
|
19
|
+
Remove incorrect footer semantics from LinkPicker form actions behind gate
|
|
20
|
+
`platform_navx_fix_nested_footer_landmark`.
|
|
21
|
+
|
|
3
22
|
## 6.7.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -17,6 +17,7 @@ var _reactIntl = require("react-intl");
|
|
|
17
17
|
var _buttonGroup = _interopRequireDefault(require("@atlaskit/button/button-group"));
|
|
18
18
|
var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
|
|
19
19
|
var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
|
|
20
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
21
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
|
|
21
22
|
var _errors = require("../../../common/utils/errors");
|
|
22
23
|
var _linkPickerSubmitButton = require("./link-picker-submit-button");
|
|
@@ -79,7 +80,8 @@ var FormFooter = exports.FormFooter = /*#__PURE__*/(0, _react.memo)(function (_r
|
|
|
79
80
|
"aria-labelledby": isSubmitting ? submitMessageId : undefined
|
|
80
81
|
}, typeof pluginAction.label === 'string' ? pluginAction.label : intl.formatMessage(pluginAction.label));
|
|
81
82
|
};
|
|
82
|
-
|
|
83
|
+
var FormFooterElement = (0, _fg.fg)('platform_navx_fix_nested_footer_landmark') ? 'div' : 'footer';
|
|
84
|
+
return /*#__PURE__*/React.createElement(FormFooterElement, (0, _extends2.default)({
|
|
83
85
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
84
86
|
className: (0, _runtime.ax)(["_1e0c1txw _1bahesu3 _ca0qpxbi", className])
|
|
85
87
|
}, restProps), isSubmitting && /*#__PURE__*/React.createElement(_visuallyHidden.default, {
|
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.7.
|
|
29
|
+
packageVersion: "6.7.2" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -8,6 +8,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
|
|
8
8
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
9
9
|
import Button from '@atlaskit/button/default/button';
|
|
10
10
|
import EditorAddIcon from '@atlaskit/icon/core/add';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
12
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
12
13
|
import { UnauthenticatedError } from '../../../common/utils/errors';
|
|
13
14
|
import { LinkPickerSubmitButton } from './link-picker-submit-button';
|
|
@@ -64,7 +65,8 @@ export const FormFooter = /*#__PURE__*/memo(({
|
|
|
64
65
|
isDisabled: isSubmitting,
|
|
65
66
|
"aria-labelledby": isSubmitting ? submitMessageId : undefined
|
|
66
67
|
}, typeof pluginAction.label === 'string' ? pluginAction.label : intl.formatMessage(pluginAction.label));
|
|
67
|
-
|
|
68
|
+
const FormFooterElement = fg('platform_navx_fix_nested_footer_landmark') ? 'div' : 'footer';
|
|
69
|
+
return /*#__PURE__*/React.createElement(FormFooterElement, _extends({
|
|
68
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
69
71
|
className: ax(["_1e0c1txw _1bahesu3 _ca0qpxbi", className])
|
|
70
72
|
}, restProps), isSubmitting && /*#__PURE__*/React.createElement(VisuallyHidden, {
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -10,6 +10,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
|
|
10
10
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
11
11
|
import Button from '@atlaskit/button/default/button';
|
|
12
12
|
import EditorAddIcon from '@atlaskit/icon/core/add';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
14
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
14
15
|
import { UnauthenticatedError } from '../../../common/utils/errors';
|
|
15
16
|
import { LinkPickerSubmitButton } from './link-picker-submit-button';
|
|
@@ -70,7 +71,8 @@ var FormFooter = /*#__PURE__*/memo(function (_ref) {
|
|
|
70
71
|
"aria-labelledby": isSubmitting ? submitMessageId : undefined
|
|
71
72
|
}, typeof pluginAction.label === 'string' ? pluginAction.label : intl.formatMessage(pluginAction.label));
|
|
72
73
|
};
|
|
73
|
-
|
|
74
|
+
var FormFooterElement = fg('platform_navx_fix_nested_footer_landmark') ? 'div' : 'footer';
|
|
75
|
+
return /*#__PURE__*/React.createElement(FormFooterElement, _extends({
|
|
74
76
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
75
77
|
className: ax(["_1e0c1txw _1bahesu3 _ca0qpxbi", className])
|
|
76
78
|
}, restProps), isSubmitting && /*#__PURE__*/React.createElement(VisuallyHidden, {
|
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.8.0",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,6 +31,9 @@
|
|
|
31
31
|
],
|
|
32
32
|
"atlaskit:src": "src/index.ts",
|
|
33
33
|
"platform-feature-flags": {
|
|
34
|
+
"platform_navx_fix_nested_footer_landmark": {
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
34
37
|
"platform_navx_3298_message_wrapper": {
|
|
35
38
|
"type": "boolean"
|
|
36
39
|
},
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
"codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-picker run codegen-analytics'"
|
|
49
52
|
},
|
|
50
53
|
"dependencies": {
|
|
51
|
-
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.
|
|
54
|
+
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.242.0",
|
|
52
55
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
53
56
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
54
57
|
"@atlaskit/button": "^25.3.0",
|
|
@@ -64,7 +67,7 @@
|
|
|
64
67
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
65
68
|
"@atlaskit/primitives": "^22.5.0",
|
|
66
69
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
67
|
-
"@atlaskit/smart-card": "^45.
|
|
70
|
+
"@atlaskit/smart-card": "^45.21.0",
|
|
68
71
|
"@atlaskit/spinner": "^20.4.0",
|
|
69
72
|
"@atlaskit/spotlight": "^4.2.0",
|
|
70
73
|
"@atlaskit/tabs": "^21.2.0",
|
|
@@ -99,7 +102,7 @@
|
|
|
99
102
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
100
103
|
"@atlassian/a11y-playwright-testing": "^0.12.0",
|
|
101
104
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
102
|
-
"@atlassian/link-picker-atlassian-plugin": "^39.
|
|
105
|
+
"@atlassian/link-picker-atlassian-plugin": "^39.7.0",
|
|
103
106
|
"@atlassian/link-picker-plugins": "^32.3.0",
|
|
104
107
|
"@atlassian/recent-work-client": "^2.22.0",
|
|
105
108
|
"@atlassian/structured-docs-types": "workspace:^",
|