@atlaskit/link-datasource 3.22.0 → 3.22.2
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 +16 -0
- package/dist/cjs/state/actions/index.js +34 -2
- package/dist/cjs/ui/common/error-state/no-instances.compiled.css +1 -1
- package/dist/cjs/ui/common/error-state/no-instances.js +1 -1
- package/dist/cjs/ui/common/modal/mode-switcher/index.compiled.css +1 -1
- package/dist/cjs/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/cjs/ui/common/modal/mode-switcher/modeSwitcherOld.js +1 -1
- package/dist/cjs/ui/common/modal/site-selector/index.compiled.css +1 -1
- package/dist/cjs/ui/common/modal/site-selector/index.js +1 -1
- package/dist/cjs/ui/common/modal/site-selector/site-selector-old.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.compiled.css +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled-old.js +1 -1
- package/dist/cjs/ui/issue-like-table/edit-type/icon/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/index.compiled.css +1 -1
- package/dist/cjs/ui/issue-like-table/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/user/index.compiled.css +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/shared-components/avatar/index.compiled.css +1 -1
- package/dist/cjs/ui/issue-like-table/shared-components/avatar/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/shared-components/icon/index.js +3 -3
- package/dist/cjs/ui/issue-like-table/styled.js +1 -1
- package/dist/cjs/ui/table-footer/index.compiled.css +1 -1
- package/dist/cjs/ui/table-footer/index.js +1 -1
- package/dist/cjs/ui/table-footer/table-footer-old.js +1 -1
- package/dist/es2019/state/actions/index.js +34 -2
- package/dist/es2019/ui/common/error-state/no-instances.compiled.css +1 -1
- package/dist/es2019/ui/common/error-state/no-instances.js +1 -1
- package/dist/es2019/ui/common/modal/mode-switcher/index.compiled.css +1 -1
- package/dist/es2019/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/es2019/ui/common/modal/mode-switcher/modeSwitcherOld.js +1 -1
- package/dist/es2019/ui/common/modal/site-selector/index.compiled.css +1 -1
- package/dist/es2019/ui/common/modal/site-selector/index.js +1 -1
- package/dist/es2019/ui/common/modal/site-selector/site-selector-old.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.compiled.css +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled-old.js +1 -1
- package/dist/es2019/ui/issue-like-table/edit-type/icon/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/index.compiled.css +1 -1
- package/dist/es2019/ui/issue-like-table/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/user/index.compiled.css +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/shared-components/avatar/index.compiled.css +1 -1
- package/dist/es2019/ui/issue-like-table/shared-components/avatar/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/shared-components/icon/index.js +3 -3
- package/dist/es2019/ui/issue-like-table/styled.js +1 -1
- package/dist/es2019/ui/table-footer/index.compiled.css +1 -1
- package/dist/es2019/ui/table-footer/index.js +1 -1
- package/dist/es2019/ui/table-footer/table-footer-old.js +1 -1
- package/dist/esm/state/actions/index.js +34 -2
- package/dist/esm/ui/common/error-state/no-instances.compiled.css +1 -1
- package/dist/esm/ui/common/error-state/no-instances.js +1 -1
- package/dist/esm/ui/common/modal/mode-switcher/index.compiled.css +1 -1
- package/dist/esm/ui/common/modal/mode-switcher/index.js +1 -1
- package/dist/esm/ui/common/modal/mode-switcher/modeSwitcherOld.js +1 -1
- package/dist/esm/ui/common/modal/site-selector/index.compiled.css +1 -1
- package/dist/esm/ui/common/modal/site-selector/index.js +1 -1
- package/dist/esm/ui/common/modal/site-selector/site-selector-old.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.compiled.css +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled-old.js +1 -1
- package/dist/esm/ui/issue-like-table/edit-type/icon/index.js +1 -1
- package/dist/esm/ui/issue-like-table/index.compiled.css +1 -1
- package/dist/esm/ui/issue-like-table/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/user/index.compiled.css +1 -1
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +1 -1
- package/dist/esm/ui/issue-like-table/shared-components/avatar/index.compiled.css +1 -1
- package/dist/esm/ui/issue-like-table/shared-components/avatar/index.js +1 -1
- package/dist/esm/ui/issue-like-table/shared-components/icon/index.js +3 -3
- package/dist/esm/ui/issue-like-table/styled.js +1 -1
- package/dist/esm/ui/table-footer/index.compiled.css +1 -1
- package/dist/esm/ui/table-footer/index.js +1 -1
- package/dist/esm/ui/table-footer/table-footer-old.js +1 -1
- package/dist/types/ui/issue-like-table/shared-components/icon/icon-old.d.ts +1 -1
- package/dist/types/ui/issue-like-table/shared-components/icon/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/icon-old.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/index.d.ts +4 -4
- package/package.json +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 3.22.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#122399](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122399)
|
|
8
|
+
[`cbaab3690564b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cbaab3690564b) -
|
|
9
|
+
Behind FF: `enable_datasource_fetch_action_inputs` introduce logic to find fetchAction inputs from
|
|
10
|
+
the fetchSchema and its value from datasource item data
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 3.22.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 3.22.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -15,6 +15,7 @@ var _linkClientExtension = require("@atlaskit/link-client-extension");
|
|
|
15
15
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
16
|
var _analytics = require("../../analytics");
|
|
17
17
|
var _useErrorLogger2 = _interopRequireDefault(require("../../hooks/useErrorLogger"));
|
|
18
|
+
var _index = require("../index");
|
|
18
19
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
20
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
21
|
/**
|
|
@@ -203,6 +204,11 @@ var useExecuteAtomicAction = exports.useExecuteAtomicAction = function useExecut
|
|
|
203
204
|
_useAtomicUpdateActio3 = _useAtomicUpdateActio2[0],
|
|
204
205
|
schema = _useAtomicUpdateActio3.schema,
|
|
205
206
|
fetchSchema = _useAtomicUpdateActio3.fetchSchema;
|
|
207
|
+
var item = (0, _platformFeatureFlags.fg)('enable_datasource_fetch_action_inputs') ?
|
|
208
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
209
|
+
(0, _index.useDatasourceItem)({
|
|
210
|
+
id: ari
|
|
211
|
+
}) : undefined;
|
|
206
212
|
var _useDatasourceClientE2 = (0, _linkClientExtension.useDatasourceClientExtension)(),
|
|
207
213
|
executeAction = _useDatasourceClientE2.executeAtomicAction,
|
|
208
214
|
invalidateDatasourceDataCacheByAri = _useDatasourceClientE2.invalidateDatasourceDataCacheByAri;
|
|
@@ -242,11 +248,37 @@ var useExecuteAtomicAction = exports.useExecuteAtomicAction = function useExecut
|
|
|
242
248
|
throw error;
|
|
243
249
|
});
|
|
244
250
|
}, [schema, executeAction, integrationKey, fieldKey, ari, invalidateDatasourceDataCacheByAri, fireEvent, captureError]);
|
|
245
|
-
var executeFetch = (0, _react.useCallback)(function (
|
|
251
|
+
var executeFetch = (0, _react.useCallback)(function (controlledInputs) {
|
|
246
252
|
if (!fetchSchema) {
|
|
247
253
|
throw new Error('No supporting action schema found.');
|
|
248
254
|
}
|
|
249
255
|
|
|
256
|
+
/**
|
|
257
|
+
* controlled inputs are useful for search fields, where a variable query is passed to the fetchAction
|
|
258
|
+
*/
|
|
259
|
+
var inputs = controlledInputs;
|
|
260
|
+
/**
|
|
261
|
+
* When FF is on and `controlledInputs` are not provided we look for required inputs in the fetchSchema
|
|
262
|
+
*/
|
|
263
|
+
if (!Object.keys(inputs).length && fetchSchema.inputs && !!Object.keys(fetchSchema.inputs).length && (0, _platformFeatureFlags.fg)('enable_datasource_fetch_action_inputs')) {
|
|
264
|
+
var inputKeys = Object.keys(fetchSchema.inputs);
|
|
265
|
+
/**
|
|
266
|
+
* If present return the input value from the datasource item
|
|
267
|
+
* e.g. this could be the issueKey or projectId of a Jira issue
|
|
268
|
+
*/
|
|
269
|
+
inputs = inputKeys.reduce(function (acc, key) {
|
|
270
|
+
var _item$data;
|
|
271
|
+
var value = item === null || item === void 0 || (_item$data = item.data) === null || _item$data === void 0 || (_item$data = _item$data[key]) === null || _item$data === void 0 ? void 0 : _item$data.data;
|
|
272
|
+
if (typeof value === 'string' || typeof value === 'number') {
|
|
273
|
+
acc[key] = value;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* This allows for the schema and data from the BE to dynamically set the action inputs
|
|
277
|
+
*/
|
|
278
|
+
return acc;
|
|
279
|
+
}, {});
|
|
280
|
+
}
|
|
281
|
+
|
|
250
282
|
// A generic type can allow us here to define the inputs and outputs
|
|
251
283
|
return executeAction({
|
|
252
284
|
integrationKey: integrationKey,
|
|
@@ -268,7 +300,7 @@ var useExecuteAtomicAction = exports.useExecuteAtomicAction = function useExecut
|
|
|
268
300
|
// Rethrow up to component for flags and other handling
|
|
269
301
|
throw error;
|
|
270
302
|
});
|
|
271
|
-
}, [fetchSchema, executeAction, integrationKey, ari, fireEvent, captureError]);
|
|
303
|
+
}, [fetchSchema, executeAction, integrationKey, ari, item, fireEvent, captureError]);
|
|
272
304
|
return _objectSpread(_objectSpread({}, schema && {
|
|
273
305
|
execute: execute
|
|
274
306
|
}), fetchSchema && {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8nbxd{font:var(--ds-font-heading-small,normal 600 1pc/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
|
|
3
3
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
4
4
|
._19pkxncg{margin-top:var(--ds-space-800,4pc)}
|
|
@@ -17,7 +17,7 @@ var _noInstancesSvg = require("./no-instances-svg");
|
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
var styles = {
|
|
20
|
-
titleStyles: "
|
|
20
|
+
titleStyles: "_11c8nbxd _19pkpxbi",
|
|
21
21
|
descriptionStyles: "_19pku2gc",
|
|
22
22
|
containerStyles: "_19pkxncg"
|
|
23
23
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1b66{border-radius:var(--ds-space-050,4px)}
|
|
3
3
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
4
4
|
._zulpv77o{gap:var(--ds-space-025,2px)}
|
|
@@ -57,7 +57,7 @@ var ModeSwitcherNew = function ModeSwitcherNew(props) {
|
|
|
57
57
|
return /*#__PURE__*/_react.default.createElement("label", (0, _extends2.default)({}, tooltipProps, {
|
|
58
58
|
key: value,
|
|
59
59
|
"data-testid": "mode-toggle-".concat(value),
|
|
60
|
-
className: (0, _runtime.ax)(["
|
|
60
|
+
className: (0, _runtime.ax)(["_11c8dcr7 _2rko1b66 _syaziwyp _k48p1pd9 _1p1dangw _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _d0altlke _irr3u7au", isCompact && "_ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66", isSelected && "_2rko1b66 _bfhkkwt5 _16qs1jze _d0altlke _irr3kwt5", isDisabled && "_irr31j28 _d0al13gf", isOptionDisabled && "_syaz111d", isOptionDisabled && "_irr31j28 _d0al13gf"]),
|
|
61
61
|
style: {
|
|
62
62
|
"--_k4gmmg": (0, _runtime.ix)("var(--ds-text-subtlest, ".concat(_colors.N700, ")")),
|
|
63
63
|
"--_15egq0b": (0, _runtime.ix)("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30A, ")")),
|
|
@@ -44,7 +44,7 @@ var modeInputStyles = (0, _react2.css)({
|
|
|
44
44
|
});
|
|
45
45
|
var modeSwitcherLabelStyles = (0, _react2.css)({
|
|
46
46
|
color: "var(--ds-text-subtlest, ".concat(_colors.N700, ")"),
|
|
47
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
47
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
48
48
|
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
49
49
|
textTransform: 'uppercase',
|
|
50
50
|
padding: "var(--ds-space-050, 4px)",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1pbyibnn{z-index:11}
|
|
@@ -92,7 +92,7 @@ var SiteSelectorNew = function SiteSelectorNew(props) {
|
|
|
92
92
|
testId: testId,
|
|
93
93
|
value: selectedSiteOption,
|
|
94
94
|
label: formatMessage(_messages.siteSelectorMessages.chooseSite),
|
|
95
|
-
className: (0, _runtime.ax)(["
|
|
95
|
+
className: (0, _runtime.ax)(["_11c82smr _1pbyibnn"])
|
|
96
96
|
})));
|
|
97
97
|
};
|
|
98
98
|
var SiteSelector = exports.SiteSelector = function SiteSelector(props) {
|
|
@@ -29,7 +29,7 @@ var dropdownContainerStyles = (0, _primitives.xcss)({
|
|
|
29
29
|
minHeight: '40px' // to prevent vertical shifting when site selector pops in
|
|
30
30
|
});
|
|
31
31
|
var selectStyles = (0, _react2.css)({
|
|
32
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
32
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
33
33
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
35
35
|
zIndex: _zindex.siteSelectorIndex
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
._11c81kw7{font:inherit}
|
|
2
|
-
.
|
|
2
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._19itglyw{border:none}
|
|
4
4
|
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
5
5
|
._zulpv77o{gap:var(--ds-space-025,2px)}
|
package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -46,7 +46,7 @@ var DateRangeErrorMessage = (0, _react.forwardRef)(function (_ref, __cmplr) {
|
|
|
46
46
|
return /*#__PURE__*/_react.default.createElement(C, (0, _extends2.default)({}, __cmplp, {
|
|
47
47
|
style: __cmpls,
|
|
48
48
|
ref: __cmplr,
|
|
49
|
-
className: (0, _runtime.ax)(["_zulpv77o
|
|
49
|
+
className: (0, _runtime.ax)(["_zulpv77o _11c8dcr7 _1e0c1txw _19pk57x3 _bozgv77o _syaz1ick _4cvr1h6o", __cmplp.className])
|
|
50
50
|
}));
|
|
51
51
|
});
|
|
52
52
|
|
package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled-old.js
CHANGED
|
@@ -94,7 +94,7 @@ var DateRangeErrorMessageOld = exports.DateRangeErrorMessageOld = _styled.defaul
|
|
|
94
94
|
marginTop: "var(--ds-space-050, 2px)",
|
|
95
95
|
gap: "var(--ds-space-025, 2px)",
|
|
96
96
|
paddingInlineStart: "var(--ds-space-025, 2px)",
|
|
97
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
97
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
98
98
|
color: "var(--ds-text-danger, ".concat(_colors.R400, ")"),
|
|
99
99
|
alignItems: 'center'
|
|
100
100
|
});
|
|
@@ -55,7 +55,7 @@ var IconEditType = function IconEditType(props) {
|
|
|
55
55
|
autoFocus: true,
|
|
56
56
|
blurInputOnSelect: true,
|
|
57
57
|
defaultMenuIsOpen: true
|
|
58
|
-
// We can't update
|
|
58
|
+
// We can't update this field if we don't have an ID - however the ID
|
|
59
59
|
// is typed optional.
|
|
60
60
|
,
|
|
61
61
|
options: (0, _platformFeatureFlags.fg)('platform-datasources-inline-edit-id-checks') ? options.filter(function (option) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._11c82smr, .ProseMirror .pm-table-wrapper>table tbody ._1otx2smr, .pm-table-wrapper>table tbody ._1wi12smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._13xs13hi:last-of-type, .ProseMirror .pm-table-wrapper>table thead ._19xw13hi:last-of-type, .pm-table-wrapper>table thead ._ex0g13hi:last-of-type{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--ds-elevation-surface-current,#fff) 10%)}
|
|
4
4
|
._19itidpf, .ProseMirror .pm-table-wrapper>table tbody ._1i5zidpf, .pm-table-wrapper>table tbody ._aifmidpf{border:0}
|
|
5
5
|
._19itidpf, .ProseMirror .pm-table-wrapper>table thead ._aks5idpf, .pm-table-wrapper>table thead ._1u3bidpf{border:0}
|
|
@@ -115,7 +115,7 @@ var InlineEditableTableCell = (0, _react.forwardRef)(function (_ref4, __cmplr) {
|
|
|
115
115
|
return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
|
|
116
116
|
style: __cmpls,
|
|
117
117
|
ref: __cmplr,
|
|
118
|
-
className: (0, _runtime.ax)(["
|
|
118
|
+
className: (0, _runtime.ax)(["_11c82smr _1otx2smr _1wi12smr _19itidpf _1i5zidpf _aifmidpf _1s7z1x13 _1xqp1x13 _mxou1x13 _n7zl1x13 _15lr1x13 _itmm1x13 _ca0qze3t _7jflze3t _1ikkze3t _u5f3ze3t _1cngze3t _1h12ze3t _n3tdze3t _v6nkze3t _jivqze3t _19bvze3t _krvdze3t _1w1yze3t _1ul91wug _1lkc1wug _1jcm1wug _4t3i1ylp _1ugg1ylp _lt6w1ylp _s7n41kw7 _11nx1kw7 _18a21kw7 _vchh1ntv _16601ntv _1qd91ntv _1ls2idpf _1ho1idpf _1y4pidpf _1cimn7od _124in7od", __cmplp.className])
|
|
119
119
|
}));
|
|
120
120
|
});
|
|
121
121
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18m915vq{overflow-y:hidden}
|
|
3
3
|
._1bto1l2s{text-overflow:ellipsis}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
@@ -25,7 +25,7 @@ var _excluded = ["as", "style"];
|
|
|
25
25
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
26
26
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
27
27
|
var styles = {
|
|
28
|
-
userWrapperStyles: "
|
|
28
|
+
userWrapperStyles: "_11c82smr _1e0c1txw _4cvr1h6o",
|
|
29
29
|
avatarWrapperStyles: "_2hwxu2gc",
|
|
30
30
|
widthObserverWrapperStyles: "_kqswh2mm"
|
|
31
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18zru2gc{padding-inline:var(--ds-space-100,8px)}
|
|
3
3
|
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
@@ -19,7 +19,7 @@ var _messages = require("../../render-type/user/messages");
|
|
|
19
19
|
var _avatarOld = require("./avatar-old");
|
|
20
20
|
var styles = {
|
|
21
21
|
avatarWrapperStyles: "_2hwxu2gc",
|
|
22
|
-
emptyAvatarWrapperStyles: "
|
|
22
|
+
emptyAvatarWrapperStyles: "_11c82smr _1rjc1b66 _18zru2gc _1e0c1txw _4cvr1h6o _tzy4idpf _16l4kb7n"
|
|
23
23
|
};
|
|
24
24
|
var EmptyAvatarNew = exports.EmptyAvatarNew = function EmptyAvatarNew() {
|
|
25
25
|
var intl = (0, _reactIntlNext.useIntl)();
|
|
@@ -17,9 +17,9 @@ var styles = {
|
|
|
17
17
|
labelStyles: "_1reo15vq _18m915vq _1bto1l2s _1bsb1osq"
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
* Renders a icon and text label.
|
|
21
|
+
* If the text is undefined, will not render the text label.
|
|
22
|
+
*/
|
|
23
23
|
function SharedIconComponentNew(_ref) {
|
|
24
24
|
var iconUrl = _ref.iconUrl,
|
|
25
25
|
_ref$label = _ref.label,
|
|
@@ -76,7 +76,7 @@ var TableHeading = exports.TableHeading = _styled.default.th((0, _defineProperty
|
|
|
76
76
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- To migrate as part of go/ui-styling-standard
|
|
77
77
|
var InlineEditableTableCell = exports.InlineEditableTableCell = _styled.default.td((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "".concat(withTablePluginBodyPrefix()), {
|
|
78
78
|
/* First section here is to override things editor table plugin css defines */
|
|
79
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
79
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
80
80
|
padding: "var(--ds-space-0, 0)".concat(" ", "var(--ds-space-0, 0)"),
|
|
81
81
|
border: 0,
|
|
82
82
|
minWidth: 'auto',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1kw7{border-radius:inherit}
|
|
3
3
|
._x3do17u4{border-top:2px solid var(--ds-background-accent-gray-subtler,#dfe1e6)}
|
|
4
4
|
._13liidpf{border-top-left-radius:0}
|
|
@@ -89,7 +89,7 @@ var SyncTextWrapper = (0, _react.forwardRef)(function (_ref4, __cmplr) {
|
|
|
89
89
|
return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
|
|
90
90
|
style: __cmpls,
|
|
91
91
|
ref: __cmplr,
|
|
92
|
-
className: (0, _runtime.ax)(["
|
|
92
|
+
className: (0, _runtime.ax)(["_11c8dcr7 _2hwx12x7", __cmplp.className])
|
|
93
93
|
}));
|
|
94
94
|
});
|
|
95
95
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -61,7 +61,7 @@ var SyncWrapper = _styled.default.div({
|
|
|
61
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
62
62
|
var SyncTextWrapper = _styled.default.div({
|
|
63
63
|
marginRight: "var(--ds-space-075, 6px)",
|
|
64
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
64
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
65
65
|
});
|
|
66
66
|
var TableFooterOld = exports.TableFooterOld = function TableFooterOld(_ref) {
|
|
67
67
|
var datasourceId = _ref.datasourceId,
|
|
@@ -4,6 +4,7 @@ import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
import { useDatasourceAnalyticsEvents } from '../../analytics';
|
|
6
6
|
import useErrorLogger from '../../hooks/useErrorLogger';
|
|
7
|
+
import { useDatasourceItem } from '../index';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Atomic actions available for an integration (by field)
|
|
@@ -185,6 +186,11 @@ export const useExecuteAtomicAction = ({
|
|
|
185
186
|
fieldKey,
|
|
186
187
|
integrationKey
|
|
187
188
|
});
|
|
189
|
+
const item = fg('enable_datasource_fetch_action_inputs') ?
|
|
190
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
191
|
+
useDatasourceItem({
|
|
192
|
+
id: ari
|
|
193
|
+
}) : undefined;
|
|
188
194
|
const {
|
|
189
195
|
executeAtomicAction: executeAction,
|
|
190
196
|
invalidateDatasourceDataCacheByAri
|
|
@@ -227,11 +233,37 @@ export const useExecuteAtomicAction = ({
|
|
|
227
233
|
throw error;
|
|
228
234
|
});
|
|
229
235
|
}, [schema, executeAction, integrationKey, fieldKey, ari, invalidateDatasourceDataCacheByAri, fireEvent, captureError]);
|
|
230
|
-
const executeFetch = useCallback(
|
|
236
|
+
const executeFetch = useCallback(controlledInputs => {
|
|
231
237
|
if (!fetchSchema) {
|
|
232
238
|
throw new Error('No supporting action schema found.');
|
|
233
239
|
}
|
|
234
240
|
|
|
241
|
+
/**
|
|
242
|
+
* controlled inputs are useful for search fields, where a variable query is passed to the fetchAction
|
|
243
|
+
*/
|
|
244
|
+
let inputs = controlledInputs;
|
|
245
|
+
/**
|
|
246
|
+
* When FF is on and `controlledInputs` are not provided we look for required inputs in the fetchSchema
|
|
247
|
+
*/
|
|
248
|
+
if (!Object.keys(inputs).length && fetchSchema.inputs && !!Object.keys(fetchSchema.inputs).length && fg('enable_datasource_fetch_action_inputs')) {
|
|
249
|
+
const inputKeys = Object.keys(fetchSchema.inputs);
|
|
250
|
+
/**
|
|
251
|
+
* If present return the input value from the datasource item
|
|
252
|
+
* e.g. this could be the issueKey or projectId of a Jira issue
|
|
253
|
+
*/
|
|
254
|
+
inputs = inputKeys.reduce((acc, key) => {
|
|
255
|
+
var _item$data, _item$data$key;
|
|
256
|
+
const value = item === null || item === void 0 ? void 0 : (_item$data = item.data) === null || _item$data === void 0 ? void 0 : (_item$data$key = _item$data[key]) === null || _item$data$key === void 0 ? void 0 : _item$data$key.data;
|
|
257
|
+
if (typeof value === 'string' || typeof value === 'number') {
|
|
258
|
+
acc[key] = value;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* This allows for the schema and data from the BE to dynamically set the action inputs
|
|
262
|
+
*/
|
|
263
|
+
return acc;
|
|
264
|
+
}, {});
|
|
265
|
+
}
|
|
266
|
+
|
|
235
267
|
// A generic type can allow us here to define the inputs and outputs
|
|
236
268
|
return executeAction({
|
|
237
269
|
integrationKey,
|
|
@@ -253,7 +285,7 @@ export const useExecuteAtomicAction = ({
|
|
|
253
285
|
// Rethrow up to component for flags and other handling
|
|
254
286
|
throw error;
|
|
255
287
|
});
|
|
256
|
-
}, [fetchSchema, executeAction, integrationKey, ari, fireEvent, captureError]);
|
|
288
|
+
}, [fetchSchema, executeAction, integrationKey, ari, item, fireEvent, captureError]);
|
|
257
289
|
return {
|
|
258
290
|
...(schema && {
|
|
259
291
|
execute
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8nbxd{font:var(--ds-font-heading-small,normal 600 1pc/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
|
|
3
3
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
4
4
|
._19pkxncg{margin-top:var(--ds-space-800,4pc)}
|
|
@@ -8,7 +8,7 @@ import { Flex, Inline } from '@atlaskit/primitives/compiled';
|
|
|
8
8
|
import { NoInstancesViewOld } from './no-instances-old';
|
|
9
9
|
import { NoInstancesSvg } from './no-instances-svg';
|
|
10
10
|
const styles = {
|
|
11
|
-
titleStyles: "
|
|
11
|
+
titleStyles: "_11c8nbxd _19pkpxbi",
|
|
12
12
|
descriptionStyles: "_19pku2gc",
|
|
13
13
|
containerStyles: "_19pkxncg"
|
|
14
14
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1b66{border-radius:var(--ds-space-050,4px)}
|
|
3
3
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
4
4
|
._zulpv77o{gap:var(--ds-space-025,2px)}
|
|
@@ -48,7 +48,7 @@ const ModeSwitcherNew = props => {
|
|
|
48
48
|
}, tooltipProps => /*#__PURE__*/React.createElement("label", _extends({}, tooltipProps, {
|
|
49
49
|
key: value,
|
|
50
50
|
"data-testid": `mode-toggle-${value}`,
|
|
51
|
-
className: ax(["
|
|
51
|
+
className: ax(["_11c8dcr7 _2rko1b66 _syaz1be1 _k48p1pd9 _1p1dangw _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _d0altlke _irr3g4tq", isCompact && "_ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66", isSelected && "_2rko1b66 _bfhkr01l _16qs1jze _d0altlke _irr3r01l", isDisabled && "_irr31j28 _d0al13gf", isOptionDisabled && "_syaz8q0r", isOptionDisabled && "_irr31j28 _d0al13gf"])
|
|
52
52
|
}), label, /*#__PURE__*/React.createElement("input", {
|
|
53
53
|
"aria-checked": isSelected,
|
|
54
54
|
"aria-disabled": isOptionDisabled,
|
|
@@ -36,7 +36,7 @@ const modeInputStyles = css({
|
|
|
36
36
|
});
|
|
37
37
|
const modeSwitcherLabelStyles = css({
|
|
38
38
|
color: `var(--ds-text-subtlest, ${N700})`,
|
|
39
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
39
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
40
40
|
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
41
41
|
textTransform: 'uppercase',
|
|
42
42
|
padding: `${"var(--ds-space-050, 4px)"}`,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1pbyibnn{z-index:11}
|
|
@@ -73,7 +73,7 @@ const SiteSelectorNew = props => {
|
|
|
73
73
|
testId: testId,
|
|
74
74
|
value: selectedSiteOption,
|
|
75
75
|
label: formatMessage(siteSelectorMessages.chooseSite),
|
|
76
|
-
className: ax(["
|
|
76
|
+
className: ax(["_11c82smr _1pbyibnn"])
|
|
77
77
|
})));
|
|
78
78
|
};
|
|
79
79
|
export const SiteSelector = props => {
|
|
@@ -18,7 +18,7 @@ const dropdownContainerStyles = xcss({
|
|
|
18
18
|
minHeight: '40px' // to prevent vertical shifting when site selector pops in
|
|
19
19
|
});
|
|
20
20
|
const selectStyles = css({
|
|
21
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
21
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
22
22
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
24
24
|
zIndex: siteSelectorIndex
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
._11c81kw7{font:inherit}
|
|
2
|
-
.
|
|
2
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._19itglyw{border:none}
|
|
4
4
|
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
5
5
|
._zulpv77o{gap:var(--ds-space-025,2px)}
|
package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -28,7 +28,7 @@ const DateRangeErrorMessage = forwardRef(({
|
|
|
28
28
|
return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
|
|
29
29
|
style: __cmpls,
|
|
30
30
|
ref: __cmplr,
|
|
31
|
-
className: ax(["_zulpv77o
|
|
31
|
+
className: ax(["_zulpv77o _11c8dcr7 _1e0c1txw _19pk57x3 _bozgv77o _syaz1ick _4cvr1h6o", __cmplp.className])
|
|
32
32
|
}));
|
|
33
33
|
});
|
|
34
34
|
|
package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled-old.js
CHANGED
|
@@ -84,7 +84,7 @@ export const DateRangeErrorMessageOld = styled.div({
|
|
|
84
84
|
marginTop: "var(--ds-space-050, 2px)",
|
|
85
85
|
gap: "var(--ds-space-025, 2px)",
|
|
86
86
|
paddingInlineStart: "var(--ds-space-025, 2px)",
|
|
87
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
87
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
88
88
|
color: `var(--ds-text-danger, ${R400})`,
|
|
89
89
|
alignItems: 'center'
|
|
90
90
|
});
|
|
@@ -48,7 +48,7 @@ const IconEditType = props => {
|
|
|
48
48
|
autoFocus: true,
|
|
49
49
|
blurInputOnSelect: true,
|
|
50
50
|
defaultMenuIsOpen: true
|
|
51
|
-
// We can't update
|
|
51
|
+
// We can't update this field if we don't have an ID - however the ID
|
|
52
52
|
// is typed optional.
|
|
53
53
|
,
|
|
54
54
|
options: fg('platform-datasources-inline-edit-id-checks') ? options.filter(option => option.id) : options,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._11c82smr, .ProseMirror .pm-table-wrapper>table tbody ._1otx2smr, .pm-table-wrapper>table tbody ._1wi12smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
4
4
|
._13xs13hi:last-of-type, .ProseMirror .pm-table-wrapper>table thead ._19xw13hi:last-of-type, .pm-table-wrapper>table thead ._ex0g13hi:last-of-type{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--ds-elevation-surface-current,#fff) 10%)}
|
|
5
5
|
._19itidpf, .ProseMirror .pm-table-wrapper>table tbody ._1i5zidpf, .pm-table-wrapper>table tbody ._aifmidpf{border:0}
|
|
@@ -95,7 +95,7 @@ const InlineEditableTableCell = forwardRef(({
|
|
|
95
95
|
return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
|
|
96
96
|
style: __cmpls,
|
|
97
97
|
ref: __cmplr,
|
|
98
|
-
className: ax(["
|
|
98
|
+
className: ax(["_11c82smr _1otx2smr _1wi12smr _19itidpf _1i5zidpf _aifmidpf _1s7z1x13 _1xqp1x13 _mxou1x13 _n7zl1x13 _15lr1x13 _itmm1x13 _ca0qze3t _7jflze3t _1ikkze3t _u5f3ze3t _1cngze3t _1h12ze3t _n3tdze3t _v6nkze3t _jivqze3t _19bvze3t _krvdze3t _1w1yze3t _1ul91wug _1lkc1wug _1jcm1wug _4t3i1ylp _1ugg1ylp _lt6w1ylp _s7n41kw7 _11nx1kw7 _18a21kw7 _vchh1ntv _16601ntv _1qd91ntv _1ls2idpf _1ho1idpf _1y4pidpf _1cimn7od _124in7od", __cmplp.className])
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
101
101
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18m915vq{overflow-y:hidden}
|
|
3
3
|
._1bto1l2s{text-overflow:ellipsis}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
@@ -13,7 +13,7 @@ import { WidthObserver } from '@atlaskit/width-detector';
|
|
|
13
13
|
import { userTypeMessages } from './messages';
|
|
14
14
|
import UserTypeOld from './user-old';
|
|
15
15
|
const styles = {
|
|
16
|
-
userWrapperStyles: "
|
|
16
|
+
userWrapperStyles: "_11c82smr _1e0c1txw _4cvr1h6o",
|
|
17
17
|
avatarWrapperStyles: "_2hwxu2gc",
|
|
18
18
|
widthObserverWrapperStyles: "_kqswh2mm"
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18zru2gc{padding-inline:var(--ds-space-100,8px)}
|
|
3
3
|
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
@@ -12,7 +12,7 @@ import { userTypeMessages } from '../../render-type/user/messages';
|
|
|
12
12
|
import { EmptyAvatarOld } from './avatar-old';
|
|
13
13
|
const styles = {
|
|
14
14
|
avatarWrapperStyles: "_2hwxu2gc",
|
|
15
|
-
emptyAvatarWrapperStyles: "
|
|
15
|
+
emptyAvatarWrapperStyles: "_11c82smr _1rjc1b66 _18zru2gc _1e0c1txw _4cvr1h6o _tzy4idpf _16l4kb7n"
|
|
16
16
|
};
|
|
17
17
|
export const EmptyAvatarNew = () => {
|
|
18
18
|
const intl = useIntl();
|
|
@@ -9,9 +9,9 @@ const styles = {
|
|
|
9
9
|
labelStyles: "_1reo15vq _18m915vq _1bto1l2s _1bsb1osq"
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
* Renders a icon and text label.
|
|
13
|
+
* If the text is undefined, will not render the text label.
|
|
14
|
+
*/
|
|
15
15
|
export function SharedIconComponentNew({
|
|
16
16
|
iconUrl,
|
|
17
17
|
label = '',
|
|
@@ -81,7 +81,7 @@ export const InlineEditableTableCell = styled.td({
|
|
|
81
81
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
82
82
|
[`${withTablePluginBodyPrefix()}`]: {
|
|
83
83
|
/* First section here is to override things editor table plugin css defines */
|
|
84
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
84
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
85
85
|
padding: `${"var(--ds-space-0, 0)"} ${"var(--ds-space-0, 0)"}`,
|
|
86
86
|
border: 0,
|
|
87
87
|
minWidth: 'auto',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1kw7{border-radius:inherit}
|
|
3
3
|
._x3do17u4{border-top:2px solid var(--ds-background-accent-gray-subtler,#dfe1e6)}
|
|
4
4
|
._13liidpf{border-top-left-radius:0}
|
|
@@ -74,7 +74,7 @@ const SyncTextWrapper = forwardRef(({
|
|
|
74
74
|
return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
|
|
75
75
|
style: __cmpls,
|
|
76
76
|
ref: __cmplr,
|
|
77
|
-
className: ax(["
|
|
77
|
+
className: ax(["_11c8dcr7 _2hwx12x7", __cmplp.className])
|
|
78
78
|
}));
|
|
79
79
|
});
|
|
80
80
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -48,7 +48,7 @@ const SyncWrapper = styled.div({
|
|
|
48
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
49
49
|
const SyncTextWrapper = styled.div({
|
|
50
50
|
marginRight: "var(--ds-space-075, 6px)",
|
|
51
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
51
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
52
52
|
});
|
|
53
53
|
export const TableFooterOld = ({
|
|
54
54
|
datasourceId,
|
|
@@ -10,6 +10,7 @@ import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import { useDatasourceAnalyticsEvents } from '../../analytics';
|
|
12
12
|
import useErrorLogger from '../../hooks/useErrorLogger';
|
|
13
|
+
import { useDatasourceItem } from '../index';
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* Atomic actions available for an integration (by field)
|
|
@@ -197,6 +198,11 @@ export var useExecuteAtomicAction = function useExecuteAtomicAction(_ref5) {
|
|
|
197
198
|
_useAtomicUpdateActio3 = _useAtomicUpdateActio2[0],
|
|
198
199
|
schema = _useAtomicUpdateActio3.schema,
|
|
199
200
|
fetchSchema = _useAtomicUpdateActio3.fetchSchema;
|
|
201
|
+
var item = fg('enable_datasource_fetch_action_inputs') ?
|
|
202
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
203
|
+
useDatasourceItem({
|
|
204
|
+
id: ari
|
|
205
|
+
}) : undefined;
|
|
200
206
|
var _useDatasourceClientE2 = useDatasourceClientExtension(),
|
|
201
207
|
executeAction = _useDatasourceClientE2.executeAtomicAction,
|
|
202
208
|
invalidateDatasourceDataCacheByAri = _useDatasourceClientE2.invalidateDatasourceDataCacheByAri;
|
|
@@ -236,11 +242,37 @@ export var useExecuteAtomicAction = function useExecuteAtomicAction(_ref5) {
|
|
|
236
242
|
throw error;
|
|
237
243
|
});
|
|
238
244
|
}, [schema, executeAction, integrationKey, fieldKey, ari, invalidateDatasourceDataCacheByAri, fireEvent, captureError]);
|
|
239
|
-
var executeFetch = useCallback(function (
|
|
245
|
+
var executeFetch = useCallback(function (controlledInputs) {
|
|
240
246
|
if (!fetchSchema) {
|
|
241
247
|
throw new Error('No supporting action schema found.');
|
|
242
248
|
}
|
|
243
249
|
|
|
250
|
+
/**
|
|
251
|
+
* controlled inputs are useful for search fields, where a variable query is passed to the fetchAction
|
|
252
|
+
*/
|
|
253
|
+
var inputs = controlledInputs;
|
|
254
|
+
/**
|
|
255
|
+
* When FF is on and `controlledInputs` are not provided we look for required inputs in the fetchSchema
|
|
256
|
+
*/
|
|
257
|
+
if (!Object.keys(inputs).length && fetchSchema.inputs && !!Object.keys(fetchSchema.inputs).length && fg('enable_datasource_fetch_action_inputs')) {
|
|
258
|
+
var inputKeys = Object.keys(fetchSchema.inputs);
|
|
259
|
+
/**
|
|
260
|
+
* If present return the input value from the datasource item
|
|
261
|
+
* e.g. this could be the issueKey or projectId of a Jira issue
|
|
262
|
+
*/
|
|
263
|
+
inputs = inputKeys.reduce(function (acc, key) {
|
|
264
|
+
var _item$data;
|
|
265
|
+
var value = item === null || item === void 0 || (_item$data = item.data) === null || _item$data === void 0 || (_item$data = _item$data[key]) === null || _item$data === void 0 ? void 0 : _item$data.data;
|
|
266
|
+
if (typeof value === 'string' || typeof value === 'number') {
|
|
267
|
+
acc[key] = value;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* This allows for the schema and data from the BE to dynamically set the action inputs
|
|
271
|
+
*/
|
|
272
|
+
return acc;
|
|
273
|
+
}, {});
|
|
274
|
+
}
|
|
275
|
+
|
|
244
276
|
// A generic type can allow us here to define the inputs and outputs
|
|
245
277
|
return executeAction({
|
|
246
278
|
integrationKey: integrationKey,
|
|
@@ -262,7 +294,7 @@ export var useExecuteAtomicAction = function useExecuteAtomicAction(_ref5) {
|
|
|
262
294
|
// Rethrow up to component for flags and other handling
|
|
263
295
|
throw error;
|
|
264
296
|
});
|
|
265
|
-
}, [fetchSchema, executeAction, integrationKey, ari, fireEvent, captureError]);
|
|
297
|
+
}, [fetchSchema, executeAction, integrationKey, ari, item, fireEvent, captureError]);
|
|
266
298
|
return _objectSpread(_objectSpread({}, schema && {
|
|
267
299
|
execute: execute
|
|
268
300
|
}), fetchSchema && {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8nbxd{font:var(--ds-font-heading-small,normal 600 1pc/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
|
|
3
3
|
._19pku2gc{margin-top:var(--ds-space-100,8px)}
|
|
4
4
|
._19pkxncg{margin-top:var(--ds-space-800,4pc)}
|
|
@@ -8,7 +8,7 @@ import { Flex, Inline } from '@atlaskit/primitives/compiled';
|
|
|
8
8
|
import { NoInstancesViewOld } from './no-instances-old';
|
|
9
9
|
import { NoInstancesSvg } from './no-instances-svg';
|
|
10
10
|
var styles = {
|
|
11
|
-
titleStyles: "
|
|
11
|
+
titleStyles: "_11c8nbxd _19pkpxbi",
|
|
12
12
|
descriptionStyles: "_19pku2gc",
|
|
13
13
|
containerStyles: "_19pkxncg"
|
|
14
14
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1b66{border-radius:var(--ds-space-050,4px)}
|
|
3
3
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
4
4
|
._zulpv77o{gap:var(--ds-space-025,2px)}
|
|
@@ -50,7 +50,7 @@ var ModeSwitcherNew = function ModeSwitcherNew(props) {
|
|
|
50
50
|
return /*#__PURE__*/React.createElement("label", _extends({}, tooltipProps, {
|
|
51
51
|
key: value,
|
|
52
52
|
"data-testid": "mode-toggle-".concat(value),
|
|
53
|
-
className: ax(["
|
|
53
|
+
className: ax(["_11c8dcr7 _2rko1b66 _syaziwyp _k48p1pd9 _1p1dangw _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _d0altlke _irr3u7au", isCompact && "_ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66", isSelected && "_2rko1b66 _bfhkkwt5 _16qs1jze _d0altlke _irr3kwt5", isDisabled && "_irr31j28 _d0al13gf", isOptionDisabled && "_syaz111d", isOptionDisabled && "_irr31j28 _d0al13gf"]),
|
|
54
54
|
style: {
|
|
55
55
|
"--_k4gmmg": ix("var(--ds-text-subtlest, ".concat(N700, ")")),
|
|
56
56
|
"--_15egq0b": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30A, ")")),
|
|
@@ -36,7 +36,7 @@ var modeInputStyles = css({
|
|
|
36
36
|
});
|
|
37
37
|
var modeSwitcherLabelStyles = css({
|
|
38
38
|
color: "var(--ds-text-subtlest, ".concat(N700, ")"),
|
|
39
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
39
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
40
40
|
fontWeight: "var(--ds-font-weight-semibold, 600)",
|
|
41
41
|
textTransform: 'uppercase',
|
|
42
42
|
padding: "var(--ds-space-050, 4px)",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
3
3
|
._1e0c1txw{display:flex}
|
|
4
4
|
._1pbyibnn{z-index:11}
|
|
@@ -82,7 +82,7 @@ var SiteSelectorNew = function SiteSelectorNew(props) {
|
|
|
82
82
|
testId: testId,
|
|
83
83
|
value: selectedSiteOption,
|
|
84
84
|
label: formatMessage(siteSelectorMessages.chooseSite),
|
|
85
|
-
className: ax(["
|
|
85
|
+
className: ax(["_11c82smr _1pbyibnn"])
|
|
86
86
|
})));
|
|
87
87
|
};
|
|
88
88
|
export var SiteSelector = function SiteSelector(props) {
|
|
@@ -23,7 +23,7 @@ var dropdownContainerStyles = xcss({
|
|
|
23
23
|
minHeight: '40px' // to prevent vertical shifting when site selector pops in
|
|
24
24
|
});
|
|
25
25
|
var selectStyles = css({
|
|
26
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
26
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
27
27
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
28
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
29
29
|
zIndex: siteSelectorIndex
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
._11c81kw7{font:inherit}
|
|
2
|
-
.
|
|
2
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._19itglyw{border:none}
|
|
4
4
|
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
5
5
|
._zulpv77o{gap:var(--ds-space-025,2px)}
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var DateRangeErrorMessage = forwardRef(function (_ref, __cmplr) {
|
|
|
38
38
|
return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
|
|
39
39
|
style: __cmpls,
|
|
40
40
|
ref: __cmplr,
|
|
41
|
-
className: ax(["_zulpv77o
|
|
41
|
+
className: ax(["_zulpv77o _11c8dcr7 _1e0c1txw _19pk57x3 _bozgv77o _syaz1ick _4cvr1h6o", __cmplp.className])
|
|
42
42
|
}));
|
|
43
43
|
});
|
|
44
44
|
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled-old.js
CHANGED
|
@@ -86,7 +86,7 @@ export var DateRangeErrorMessageOld = styled.div({
|
|
|
86
86
|
marginTop: "var(--ds-space-050, 2px)",
|
|
87
87
|
gap: "var(--ds-space-025, 2px)",
|
|
88
88
|
paddingInlineStart: "var(--ds-space-025, 2px)",
|
|
89
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
89
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
90
90
|
color: "var(--ds-text-danger, ".concat(R400, ")"),
|
|
91
91
|
alignItems: 'center'
|
|
92
92
|
});
|
|
@@ -45,7 +45,7 @@ var IconEditType = function IconEditType(props) {
|
|
|
45
45
|
autoFocus: true,
|
|
46
46
|
blurInputOnSelect: true,
|
|
47
47
|
defaultMenuIsOpen: true
|
|
48
|
-
// We can't update
|
|
48
|
+
// We can't update this field if we don't have an ID - however the ID
|
|
49
49
|
// is typed optional.
|
|
50
50
|
,
|
|
51
51
|
options: fg('platform-datasources-inline-edit-id-checks') ? options.filter(function (option) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._11c82smr, .ProseMirror .pm-table-wrapper>table tbody ._1otx2smr, .pm-table-wrapper>table tbody ._1wi12smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._13xs13hi:last-of-type, .ProseMirror .pm-table-wrapper>table thead ._19xw13hi:last-of-type, .pm-table-wrapper>table thead ._ex0g13hi:last-of-type{background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,var(--ds-elevation-surface-current,#fff) 10%)}
|
|
4
4
|
._19itidpf, .ProseMirror .pm-table-wrapper>table tbody ._1i5zidpf, .pm-table-wrapper>table tbody ._aifmidpf{border:0}
|
|
5
5
|
._19itidpf, .ProseMirror .pm-table-wrapper>table thead ._aks5idpf, .pm-table-wrapper>table thead ._1u3bidpf{border:0}
|
|
@@ -107,7 +107,7 @@ var InlineEditableTableCell = forwardRef(function (_ref4, __cmplr) {
|
|
|
107
107
|
return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
|
|
108
108
|
style: __cmpls,
|
|
109
109
|
ref: __cmplr,
|
|
110
|
-
className: ax(["
|
|
110
|
+
className: ax(["_11c82smr _1otx2smr _1wi12smr _19itidpf _1i5zidpf _aifmidpf _1s7z1x13 _1xqp1x13 _mxou1x13 _n7zl1x13 _15lr1x13 _itmm1x13 _ca0qze3t _7jflze3t _1ikkze3t _u5f3ze3t _1cngze3t _1h12ze3t _n3tdze3t _v6nkze3t _jivqze3t _19bvze3t _krvdze3t _1w1yze3t _1ul91wug _1lkc1wug _1jcm1wug _4t3i1ylp _1ugg1ylp _lt6w1ylp _s7n41kw7 _11nx1kw7 _18a21kw7 _vchh1ntv _16601ntv _1qd91ntv _1ls2idpf _1ho1idpf _1y4pidpf _1cimn7od _124in7od", __cmplp.className])
|
|
111
111
|
}));
|
|
112
112
|
});
|
|
113
113
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18m915vq{overflow-y:hidden}
|
|
3
3
|
._1bto1l2s{text-overflow:ellipsis}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
@@ -16,7 +16,7 @@ import { WidthObserver } from '@atlaskit/width-detector';
|
|
|
16
16
|
import { userTypeMessages } from './messages';
|
|
17
17
|
import UserTypeOld from './user-old';
|
|
18
18
|
var styles = {
|
|
19
|
-
userWrapperStyles: "
|
|
19
|
+
userWrapperStyles: "_11c82smr _1e0c1txw _4cvr1h6o",
|
|
20
20
|
avatarWrapperStyles: "_2hwxu2gc",
|
|
21
21
|
widthObserverWrapperStyles: "_kqswh2mm"
|
|
22
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18zru2gc{padding-inline:var(--ds-space-100,8px)}
|
|
3
3
|
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
4
4
|
._1e0c1txw{display:flex}
|
|
@@ -12,7 +12,7 @@ import { userTypeMessages } from '../../render-type/user/messages';
|
|
|
12
12
|
import { EmptyAvatarOld } from './avatar-old';
|
|
13
13
|
var styles = {
|
|
14
14
|
avatarWrapperStyles: "_2hwxu2gc",
|
|
15
|
-
emptyAvatarWrapperStyles: "
|
|
15
|
+
emptyAvatarWrapperStyles: "_11c82smr _1rjc1b66 _18zru2gc _1e0c1txw _4cvr1h6o _tzy4idpf _16l4kb7n"
|
|
16
16
|
};
|
|
17
17
|
export var EmptyAvatarNew = function EmptyAvatarNew() {
|
|
18
18
|
var intl = useIntl();
|
|
@@ -9,9 +9,9 @@ var styles = {
|
|
|
9
9
|
labelStyles: "_1reo15vq _18m915vq _1bto1l2s _1bsb1osq"
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
* Renders a icon and text label.
|
|
13
|
+
* If the text is undefined, will not render the text label.
|
|
14
|
+
*/
|
|
15
15
|
export function SharedIconComponentNew(_ref) {
|
|
16
16
|
var iconUrl = _ref.iconUrl,
|
|
17
17
|
_ref$label = _ref.label,
|
|
@@ -68,7 +68,7 @@ export var TableHeading = styled.th(_defineProperty(_defineProperty(_definePrope
|
|
|
68
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- To migrate as part of go/ui-styling-standard
|
|
69
69
|
export var InlineEditableTableCell = styled.td(_defineProperty(_defineProperty(_defineProperty({}, "".concat(withTablePluginBodyPrefix()), {
|
|
70
70
|
/* First section here is to override things editor table plugin css defines */
|
|
71
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
71
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
72
72
|
padding: "var(--ds-space-0, 0)".concat(" ", "var(--ds-space-0, 0)"),
|
|
73
73
|
border: 0,
|
|
74
74
|
minWidth: 'auto',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko1kw7{border-radius:inherit}
|
|
3
3
|
._x3do17u4{border-top:2px solid var(--ds-background-accent-gray-subtler,#dfe1e6)}
|
|
4
4
|
._13liidpf{border-top-left-radius:0}
|
|
@@ -80,7 +80,7 @@ var SyncTextWrapper = forwardRef(function (_ref4, __cmplr) {
|
|
|
80
80
|
return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
|
|
81
81
|
style: __cmpls,
|
|
82
82
|
ref: __cmplr,
|
|
83
|
-
className: ax(["
|
|
83
|
+
className: ax(["_11c8dcr7 _2hwx12x7", __cmplp.className])
|
|
84
84
|
}));
|
|
85
85
|
});
|
|
86
86
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -49,7 +49,7 @@ var SyncWrapper = styled.div({
|
|
|
49
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
50
50
|
var SyncTextWrapper = styled.div({
|
|
51
51
|
marginRight: "var(--ds-space-075, 6px)",
|
|
52
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
52
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
53
53
|
});
|
|
54
54
|
export var TableFooterOld = function TableFooterOld(_ref) {
|
|
55
55
|
var datasourceId = _ref.datasourceId,
|
|
@@ -19,5 +19,5 @@ interface SharedIconComponentProps {
|
|
|
19
19
|
* Renders a icon and text label.
|
|
20
20
|
* If the text is undefined, will not render the text label.
|
|
21
21
|
*/
|
|
22
|
-
export declare function SharedIconComponentOld({ iconUrl, label, text, testId }: SharedIconComponentProps): React.JSX.Element;
|
|
22
|
+
export declare function SharedIconComponentOld({ iconUrl, label, text, testId, }: SharedIconComponentProps): React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -16,9 +16,9 @@ interface SharedIconComponentProps {
|
|
|
16
16
|
testId: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare function SharedIconComponentNew({ iconUrl, label, text, testId }: SharedIconComponentProps): React.JSX.Element;
|
|
19
|
+
* Renders a icon and text label.
|
|
20
|
+
* If the text is undefined, will not render the text label.
|
|
21
|
+
*/
|
|
22
|
+
export declare function SharedIconComponentNew({ iconUrl, label, text, testId, }: SharedIconComponentProps): React.JSX.Element;
|
|
23
23
|
export declare function SharedIconComponent(props: SharedIconComponentProps): React.JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -19,5 +19,5 @@ interface SharedIconComponentProps {
|
|
|
19
19
|
* Renders a icon and text label.
|
|
20
20
|
* If the text is undefined, will not render the text label.
|
|
21
21
|
*/
|
|
22
|
-
export declare function SharedIconComponentOld({ iconUrl, label, text, testId }: SharedIconComponentProps): React.JSX.Element;
|
|
22
|
+
export declare function SharedIconComponentOld({ iconUrl, label, text, testId, }: SharedIconComponentProps): React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -16,9 +16,9 @@ interface SharedIconComponentProps {
|
|
|
16
16
|
testId: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare function SharedIconComponentNew({ iconUrl, label, text, testId }: SharedIconComponentProps): React.JSX.Element;
|
|
19
|
+
* Renders a icon and text label.
|
|
20
|
+
* If the text is undefined, will not render the text label.
|
|
21
|
+
*/
|
|
22
|
+
export declare function SharedIconComponentNew({ iconUrl, label, text, testId, }: SharedIconComponentProps): React.JSX.Element;
|
|
23
23
|
export declare function SharedIconComponent(props: SharedIconComponentProps): React.JSX.Element;
|
|
24
24
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "3.22.
|
|
3
|
+
"version": "3.22.2",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"@atlaskit/atlassian-context": "^0.2.0",
|
|
43
43
|
"@atlaskit/avatar": "^24.0.0",
|
|
44
44
|
"@atlaskit/avatar-group": "^12.0.0",
|
|
45
|
-
"@atlaskit/badge": "^18.
|
|
45
|
+
"@atlaskit/badge": "^18.1.0",
|
|
46
46
|
"@atlaskit/button": "^21.1.0",
|
|
47
47
|
"@atlaskit/css": "^0.10.0",
|
|
48
|
-
"@atlaskit/datetime-picker": "^16.
|
|
48
|
+
"@atlaskit/datetime-picker": "^16.1.0",
|
|
49
49
|
"@atlaskit/dropdown-menu": "^13.0.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
51
51
|
"@atlaskit/empty-state": "^9.0.0",
|
|
52
|
-
"@atlaskit/flag": "^16.
|
|
52
|
+
"@atlaskit/flag": "^16.2.0",
|
|
53
53
|
"@atlaskit/form": "^12.0.0",
|
|
54
54
|
"@atlaskit/heading": "^5.1.0",
|
|
55
55
|
"@atlaskit/icon": "^24.1.0",
|
|
56
56
|
"@atlaskit/icon-object": "^7.0.0",
|
|
57
57
|
"@atlaskit/image": "^2.0.0",
|
|
58
|
-
"@atlaskit/inline-edit": "^15.
|
|
58
|
+
"@atlaskit/inline-edit": "^15.1.0",
|
|
59
59
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
60
60
|
"@atlaskit/jql-ast": "^3.3.0",
|
|
61
61
|
"@atlaskit/jql-editor": "^5.0.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/linking-common": "^8.0.0",
|
|
66
66
|
"@atlaskit/linking-types": "^9.6.0",
|
|
67
67
|
"@atlaskit/logo": "^16.0.0",
|
|
68
|
-
"@atlaskit/lozenge": "^12.
|
|
68
|
+
"@atlaskit/lozenge": "^12.2.0",
|
|
69
69
|
"@atlaskit/modal-dialog": "^13.0.0",
|
|
70
70
|
"@atlaskit/outbound-auth-flow-client": "^3.4.5",
|
|
71
71
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
"@atlaskit/primitives": "^14.1.0",
|
|
78
78
|
"@atlaskit/react-select": "^2.0.0",
|
|
79
79
|
"@atlaskit/select": "^20.0.0",
|
|
80
|
-
"@atlaskit/smart-card": "^35.
|
|
80
|
+
"@atlaskit/smart-card": "^35.2.0",
|
|
81
81
|
"@atlaskit/smart-user-picker": "8.0.0",
|
|
82
82
|
"@atlaskit/spinner": "^18.0.0",
|
|
83
83
|
"@atlaskit/tag": "^14.0.0",
|
|
84
|
-
"@atlaskit/textfield": "8.0.
|
|
85
|
-
"@atlaskit/theme": "^
|
|
84
|
+
"@atlaskit/textfield": "8.0.1",
|
|
85
|
+
"@atlaskit/theme": "^18.0.0",
|
|
86
86
|
"@atlaskit/tokens": "^4.3.0",
|
|
87
87
|
"@atlaskit/tooltip": "^20.0.0",
|
|
88
88
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -165,6 +165,9 @@
|
|
|
165
165
|
"enable_datasource_supporting_actions": {
|
|
166
166
|
"type": "boolean"
|
|
167
167
|
},
|
|
168
|
+
"enable_datasource_fetch_action_inputs": {
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
168
171
|
"platform-datasources-enable-two-way-sync-statuses": {
|
|
169
172
|
"type": "boolean"
|
|
170
173
|
},
|