@atlaskit/link-datasource 0.33.7 → 0.33.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 0.33.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bb7599728b7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb7599728b7) - [ux] Disable assets modal search button while AQL is invalid
8
+
9
+ ## 0.33.8
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 0.33.7
4
16
 
5
17
  ### Patch Changes
@@ -178,7 +178,8 @@ var AqlSearchInput = function AqlSearchInput(_ref) {
178
178
  isLoading: isSearching,
179
179
  spacing: "none",
180
180
  testId: "assets-datasource-modal--aql-search-button",
181
- type: "submit"
181
+ type: "submit",
182
+ isDisabled: fieldProps.value.trim() === '' || meta.validating || !meta.valid
182
183
  })),
183
184
  placeholder: formatMessage(_messages.searchInputMessages.placeholder),
184
185
  testId: testId
@@ -344,7 +344,7 @@ var analyticsContextAttributes = {
344
344
  };
345
345
  var analyticsContextData = {
346
346
  packageName: "@atlaskit/link-datasource",
347
- packageVersion: "0.33.7",
347
+ packageVersion: "0.33.9",
348
348
  source: 'datasourceConfigModal'
349
349
  };
350
350
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.7",
3
+ "version": "0.33.9",
4
4
  "sideEffects": false
5
5
  }
@@ -148,7 +148,8 @@ export const AqlSearchInput = ({
148
148
  isLoading: isSearching,
149
149
  spacing: "none",
150
150
  testId: "assets-datasource-modal--aql-search-button",
151
- type: "submit"
151
+ type: "submit",
152
+ isDisabled: fieldProps.value.trim() === '' || meta.validating || !meta.valid
152
153
  })),
153
154
  placeholder: formatMessage(searchInputMessages.placeholder),
154
155
  testId: testId
@@ -290,7 +290,7 @@ const analyticsContextAttributes = {
290
290
  };
291
291
  const analyticsContextData = {
292
292
  packageName: "@atlaskit/link-datasource",
293
- packageVersion: "0.33.7",
293
+ packageVersion: "0.33.9",
294
294
  source: 'datasourceConfigModal'
295
295
  };
296
296
  const contextData = {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.7",
3
+ "version": "0.33.9",
4
4
  "sideEffects": false
5
5
  }
@@ -170,7 +170,8 @@ export var AqlSearchInput = function AqlSearchInput(_ref) {
170
170
  isLoading: isSearching,
171
171
  spacing: "none",
172
172
  testId: "assets-datasource-modal--aql-search-button",
173
- type: "submit"
173
+ type: "submit",
174
+ isDisabled: fieldProps.value.trim() === '' || meta.validating || !meta.valid
174
175
  })),
175
176
  placeholder: formatMessage(searchInputMessages.placeholder),
176
177
  testId: testId
@@ -334,7 +334,7 @@ var analyticsContextAttributes = {
334
334
  };
335
335
  var analyticsContextData = {
336
336
  packageName: "@atlaskit/link-datasource",
337
- packageVersion: "0.33.7",
337
+ packageVersion: "0.33.9",
338
338
  source: 'datasourceConfigModal'
339
339
  };
340
340
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.7",
3
+ "version": "0.33.9",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.7",
3
+ "version": "0.33.9",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/linking-types": "^8.2.0",
46
46
  "@atlaskit/lozenge": "^11.4.0",
47
47
  "@atlaskit/modal-dialog": "^12.6.0",
48
- "@atlaskit/pragmatic-drag-and-drop": "^0.19.0",
48
+ "@atlaskit/pragmatic-drag-and-drop": "^0.20.0",
49
49
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^0.11.0",
50
50
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^0.6.0",
51
51
  "@atlaskit/pragmatic-drag-and-drop-react-indicator": "^0.16.0",