@atlaskit/link-datasource 4.24.1 → 4.24.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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.24.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ebdf115a0cdfa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebdf115a0cdfa) -
|
|
8
|
+
[ux] NAVX-1845 Focus set onto the first interactive element of the modal dialog
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.24.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.24.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -17,6 +17,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
17
17
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
18
18
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
19
19
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
20
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
21
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
22
|
var _select = require("@atlaskit/select");
|
|
22
23
|
var _messages = require("./messages");
|
|
@@ -83,7 +84,8 @@ var SiteSelector = exports.SiteSelector = function SiteSelector(props) {
|
|
|
83
84
|
size: "small"
|
|
84
85
|
});
|
|
85
86
|
},
|
|
86
|
-
testId: "".concat(testId, "__control")
|
|
87
|
+
testId: "".concat(testId, "__control"),
|
|
88
|
+
autoFocus: (0, _platformFeatureFlags.fg)('navx-1845-sllv-autofocus-first-interactive-element')
|
|
87
89
|
}), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(_messages.siteSelectorMessages.chooseSite));
|
|
88
90
|
}
|
|
89
91
|
})));
|
|
@@ -8,6 +8,7 @@ import { useIntl } from 'react-intl-next';
|
|
|
8
8
|
import Button from '@atlaskit/button/new';
|
|
9
9
|
import Heading from '@atlaskit/heading';
|
|
10
10
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
12
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
12
13
|
import { PopupSelect } from '@atlaskit/select';
|
|
13
14
|
import { siteSelectorMessages } from './messages';
|
|
@@ -67,7 +68,8 @@ export const SiteSelector = props => {
|
|
|
67
68
|
color: "currentColor",
|
|
68
69
|
size: "small"
|
|
69
70
|
}),
|
|
70
|
-
testId: `${testId}__control
|
|
71
|
+
testId: `${testId}__control`,
|
|
72
|
+
autoFocus: fg('navx-1845-sllv-autofocus-first-interactive-element')
|
|
71
73
|
}), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(siteSelectorMessages.chooseSite))
|
|
72
74
|
})));
|
|
73
75
|
};
|
|
@@ -10,6 +10,7 @@ import { useIntl } from 'react-intl-next';
|
|
|
10
10
|
import Button from '@atlaskit/button/new';
|
|
11
11
|
import Heading from '@atlaskit/heading';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
15
|
import { PopupSelect } from '@atlaskit/select';
|
|
15
16
|
import { siteSelectorMessages } from './messages';
|
|
@@ -74,7 +75,8 @@ export var SiteSelector = function SiteSelector(props) {
|
|
|
74
75
|
size: "small"
|
|
75
76
|
});
|
|
76
77
|
},
|
|
77
|
-
testId: "".concat(testId, "__control")
|
|
78
|
+
testId: "".concat(testId, "__control"),
|
|
79
|
+
autoFocus: fg('navx-1845-sllv-autofocus-first-interactive-element')
|
|
78
80
|
}), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(siteSelectorMessages.chooseSite));
|
|
79
81
|
}
|
|
80
82
|
})));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.3",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
42
42
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
43
|
-
"@atlaskit/avatar": "^25.
|
|
43
|
+
"@atlaskit/avatar": "^25.2.0",
|
|
44
44
|
"@atlaskit/avatar-group": "^12.2.0",
|
|
45
45
|
"@atlaskit/badge": "^18.1.0",
|
|
46
46
|
"@atlaskit/button": "^23.4.0",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@atlaskit/empty-state": "^10.1.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
53
53
|
"@atlaskit/flag": "^17.4.0",
|
|
54
|
-
"@atlaskit/form": "^
|
|
54
|
+
"@atlaskit/form": "^14.1.0",
|
|
55
55
|
"@atlaskit/heading": "^5.2.0",
|
|
56
|
-
"@atlaskit/icon": "^28.
|
|
56
|
+
"@atlaskit/icon": "^28.3.0",
|
|
57
57
|
"@atlaskit/icon-object": "^7.2.0",
|
|
58
58
|
"@atlaskit/image": "^3.0.0",
|
|
59
59
|
"@atlaskit/inline-edit": "^15.3.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/linking-types": "^14.0.0",
|
|
69
69
|
"@atlaskit/logo": "^19.7.0",
|
|
70
70
|
"@atlaskit/lozenge": "^13.0.0",
|
|
71
|
-
"@atlaskit/modal-dialog": "^14.
|
|
71
|
+
"@atlaskit/modal-dialog": "^14.4.0",
|
|
72
72
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/popup": "^4.4.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/primitives": "^14.15.0",
|
|
80
80
|
"@atlaskit/react-select": "^3.6.0",
|
|
81
81
|
"@atlaskit/select": "^21.3.0",
|
|
82
|
-
"@atlaskit/smart-card": "^42.
|
|
82
|
+
"@atlaskit/smart-card": "^42.2.0",
|
|
83
83
|
"@atlaskit/smart-user-picker": "^8.2.0",
|
|
84
84
|
"@atlaskit/spinner": "^19.0.0",
|
|
85
85
|
"@atlaskit/tag": "^14.1.0",
|
|
@@ -190,6 +190,9 @@
|
|
|
190
190
|
},
|
|
191
191
|
"navx-1819-link-create-confluence-site-migration": {
|
|
192
192
|
"type": "boolean"
|
|
193
|
+
},
|
|
194
|
+
"navx-1845-sllv-autofocus-first-interactive-element": {
|
|
195
|
+
"type": "boolean"
|
|
193
196
|
}
|
|
194
197
|
},
|
|
195
198
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/9c893299-a527-4457-9b46-f3bc4c828766"
|