@atlaskit/link-datasource 4.19.4 → 4.19.6
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 +15 -0
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +1 -15
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +2 -14
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +2 -16
- package/elements/package.json +1 -1
- package/package.json +9 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.19.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`13c698778e3c6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/13c698778e3c6) -
|
|
8
|
+
[ux] Atlaspack version bump
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.19.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`1e4c85cd1dbd7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1e4c85cd1dbd7) -
|
|
16
|
+
NAVX-1053 cleaning up linking-platform-assests-schema-selector-refresh
|
|
17
|
+
|
|
3
18
|
## 4.19.4
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -22,7 +22,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
22
22
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
23
23
|
var _form = require("@atlaskit/form");
|
|
24
24
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
25
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
26
25
|
var _select = require("@atlaskit/select");
|
|
27
26
|
var _constants = require("@atlaskit/theme/constants");
|
|
28
27
|
var _useObjectSchemas2 = require("../../../../hooks/useObjectSchemas");
|
|
@@ -176,7 +175,7 @@ var AssetsObjectSchemaSelect = exports.AssetsObjectSchemaSelect = function Asset
|
|
|
176
175
|
_onChange = _ref6$fieldProps.onChange,
|
|
177
176
|
onFocus = _ref6$fieldProps.onFocus,
|
|
178
177
|
restFieldProps = (0, _objectWithoutProperties2.default)(_ref6$fieldProps, _excluded2);
|
|
179
|
-
return
|
|
178
|
+
return /*#__PURE__*/React.createElement(_select.PopupSelect, (0, _extends2.default)({
|
|
180
179
|
autoFocus: true,
|
|
181
180
|
maxMenuWidth: 300,
|
|
182
181
|
minMenuWidth: 300,
|
|
@@ -208,19 +207,6 @@ var AssetsObjectSchemaSelect = exports.AssetsObjectSchemaSelect = function Asset
|
|
|
208
207
|
}
|
|
209
208
|
}), ((_restFieldProps$value = restFieldProps.value) === null || _restFieldProps$value === void 0 ? void 0 : _restFieldProps$value.label) || formatMessage(_messages.objectSchemaSelectMessages.placeholder));
|
|
210
209
|
}
|
|
211
|
-
})) : /*#__PURE__*/React.createElement(_select.AsyncSelect, (0, _extends2.default)({
|
|
212
|
-
autoFocus: true,
|
|
213
|
-
classNamePrefix: classNamePrefix,
|
|
214
|
-
isLoading: objectSchemasLoading,
|
|
215
|
-
defaultOptions: mapObjectSchemasToOptions(initialObjectSchemas),
|
|
216
|
-
isSearchable: true,
|
|
217
|
-
loadOptions: debouncedLoadOptions,
|
|
218
|
-
placeholder: formatMessage(_messages.objectSchemaSelectMessages.placeholder),
|
|
219
|
-
onChange: function onChange(newOption) {
|
|
220
|
-
return newOption && _onChange(newOption);
|
|
221
|
-
}
|
|
222
|
-
}, selectInAModalStyleFixProps, restFieldProps, {
|
|
223
|
-
label: formatMessage(_messages.objectSchemaSelectMessages.placeholder)
|
|
224
210
|
}));
|
|
225
211
|
}));
|
|
226
212
|
};
|
|
@@ -10,8 +10,7 @@ import { useIntl } from 'react-intl-next';
|
|
|
10
10
|
import Button from '@atlaskit/button/new';
|
|
11
11
|
import { Field } from '@atlaskit/form';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
|
-
import {
|
|
14
|
-
import { AsyncSelect, PopupSelect } from '@atlaskit/select';
|
|
13
|
+
import { PopupSelect } from '@atlaskit/select';
|
|
15
14
|
import { layers } from '@atlaskit/theme/constants';
|
|
16
15
|
import { useObjectSchemas } from '../../../../hooks/useObjectSchemas';
|
|
17
16
|
import { objectSchemaKey } from '../../../../types/assets/types';
|
|
@@ -108,7 +107,7 @@ export const AssetsObjectSchemaSelect = ({
|
|
|
108
107
|
onFocus,
|
|
109
108
|
...restFieldProps
|
|
110
109
|
}
|
|
111
|
-
}) =>
|
|
110
|
+
}) => /*#__PURE__*/React.createElement(PopupSelect, _extends({
|
|
112
111
|
autoFocus: true,
|
|
113
112
|
maxMenuWidth: 300,
|
|
114
113
|
minMenuWidth: 300,
|
|
@@ -137,16 +136,5 @@ export const AssetsObjectSchemaSelect = ({
|
|
|
137
136
|
})
|
|
138
137
|
}), ((_restFieldProps$value = restFieldProps.value) === null || _restFieldProps$value === void 0 ? void 0 : _restFieldProps$value.label) || formatMessage(objectSchemaSelectMessages.placeholder));
|
|
139
138
|
}
|
|
140
|
-
})) : /*#__PURE__*/React.createElement(AsyncSelect, _extends({
|
|
141
|
-
autoFocus: true,
|
|
142
|
-
classNamePrefix: classNamePrefix,
|
|
143
|
-
isLoading: objectSchemasLoading,
|
|
144
|
-
defaultOptions: mapObjectSchemasToOptions(initialObjectSchemas),
|
|
145
|
-
isSearchable: true,
|
|
146
|
-
loadOptions: debouncedLoadOptions,
|
|
147
|
-
placeholder: formatMessage(objectSchemaSelectMessages.placeholder),
|
|
148
|
-
onChange: newOption => newOption && onChange(newOption)
|
|
149
|
-
}, selectInAModalStyleFixProps, restFieldProps, {
|
|
150
|
-
label: formatMessage(objectSchemaSelectMessages.placeholder)
|
|
151
139
|
}))));
|
|
152
140
|
};
|
|
@@ -20,8 +20,7 @@ import { useIntl } from 'react-intl-next';
|
|
|
20
20
|
import Button from '@atlaskit/button/new';
|
|
21
21
|
import { Field } from '@atlaskit/form';
|
|
22
22
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
23
|
-
import {
|
|
24
|
-
import { AsyncSelect, PopupSelect } from '@atlaskit/select';
|
|
23
|
+
import { PopupSelect } from '@atlaskit/select';
|
|
25
24
|
import { layers } from '@atlaskit/theme/constants';
|
|
26
25
|
import { useObjectSchemas } from '../../../../hooks/useObjectSchemas';
|
|
27
26
|
import { objectSchemaKey } from '../../../../types/assets/types';
|
|
@@ -169,7 +168,7 @@ export var AssetsObjectSchemaSelect = function AssetsObjectSchemaSelect(_ref2) {
|
|
|
169
168
|
_onChange = _ref6$fieldProps.onChange,
|
|
170
169
|
onFocus = _ref6$fieldProps.onFocus,
|
|
171
170
|
restFieldProps = _objectWithoutProperties(_ref6$fieldProps, _excluded2);
|
|
172
|
-
return
|
|
171
|
+
return /*#__PURE__*/React.createElement(PopupSelect, _extends({
|
|
173
172
|
autoFocus: true,
|
|
174
173
|
maxMenuWidth: 300,
|
|
175
174
|
minMenuWidth: 300,
|
|
@@ -201,19 +200,6 @@ export var AssetsObjectSchemaSelect = function AssetsObjectSchemaSelect(_ref2) {
|
|
|
201
200
|
}
|
|
202
201
|
}), ((_restFieldProps$value = restFieldProps.value) === null || _restFieldProps$value === void 0 ? void 0 : _restFieldProps$value.label) || formatMessage(objectSchemaSelectMessages.placeholder));
|
|
203
202
|
}
|
|
204
|
-
})) : /*#__PURE__*/React.createElement(AsyncSelect, _extends({
|
|
205
|
-
autoFocus: true,
|
|
206
|
-
classNamePrefix: classNamePrefix,
|
|
207
|
-
isLoading: objectSchemasLoading,
|
|
208
|
-
defaultOptions: mapObjectSchemasToOptions(initialObjectSchemas),
|
|
209
|
-
isSearchable: true,
|
|
210
|
-
loadOptions: debouncedLoadOptions,
|
|
211
|
-
placeholder: formatMessage(objectSchemaSelectMessages.placeholder),
|
|
212
|
-
onChange: function onChange(newOption) {
|
|
213
|
-
return newOption && _onChange(newOption);
|
|
214
|
-
}
|
|
215
|
-
}, selectInAModalStyleFixProps, restFieldProps, {
|
|
216
|
-
label: formatMessage(objectSchemaSelectMessages.placeholder)
|
|
217
203
|
}));
|
|
218
204
|
}));
|
|
219
205
|
};
|
package/elements/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.6",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,29 +42,29 @@
|
|
|
42
42
|
"@atlaskit/avatar": "^25.1.0",
|
|
43
43
|
"@atlaskit/avatar-group": "^12.2.0",
|
|
44
44
|
"@atlaskit/badge": "^18.1.0",
|
|
45
|
-
"@atlaskit/button": "^23.
|
|
45
|
+
"@atlaskit/button": "^23.4.0",
|
|
46
46
|
"@atlaskit/css": "^0.12.0",
|
|
47
47
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
48
48
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
49
49
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
50
50
|
"@atlaskit/empty-state": "^10.1.0",
|
|
51
51
|
"@atlaskit/flag": "^17.3.0",
|
|
52
|
-
"@atlaskit/form": "^12.
|
|
52
|
+
"@atlaskit/form": "^12.1.0",
|
|
53
53
|
"@atlaskit/heading": "^5.2.0",
|
|
54
|
-
"@atlaskit/icon": "^27.
|
|
54
|
+
"@atlaskit/icon": "^27.12.0",
|
|
55
55
|
"@atlaskit/icon-object": "^7.2.0",
|
|
56
56
|
"@atlaskit/image": "^3.0.0",
|
|
57
57
|
"@atlaskit/inline-edit": "^15.3.0",
|
|
58
58
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
59
59
|
"@atlaskit/jql-ast": "^3.3.0",
|
|
60
|
-
"@atlaskit/jql-editor": "^5.
|
|
60
|
+
"@atlaskit/jql-editor": "^5.5.0",
|
|
61
61
|
"@atlaskit/jql-editor-autocomplete-rest": "^3.0.0",
|
|
62
62
|
"@atlaskit/layering": "^3.0.0",
|
|
63
63
|
"@atlaskit/link": "^3.2.0",
|
|
64
64
|
"@atlaskit/link-client-extension": "^5.0.0",
|
|
65
|
-
"@atlaskit/linking-common": "^9.
|
|
65
|
+
"@atlaskit/linking-common": "^9.5.0",
|
|
66
66
|
"@atlaskit/linking-types": "^14.0.0",
|
|
67
|
-
"@atlaskit/logo": "^19.
|
|
67
|
+
"@atlaskit/logo": "^19.7.0",
|
|
68
68
|
"@atlaskit/lozenge": "^13.0.0",
|
|
69
69
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
70
70
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@atlaskit/primitives": "^14.11.0",
|
|
78
78
|
"@atlaskit/react-select": "^3.4.0",
|
|
79
79
|
"@atlaskit/select": "^21.2.0",
|
|
80
|
-
"@atlaskit/smart-card": "^40.
|
|
80
|
+
"@atlaskit/smart-card": "^40.10.0",
|
|
81
81
|
"@atlaskit/smart-user-picker": "^8.1.0",
|
|
82
82
|
"@atlaskit/spinner": "^19.0.0",
|
|
83
83
|
"@atlaskit/tag": "^14.1.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@af/integration-testing": "workspace:^",
|
|
106
106
|
"@af/visual-regression": "workspace:^",
|
|
107
107
|
"@atlaskit/json-ld-types": "^1.4.0",
|
|
108
|
-
"@atlaskit/link-provider": "^3.
|
|
108
|
+
"@atlaskit/link-provider": "^3.7.0",
|
|
109
109
|
"@atlaskit/link-test-helpers": "^8.3.0",
|
|
110
110
|
"@atlaskit/ssr": "workspace:^",
|
|
111
111
|
"@atlaskit/visual-regression": "workspace:^",
|
|
@@ -176,9 +176,6 @@
|
|
|
176
176
|
"should-render-to-parent-should-be-true-linking-pla": {
|
|
177
177
|
"type": "boolean"
|
|
178
178
|
},
|
|
179
|
-
"linking-platform-assests-schema-selector-refresh": {
|
|
180
|
-
"type": "boolean"
|
|
181
|
-
},
|
|
182
179
|
"platform-linking-sllv-show-more-aria-label": {
|
|
183
180
|
"type": "boolean"
|
|
184
181
|
},
|