@atlaskit/link-datasource 4.11.8 → 4.11.10
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 +14 -0
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +3 -2
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +3 -2
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +6 -4
- package/dist/cjs/ui/common/modal/site-selector/index.js +3 -2
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +3 -2
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +6 -4
- package/dist/cjs/ui/issue-like-table/column-picker/index.js +6 -4
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +3 -1
- package/dist/cjs/ui/issue-like-table/index.js +6 -34
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +3 -2
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +3 -2
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +6 -4
- package/dist/es2019/ui/common/modal/site-selector/index.js +3 -2
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +3 -2
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +6 -4
- package/dist/es2019/ui/issue-like-table/column-picker/index.js +6 -4
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +3 -1
- package/dist/es2019/ui/issue-like-table/index.js +6 -33
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +3 -2
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +3 -2
- package/dist/esm/ui/common/modal/popup-select/trigger.js +6 -4
- package/dist/esm/ui/common/modal/site-selector/index.js +3 -2
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js +3 -2
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js +6 -4
- package/dist/esm/ui/issue-like-table/column-picker/index.js +6 -4
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +3 -1
- package/dist/esm/ui/issue-like-table/index.js +6 -34
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.11.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#163266](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/163266)
|
|
8
|
+
[`a2a46974b5d8d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2a46974b5d8d) -
|
|
9
|
+
Cleans up fg `enable_fix_datasource_jumping_columns`
|
|
10
|
+
|
|
11
|
+
## 4.11.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.11.8
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ var _debouncePromise = _interopRequireDefault(require("debounce-promise"));
|
|
|
20
20
|
var _reactIntlNext = require("react-intl-next");
|
|
21
21
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
22
22
|
var _form = require("@atlaskit/form");
|
|
23
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
23
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
24
24
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
25
25
|
var _select = require("@atlaskit/select");
|
|
26
26
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -143,7 +143,8 @@ var AssetsObjectSchemaSelect = exports.AssetsObjectSchemaSelect = function Asset
|
|
|
143
143
|
iconAfter: function iconAfter() {
|
|
144
144
|
return /*#__PURE__*/React.createElement(_chevronDown.default, {
|
|
145
145
|
label: "",
|
|
146
|
-
color: "currentColor"
|
|
146
|
+
color: "currentColor",
|
|
147
|
+
size: "small"
|
|
147
148
|
});
|
|
148
149
|
}
|
|
149
150
|
}), ((_restFieldProps$value = restFieldProps.value) === null || _restFieldProps$value === void 0 ? void 0 : _restFieldProps$value.label) || formatMessage(_messages.objectSchemaSelectMessages.placeholder));
|
|
@@ -15,7 +15,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
15
15
|
var _reactIntlNext = require("react-intl-next");
|
|
16
16
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
17
17
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
18
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
18
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
19
19
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
21
|
var _messages = require("./messages");
|
|
@@ -90,7 +90,8 @@ var DisplayViewDropDown = exports.DisplayViewDropDown = function DisplayViewDrop
|
|
|
90
90
|
iconAfter: function iconAfter() {
|
|
91
91
|
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
92
92
|
label: "",
|
|
93
|
-
color: "currentColor"
|
|
93
|
+
color: "currentColor",
|
|
94
|
+
size: "small"
|
|
94
95
|
});
|
|
95
96
|
}
|
|
96
97
|
}), triggerText);
|
|
@@ -16,8 +16,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
16
16
|
var _badge = _interopRequireDefault(require("@atlaskit/badge"));
|
|
17
17
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
18
18
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
19
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
20
|
-
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/
|
|
19
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
20
|
+
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
22
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
23
23
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
@@ -72,7 +72,8 @@ var PopupTrigger = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
|
72
72
|
iconAfter: function iconAfter() {
|
|
73
73
|
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
74
74
|
label: "",
|
|
75
|
-
color: "currentColor"
|
|
75
|
+
color: "currentColor",
|
|
76
|
+
size: "small"
|
|
76
77
|
});
|
|
77
78
|
},
|
|
78
79
|
testId: "".concat(triggerButtonTestId, "--button")
|
|
@@ -89,7 +90,8 @@ var PopupTrigger = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
|
89
90
|
isDisabled: isDisabled,
|
|
90
91
|
iconAfter: /*#__PURE__*/_react.default.createElement(_chevronDown2.default, {
|
|
91
92
|
label: "",
|
|
92
|
-
color: "currentColor"
|
|
93
|
+
color: "currentColor",
|
|
94
|
+
size: "small"
|
|
93
95
|
}),
|
|
94
96
|
testId: "".concat(triggerButtonTestId, "--button")
|
|
95
97
|
}, /*#__PURE__*/_react.default.createElement(_compiled.Flex, null, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
@@ -17,7 +17,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
18
18
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
19
19
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
20
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
20
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
22
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
23
23
|
var _select = _interopRequireWildcard(require("@atlaskit/select"));
|
|
@@ -85,7 +85,8 @@ var SiteSelector = exports.SiteSelector = function SiteSelector(props) {
|
|
|
85
85
|
iconAfter: function iconAfter() {
|
|
86
86
|
return /*#__PURE__*/React.createElement(_chevronDown.default, {
|
|
87
87
|
label: "",
|
|
88
|
-
color: "currentColor"
|
|
88
|
+
color: "currentColor",
|
|
89
|
+
size: "small"
|
|
89
90
|
});
|
|
90
91
|
},
|
|
91
92
|
testId: "".concat(testId, "__control")
|
package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
16
16
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
18
18
|
var _datetimePicker = require("@atlaskit/datetime-picker");
|
|
19
|
-
var _error = _interopRequireDefault(require("@atlaskit/icon/
|
|
19
|
+
var _error = _interopRequireDefault(require("@atlaskit/icon/core/migration/error"));
|
|
20
20
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
21
21
|
var _colors = require("@atlaskit/theme/colors");
|
|
22
22
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -252,7 +252,8 @@ var DateRangePicker = exports.DateRangePicker = function DateRangePicker(_ref6)
|
|
|
252
252
|
LEGACY_size: "small",
|
|
253
253
|
color: "var(--ds-icon-danger, ".concat(_colors.R400, ")"),
|
|
254
254
|
label: formatMessage(_messages.dateRangeMessages.dateRangeError),
|
|
255
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)")
|
|
255
|
+
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)"),
|
|
256
|
+
size: "small"
|
|
256
257
|
}), invalidDateRange), /*#__PURE__*/_react.default.createElement(SelectDateRangeButton, {
|
|
257
258
|
"data-testId": "custom-date-range-update-button",
|
|
258
259
|
disabled: Boolean(invalidDateRange),
|
package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js
CHANGED
|
@@ -9,8 +9,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
11
11
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
12
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
13
|
-
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/
|
|
12
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
13
|
+
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
14
14
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
15
|
var PopupTrigger = exports.PopupTrigger = function PopupTrigger(_ref) {
|
|
16
16
|
var triggerProps = _ref.triggerProps,
|
|
@@ -26,7 +26,8 @@ var PopupTrigger = exports.PopupTrigger = function PopupTrigger(_ref) {
|
|
|
26
26
|
iconAfter: function iconAfter() {
|
|
27
27
|
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
28
28
|
label: "",
|
|
29
|
-
color: "currentColor"
|
|
29
|
+
color: "currentColor",
|
|
30
|
+
size: "small"
|
|
30
31
|
});
|
|
31
32
|
}
|
|
32
33
|
}), labelPrefix, selectedLabel ? ": ".concat(selectedLabel) : '');
|
|
@@ -46,7 +47,8 @@ var PopupTrigger = exports.PopupTrigger = function PopupTrigger(_ref) {
|
|
|
46
47
|
}, /*#__PURE__*/_react.default.createElement(_chevronDown2.default, {
|
|
47
48
|
LEGACY_size: "medium",
|
|
48
49
|
label: "",
|
|
49
|
-
color: "currentColor"
|
|
50
|
+
color: "currentColor",
|
|
51
|
+
size: "small"
|
|
50
52
|
}))
|
|
51
53
|
}), labelPrefix, selectedLabel ? ": ".concat(selectedLabel) : '');
|
|
52
54
|
};
|
|
@@ -16,10 +16,10 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
16
16
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
18
18
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
19
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
19
20
|
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
20
21
|
var _board = _interopRequireDefault(require("@atlaskit/icon/core/migration/board"));
|
|
21
|
-
var
|
|
22
|
-
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
|
|
22
|
+
var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
23
23
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
24
24
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
25
25
|
var _select = require("@atlaskit/select");
|
|
@@ -176,11 +176,13 @@ var ColumnPicker = exports.ColumnPicker = function ColumnPicker(_ref) {
|
|
|
176
176
|
spacing: "spacious",
|
|
177
177
|
LEGACY_margin: "0 0 0 4px"
|
|
178
178
|
}), (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-sllv') ? /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
179
|
-
label: "down"
|
|
179
|
+
label: "down",
|
|
180
|
+
size: "small"
|
|
180
181
|
}) : /*#__PURE__*/_react.default.createElement(_chevronDown2.default, {
|
|
181
182
|
color: "currentColor",
|
|
182
183
|
label: "down",
|
|
183
|
-
LEGACY_size: "medium"
|
|
184
|
+
LEGACY_size: "medium",
|
|
185
|
+
size: "small"
|
|
184
186
|
}));
|
|
185
187
|
}
|
|
186
188
|
}), '');
|
|
@@ -22,6 +22,7 @@ var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
|
22
22
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
23
23
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
|
|
24
24
|
var _chevronUp = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-up"));
|
|
25
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
25
26
|
var _closestEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge");
|
|
26
27
|
var _box = require("@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/box");
|
|
27
28
|
var _combine = require("@atlaskit/pragmatic-drag-and-drop/combine");
|
|
@@ -348,7 +349,8 @@ var DraggableTableHeading = exports.DraggableTableHeading = function DraggableTa
|
|
|
348
349
|
}) : null, onIsWrappedChange ? /*#__PURE__*/React.createElement(DropdownParent, null, /*#__PURE__*/React.createElement(_dropdownMenu.default, {
|
|
349
350
|
trigger: getTriggerButton,
|
|
350
351
|
onOpenChange: onDropdownOpenChange,
|
|
351
|
-
placement: 'bottom'
|
|
352
|
+
placement: 'bottom',
|
|
353
|
+
shouldRenderToParent: (0, _platformFeatureFlags.fg)('should-render-to-parent-should-be-true-linking-pla')
|
|
352
354
|
}, /*#__PURE__*/React.createElement(_dropdownMenu.DropdownItem, {
|
|
353
355
|
elemBefore: isWrapped ? /*#__PURE__*/React.createElement(_customIcons.UnwrapTextIcon, null) : /*#__PURE__*/React.createElement(_customIcons.WrapTextIcon, null),
|
|
354
356
|
testId: "".concat(id, "-column-dropdown-item-toggle-wrapping"),
|
|
@@ -18,11 +18,9 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
18
18
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
19
19
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
20
20
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
21
|
-
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
22
21
|
var _tinyInvariant = _interopRequireDefault(require("tiny-invariant"));
|
|
23
22
|
var _flag = require("@atlaskit/flag");
|
|
24
23
|
var _linkingCommon = require("@atlaskit/linking-common");
|
|
25
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
26
24
|
var _closestEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge");
|
|
27
25
|
var _reorderWithEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge");
|
|
28
26
|
var _pragmaticDragAndDropReactBeautifulDndAutoscroll = require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll");
|
|
@@ -32,7 +30,6 @@ var _compiled = require("@atlaskit/primitives/compiled");
|
|
|
32
30
|
var _colors = require("@atlaskit/theme/colors");
|
|
33
31
|
var _typography = require("@atlaskit/theme/typography");
|
|
34
32
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
35
|
-
var _widthDetector = require("@atlaskit/width-detector");
|
|
36
33
|
var _ufoExperiences = require("../../analytics/ufoExperiences");
|
|
37
34
|
var _datasourceExperienceId = require("../../contexts/datasource-experience-id");
|
|
38
35
|
var _columnPicker = require("./column-picker");
|
|
@@ -223,22 +220,6 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
|
|
|
223
220
|
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
224
221
|
orderedColumns = _useState6[0],
|
|
225
222
|
setOrderedColumns = _useState6[1];
|
|
226
|
-
var isJumpingColumnFixEnabled = (0, _platformFeatureFlags.fg)('enable_fix_datasource_jumping_columns');
|
|
227
|
-
|
|
228
|
-
// Table container width is used to know if sum of all column widths is bigger of container or not.
|
|
229
|
-
// When sum of all columns is less than container size we make last column stretchable (width: undefined)
|
|
230
|
-
var _useState7 = (0, _react.useState)(),
|
|
231
|
-
_useState8 = (0, _slicedToArray2.default)(_useState7, 2),
|
|
232
|
-
tableContainerWidthOld = _useState8[0],
|
|
233
|
-
setTableContainerWidthOld = _useState8[1];
|
|
234
|
-
(0, _react.useEffect)(function () {
|
|
235
|
-
var current = containerRef.current;
|
|
236
|
-
if (!isJumpingColumnFixEnabled) {
|
|
237
|
-
if (containerRef && current) {
|
|
238
|
-
setTableContainerWidthOld(current.getBoundingClientRect().width);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}, [containerRef, isJumpingColumnFixEnabled]);
|
|
242
223
|
(0, _react.useEffect)(function () {
|
|
243
224
|
if (orderedColumns.length !== columns.length) {
|
|
244
225
|
setOrderedColumns(getOrderedColumns((0, _toConsumableArray2.default)(columns), (0, _toConsumableArray2.default)(visibleColumnKeys)));
|
|
@@ -273,14 +254,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
|
|
|
273
254
|
}, 0) + (onVisibleColumnKeysChange ? columnPickerWidth : 0);
|
|
274
255
|
}, [columnCustomSizes, onVisibleColumnKeysChange, visibleSortedColumns]);
|
|
275
256
|
var shouldUseWidth = !!(onColumnResize || columnCustomSizes);
|
|
276
|
-
var
|
|
277
|
-
if (isLastCell && shouldUseWidth && (!tableContainerWidthOld || tableContainerWidthOld > columnsWidthsSum)) {
|
|
278
|
-
return undefined;
|
|
279
|
-
} else {
|
|
280
|
-
return (columnCustomSizes === null || columnCustomSizes === void 0 ? void 0 : columnCustomSizes[key]) || getDefaultColumnWidth(key, type);
|
|
281
|
-
}
|
|
282
|
-
}, [columnCustomSizes, columnsWidthsSum, shouldUseWidth, tableContainerWidthOld]);
|
|
283
|
-
var tableContainerWidth = isJumpingColumnFixEnabled ? Math.ceil(((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().width) || 0) : 0;
|
|
257
|
+
var tableContainerWidth = Math.ceil(((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().width) || 0);
|
|
284
258
|
var getColumnWidth = (0, _react.useCallback)(function (key, type, isLastCell) {
|
|
285
259
|
if (isLastCell && shouldUseWidth && tableContainerWidth && tableContainerWidth > columnsWidthsSum) {
|
|
286
260
|
return undefined;
|
|
@@ -297,10 +271,10 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
|
|
|
297
271
|
key: key,
|
|
298
272
|
content: title,
|
|
299
273
|
shouldTruncate: true,
|
|
300
|
-
width:
|
|
274
|
+
width: getColumnWidth(key, type, index === visibleSortedColumns.length - 1)
|
|
301
275
|
};
|
|
302
276
|
});
|
|
303
|
-
}, [getColumnWidth,
|
|
277
|
+
}, [getColumnWidth, visibleSortedColumns]);
|
|
304
278
|
var loadingRow = (0, _react.useMemo)(function () {
|
|
305
279
|
return {
|
|
306
280
|
key: 'loading',
|
|
@@ -420,7 +394,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
|
|
|
420
394
|
wrappedColumnKeys: wrappedColumnKeys,
|
|
421
395
|
renderItem: renderItem
|
|
422
396
|
}),
|
|
423
|
-
width:
|
|
397
|
+
width: getColumnWidth(key, type, cellIndex === visibleSortedColumns.length - 1)
|
|
424
398
|
};
|
|
425
399
|
}),
|
|
426
400
|
ref: rowIndex === items.length - 1 ? function (el) {
|
|
@@ -428,7 +402,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
|
|
|
428
402
|
} : undefined
|
|
429
403
|
};
|
|
430
404
|
});
|
|
431
|
-
}, [items, itemIds, renderItem, wrappedColumnKeys, visibleSortedColumns, getColumnWidth
|
|
405
|
+
}, [items, itemIds, renderItem, wrappedColumnKeys, visibleSortedColumns, getColumnWidth]);
|
|
432
406
|
var rows = (0, _react.useMemo)(function () {
|
|
433
407
|
if (status !== 'loading') {
|
|
434
408
|
return tableRows;
|
|
@@ -503,9 +477,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
|
|
|
503
477
|
} : undefined), {}, {
|
|
504
478
|
"--_11c95on": (0, _runtime.ix)("\n\t\tlinear-gradient(90deg, ".concat("var(--ds-elevation-surface-current, #FFF)", " 30%, rgba(255, 255, 255, 0)),\n\t\tlinear-gradient(90deg, ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.1))", ", rgba(0, 0, 0, 0)),\n\t\tlinear-gradient(90deg, rgba(255, 255, 255, 0), ", "var(--ds-elevation-surface-current, #FFF)", " 70%),\n\t\tlinear-gradient(90deg, rgba(0, 0, 0, 0), ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.1))", "),\n\t\tlinear-gradient(0deg, rgba(255, 255, 255, 0), ", "var(--ds-elevation-surface-current, #FFF)", " 30%),\n\t\tlinear-gradient(0deg, rgba(0, 0, 0, 0), ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.05))", "),\n\t\tlinear-gradient(0deg, ", "var(--ds-elevation-surface-current, #FFF)", " 30%, rgba(255, 255, 255, 0)),\n\t\tlinear-gradient(0deg, ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.05))", ", rgba(0, 0, 0, 0))\n\t\t"))
|
|
505
479
|
})
|
|
506
|
-
},
|
|
507
|
-
setWidth: (0, _debounce.default)(setTableContainerWidthOld, 100)
|
|
508
|
-
}), /*#__PURE__*/React.createElement(Table, {
|
|
480
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
509
481
|
"data-testid": testId
|
|
510
482
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
511
483
|
,
|
|
@@ -8,7 +8,7 @@ import debounce from 'debounce-promise';
|
|
|
8
8
|
import { useIntl } from 'react-intl-next';
|
|
9
9
|
import Button from '@atlaskit/button/new';
|
|
10
10
|
import { Field } from '@atlaskit/form';
|
|
11
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
11
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
13
|
import { AsyncSelect, PopupSelect } from '@atlaskit/select';
|
|
14
14
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -106,7 +106,8 @@ export const AssetsObjectSchemaSelect = ({
|
|
|
106
106
|
isSelected: isOpen,
|
|
107
107
|
iconAfter: () => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
108
108
|
label: "",
|
|
109
|
-
color: "currentColor"
|
|
109
|
+
color: "currentColor",
|
|
110
|
+
size: "small"
|
|
110
111
|
})
|
|
111
112
|
}), ((_restFieldProps$value = restFieldProps.value) === null || _restFieldProps$value === void 0 ? void 0 : _restFieldProps$value.label) || formatMessage(objectSchemaSelectMessages.placeholder));
|
|
112
113
|
}
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
7
7
|
import Button from '@atlaskit/button/new';
|
|
8
8
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
9
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
9
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { displayViewDropDownMessages } from './messages';
|
|
@@ -80,7 +80,8 @@ export const DisplayViewDropDown = ({
|
|
|
80
80
|
ref: triggerRef,
|
|
81
81
|
iconAfter: () => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
82
82
|
label: "",
|
|
83
|
-
color: "currentColor"
|
|
83
|
+
color: "currentColor",
|
|
84
|
+
size: "small"
|
|
84
85
|
})
|
|
85
86
|
}), triggerText),
|
|
86
87
|
testId: "datasource-modal--view-drop-down"
|
|
@@ -6,8 +6,8 @@ import React, { forwardRef, useCallback } from 'react';
|
|
|
6
6
|
import Badge from '@atlaskit/badge';
|
|
7
7
|
import NewButton from '@atlaskit/button/new';
|
|
8
8
|
import Button from '@atlaskit/button/standard-button';
|
|
9
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
10
|
-
import ChevronDownIconOld from '@atlaskit/icon/
|
|
9
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
10
|
+
import ChevronDownIconOld from '@atlaskit/icon/core/migration/chevron-down';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import Spinner from '@atlaskit/spinner';
|
|
@@ -55,7 +55,8 @@ const PopupTrigger = /*#__PURE__*/forwardRef(({
|
|
|
55
55
|
isDisabled: isDisabled,
|
|
56
56
|
iconAfter: () => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
57
57
|
label: "",
|
|
58
|
-
color: "currentColor"
|
|
58
|
+
color: "currentColor",
|
|
59
|
+
size: "small"
|
|
59
60
|
}),
|
|
60
61
|
testId: `${triggerButtonTestId}--button`
|
|
61
62
|
}, /*#__PURE__*/React.createElement(Flex, null, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -71,7 +72,8 @@ const PopupTrigger = /*#__PURE__*/forwardRef(({
|
|
|
71
72
|
isDisabled: isDisabled,
|
|
72
73
|
iconAfter: /*#__PURE__*/React.createElement(ChevronDownIconOld, {
|
|
73
74
|
label: "",
|
|
74
|
-
color: "currentColor"
|
|
75
|
+
color: "currentColor",
|
|
76
|
+
size: "small"
|
|
75
77
|
}),
|
|
76
78
|
testId: `${triggerButtonTestId}--button`
|
|
77
79
|
}, /*#__PURE__*/React.createElement(Flex, null, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -7,7 +7,7 @@ import { useMemo } from 'react';
|
|
|
7
7
|
import { useIntl } from 'react-intl-next';
|
|
8
8
|
import Button from '@atlaskit/button/new';
|
|
9
9
|
import Heading from '@atlaskit/heading';
|
|
10
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
10
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import Select, { PopupSelect } from '@atlaskit/select';
|
|
@@ -65,7 +65,8 @@ export const SiteSelector = props => {
|
|
|
65
65
|
isSelected: isOpen,
|
|
66
66
|
iconAfter: () => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
67
67
|
label: "",
|
|
68
|
-
color: "currentColor"
|
|
68
|
+
color: "currentColor",
|
|
69
|
+
size: "small"
|
|
69
70
|
}),
|
|
70
71
|
testId: `${testId}__control`
|
|
71
72
|
}), (selectedSiteOption === null || selectedSiteOption === void 0 ? void 0 : selectedSiteOption.label) || formatMessage(siteSelectorMessages.chooseSite))
|
package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
8
8
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
9
|
-
import ErrorIcon from '@atlaskit/icon/
|
|
9
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
10
10
|
import Popup from '@atlaskit/popup';
|
|
11
11
|
import { N0, N20, N30, R400 } from '@atlaskit/theme/colors';
|
|
12
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -218,7 +218,8 @@ export const DateRangePicker = ({
|
|
|
218
218
|
LEGACY_size: "small",
|
|
219
219
|
color: `var(--ds-icon-danger, ${R400})`,
|
|
220
220
|
label: formatMessage(dateRangeMessages.dateRangeError),
|
|
221
|
-
LEGACY_margin: `0 ${"var(--ds-space-negative-025, -2px)"}
|
|
221
|
+
LEGACY_margin: `0 ${"var(--ds-space-negative-025, -2px)"}`,
|
|
222
|
+
size: "small"
|
|
222
223
|
}), invalidDateRange), /*#__PURE__*/React.createElement(SelectDateRangeButton, {
|
|
223
224
|
"data-testId": "custom-date-range-update-button",
|
|
224
225
|
disabled: Boolean(invalidDateRange),
|
package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js
CHANGED
|
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import NewButton from '@atlaskit/button/new';
|
|
4
4
|
import Button from '@atlaskit/button/standard-button';
|
|
5
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
6
|
-
import ChevronDownIconOld from '@atlaskit/icon/
|
|
5
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
6
|
+
import ChevronDownIconOld from '@atlaskit/icon/core/migration/chevron-down';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
export const PopupTrigger = ({
|
|
9
9
|
triggerProps,
|
|
@@ -19,7 +19,8 @@ export const PopupTrigger = ({
|
|
|
19
19
|
isSelected: isSelected,
|
|
20
20
|
iconAfter: () => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
21
21
|
label: "",
|
|
22
|
-
color: "currentColor"
|
|
22
|
+
color: "currentColor",
|
|
23
|
+
size: "small"
|
|
23
24
|
})
|
|
24
25
|
}), labelPrefix, selectedLabel ? `: ${selectedLabel}` : '');
|
|
25
26
|
}
|
|
@@ -38,7 +39,8 @@ export const PopupTrigger = ({
|
|
|
38
39
|
}, /*#__PURE__*/React.createElement(ChevronDownIconOld, {
|
|
39
40
|
LEGACY_size: "medium",
|
|
40
41
|
label: "",
|
|
41
|
-
color: "currentColor"
|
|
42
|
+
color: "currentColor",
|
|
43
|
+
size: "small"
|
|
42
44
|
}))
|
|
43
45
|
}), labelPrefix, selectedLabel ? `: ${selectedLabel}` : '');
|
|
44
46
|
};
|
|
@@ -5,10 +5,10 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl-next';
|
|
7
7
|
import Button from '@atlaskit/button/new';
|
|
8
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
8
9
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
9
10
|
import BoardIcon from '@atlaskit/icon/core/migration/board';
|
|
10
|
-
import
|
|
11
|
-
import ChevronDownIconOld from '@atlaskit/icon/utility/migration/chevron-down';
|
|
11
|
+
import ChevronDownIconOld from '@atlaskit/icon/core/migration/chevron-down';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
14
|
import { CheckboxOption, createFilter, PopupSelect } from '@atlaskit/select';
|
|
@@ -147,11 +147,13 @@ export const ColumnPicker = ({
|
|
|
147
147
|
spacing: "spacious",
|
|
148
148
|
LEGACY_margin: "0 0 0 4px"
|
|
149
149
|
}), fg('platform-linking-visual-refresh-sllv') ? /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
150
|
-
label: "down"
|
|
150
|
+
label: "down",
|
|
151
|
+
size: "small"
|
|
151
152
|
}) : /*#__PURE__*/React.createElement(ChevronDownIconOld, {
|
|
152
153
|
color: "currentColor",
|
|
153
154
|
label: "down",
|
|
154
|
-
LEGACY_size: "medium"
|
|
155
|
+
LEGACY_size: "medium",
|
|
156
|
+
size: "small"
|
|
155
157
|
}))
|
|
156
158
|
}), ''))
|
|
157
159
|
});
|
|
@@ -14,6 +14,7 @@ import Button from '@atlaskit/button/new';
|
|
|
14
14
|
import DropdownMenu, { DropdownItem } from '@atlaskit/dropdown-menu';
|
|
15
15
|
import ChevronDown from '@atlaskit/icon/utility/migration/chevron-down';
|
|
16
16
|
import ChevronUp from '@atlaskit/icon/utility/migration/chevron-up';
|
|
17
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
18
|
import { attachClosestEdge, extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';
|
|
18
19
|
import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/box';
|
|
19
20
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
|
|
@@ -323,7 +324,8 @@ export const DraggableTableHeading = ({
|
|
|
323
324
|
}) : null, onIsWrappedChange ? /*#__PURE__*/React.createElement(DropdownParent, null, /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
324
325
|
trigger: getTriggerButton,
|
|
325
326
|
onOpenChange: onDropdownOpenChange,
|
|
326
|
-
placement: 'bottom'
|
|
327
|
+
placement: 'bottom',
|
|
328
|
+
shouldRenderToParent: fg('should-render-to-parent-should-be-true-linking-pla')
|
|
327
329
|
}, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
328
330
|
elemBefore: isWrapped ? /*#__PURE__*/React.createElement(UnwrapTextIcon, null) : /*#__PURE__*/React.createElement(WrapTextIcon, null),
|
|
329
331
|
testId: `${id}-column-dropdown-item-toggle-wrapping`,
|
|
@@ -7,11 +7,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
/* eslint-disable @atlaskit/design-system/use-tokens-typography */
|
|
8
8
|
|
|
9
9
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
10
|
-
import debounce from 'lodash/debounce';
|
|
11
10
|
import invariant from 'tiny-invariant';
|
|
12
11
|
import { FlagsProvider } from '@atlaskit/flag';
|
|
13
12
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
13
|
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';
|
|
16
14
|
import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
|
|
17
15
|
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
|
|
@@ -21,7 +19,6 @@ import { Box } from '@atlaskit/primitives/compiled';
|
|
|
21
19
|
import { N40 } from '@atlaskit/theme/colors';
|
|
22
20
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
23
21
|
import Tooltip from '@atlaskit/tooltip';
|
|
24
|
-
import { WidthObserver } from '@atlaskit/width-detector';
|
|
25
22
|
import { startUfoExperience, succeedUfoExperience } from '../../analytics/ufoExperiences';
|
|
26
23
|
import { useDatasourceExperienceId } from '../../contexts/datasource-experience-id';
|
|
27
24
|
import { ColumnPicker } from './column-picker';
|
|
@@ -189,21 +186,6 @@ export const IssueLikeDataTableView = ({
|
|
|
189
186
|
const isBottomOfTableVisibleRaw = useIsOnScreen(lastRowElement);
|
|
190
187
|
const containerRef = useRef(null);
|
|
191
188
|
const [orderedColumns, setOrderedColumns] = useState(() => getOrderedColumns([...columns], [...visibleColumnKeys]));
|
|
192
|
-
const isJumpingColumnFixEnabled = fg('enable_fix_datasource_jumping_columns');
|
|
193
|
-
|
|
194
|
-
// Table container width is used to know if sum of all column widths is bigger of container or not.
|
|
195
|
-
// When sum of all columns is less than container size we make last column stretchable (width: undefined)
|
|
196
|
-
const [tableContainerWidthOld, setTableContainerWidthOld] = useState();
|
|
197
|
-
useEffect(() => {
|
|
198
|
-
const {
|
|
199
|
-
current
|
|
200
|
-
} = containerRef;
|
|
201
|
-
if (!isJumpingColumnFixEnabled) {
|
|
202
|
-
if (containerRef && current) {
|
|
203
|
-
setTableContainerWidthOld(current.getBoundingClientRect().width);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}, [containerRef, isJumpingColumnFixEnabled]);
|
|
207
189
|
useEffect(() => {
|
|
208
190
|
if (orderedColumns.length !== columns.length) {
|
|
209
191
|
setOrderedColumns(getOrderedColumns([...columns], [...visibleColumnKeys]));
|
|
@@ -228,14 +210,7 @@ export const IssueLikeDataTableView = ({
|
|
|
228
210
|
type
|
|
229
211
|
}) => (columnCustomSizes === null || columnCustomSizes === void 0 ? void 0 : columnCustomSizes[key]) || getDefaultColumnWidth(key, type)).reduce((sum, width) => width + sum, 0) + (onVisibleColumnKeysChange ? columnPickerWidth : 0), [columnCustomSizes, onVisibleColumnKeysChange, visibleSortedColumns]);
|
|
230
212
|
const shouldUseWidth = !!(onColumnResize || columnCustomSizes);
|
|
231
|
-
const
|
|
232
|
-
if (isLastCell && shouldUseWidth && (!tableContainerWidthOld || tableContainerWidthOld > columnsWidthsSum)) {
|
|
233
|
-
return undefined;
|
|
234
|
-
} else {
|
|
235
|
-
return (columnCustomSizes === null || columnCustomSizes === void 0 ? void 0 : columnCustomSizes[key]) || getDefaultColumnWidth(key, type);
|
|
236
|
-
}
|
|
237
|
-
}, [columnCustomSizes, columnsWidthsSum, shouldUseWidth, tableContainerWidthOld]);
|
|
238
|
-
const tableContainerWidth = isJumpingColumnFixEnabled ? Math.ceil(((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().width) || 0) : 0;
|
|
213
|
+
const tableContainerWidth = Math.ceil(((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().width) || 0);
|
|
239
214
|
const getColumnWidth = useCallback((key, type, isLastCell) => {
|
|
240
215
|
if (isLastCell && shouldUseWidth && tableContainerWidth && tableContainerWidth > columnsWidthsSum) {
|
|
241
216
|
return undefined;
|
|
@@ -251,8 +226,8 @@ export const IssueLikeDataTableView = ({
|
|
|
251
226
|
key,
|
|
252
227
|
content: title,
|
|
253
228
|
shouldTruncate: true,
|
|
254
|
-
width:
|
|
255
|
-
})), [getColumnWidth,
|
|
229
|
+
width: getColumnWidth(key, type, index === visibleSortedColumns.length - 1)
|
|
230
|
+
})), [getColumnWidth, visibleSortedColumns]);
|
|
256
231
|
const loadingRow = useMemo(() => ({
|
|
257
232
|
key: 'loading',
|
|
258
233
|
cells: headerColumns.map(column => ({
|
|
@@ -371,12 +346,12 @@ export const IssueLikeDataTableView = ({
|
|
|
371
346
|
wrappedColumnKeys: wrappedColumnKeys,
|
|
372
347
|
renderItem: renderItem
|
|
373
348
|
}),
|
|
374
|
-
width:
|
|
349
|
+
width: getColumnWidth(key, type, cellIndex === visibleSortedColumns.length - 1)
|
|
375
350
|
};
|
|
376
351
|
}),
|
|
377
352
|
ref: rowIndex === items.length - 1 ? el => setLastRowElement(el) : undefined
|
|
378
353
|
};
|
|
379
|
-
}), [items, itemIds, renderItem, wrappedColumnKeys, visibleSortedColumns, getColumnWidth
|
|
354
|
+
}), [items, itemIds, renderItem, wrappedColumnKeys, visibleSortedColumns, getColumnWidth]);
|
|
380
355
|
const rows = useMemo(() => {
|
|
381
356
|
if (status !== 'loading') {
|
|
382
357
|
return tableRows;
|
|
@@ -434,9 +409,7 @@ export const IssueLikeDataTableView = ({
|
|
|
434
409
|
} : undefined,
|
|
435
410
|
"data-testid": 'issue-like-table-container',
|
|
436
411
|
className: ax(["_mrkbidpf _1o0zidpf _kqswh2mm", scrollableContainerHeight && "_1reo1wug _18m91wug _vchhusvi _bfhkchd4 _1itk1sfv _ouxlbac2 _12vemgnk _1lrw1sd4 _qmxj1c00"])
|
|
437
|
-
},
|
|
438
|
-
setWidth: debounce(setTableContainerWidthOld, 100)
|
|
439
|
-
}), /*#__PURE__*/React.createElement(Table, {
|
|
412
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
440
413
|
"data-testid": testId
|
|
441
414
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
442
415
|
,
|
|
@@ -17,7 +17,7 @@ import debounce from 'debounce-promise';
|
|
|
17
17
|
import { useIntl } from 'react-intl-next';
|
|
18
18
|
import Button from '@atlaskit/button/new';
|
|
19
19
|
import { Field } from '@atlaskit/form';
|
|
20
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
20
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import { AsyncSelect, PopupSelect } from '@atlaskit/select';
|
|
23
23
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -135,7 +135,8 @@ export var AssetsObjectSchemaSelect = function AssetsObjectSchemaSelect(_ref2) {
|
|
|
135
135
|
iconAfter: function iconAfter() {
|
|
136
136
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
137
137
|
label: "",
|
|
138
|
-
color: "currentColor"
|
|
138
|
+
color: "currentColor",
|
|
139
|
+
size: "small"
|
|
139
140
|
});
|
|
140
141
|
}
|
|
141
142
|
}), ((_restFieldProps$value = restFieldProps.value) === null || _restFieldProps$value === void 0 ? void 0 : _restFieldProps$value.label) || formatMessage(objectSchemaSelectMessages.placeholder));
|
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
9
9
|
import Button from '@atlaskit/button/new';
|
|
10
10
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
11
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
11
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
14
|
import { displayViewDropDownMessages } from './messages';
|
|
@@ -81,7 +81,8 @@ export var DisplayViewDropDown = function DisplayViewDropDown(_ref) {
|
|
|
81
81
|
iconAfter: function iconAfter() {
|
|
82
82
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
83
83
|
label: "",
|
|
84
|
-
color: "currentColor"
|
|
84
|
+
color: "currentColor",
|
|
85
|
+
size: "small"
|
|
85
86
|
});
|
|
86
87
|
}
|
|
87
88
|
}), triggerText);
|
|
@@ -9,8 +9,8 @@ import React, { forwardRef, useCallback } from 'react';
|
|
|
9
9
|
import Badge from '@atlaskit/badge';
|
|
10
10
|
import NewButton from '@atlaskit/button/new';
|
|
11
11
|
import Button from '@atlaskit/button/standard-button';
|
|
12
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
13
|
-
import ChevronDownIconOld from '@atlaskit/icon/
|
|
12
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
|
+
import ChevronDownIconOld from '@atlaskit/icon/core/migration/chevron-down';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import { Box, Flex } from '@atlaskit/primitives/compiled';
|
|
16
16
|
import Spinner from '@atlaskit/spinner';
|
|
@@ -63,7 +63,8 @@ var PopupTrigger = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
63
63
|
iconAfter: function iconAfter() {
|
|
64
64
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
65
65
|
label: "",
|
|
66
|
-
color: "currentColor"
|
|
66
|
+
color: "currentColor",
|
|
67
|
+
size: "small"
|
|
67
68
|
});
|
|
68
69
|
},
|
|
69
70
|
testId: "".concat(triggerButtonTestId, "--button")
|
|
@@ -80,7 +81,8 @@ var PopupTrigger = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
80
81
|
isDisabled: isDisabled,
|
|
81
82
|
iconAfter: /*#__PURE__*/React.createElement(ChevronDownIconOld, {
|
|
82
83
|
label: "",
|
|
83
|
-
color: "currentColor"
|
|
84
|
+
color: "currentColor",
|
|
85
|
+
size: "small"
|
|
84
86
|
}),
|
|
85
87
|
testId: "".concat(triggerButtonTestId, "--button")
|
|
86
88
|
}, /*#__PURE__*/React.createElement(Flex, null, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -14,7 +14,7 @@ import { useMemo } from 'react';
|
|
|
14
14
|
import { useIntl } from 'react-intl-next';
|
|
15
15
|
import Button from '@atlaskit/button/new';
|
|
16
16
|
import Heading from '@atlaskit/heading';
|
|
17
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
17
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
18
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
19
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
20
20
|
import Select, { PopupSelect } from '@atlaskit/select';
|
|
@@ -76,7 +76,8 @@ export var SiteSelector = function SiteSelector(props) {
|
|
|
76
76
|
iconAfter: function iconAfter() {
|
|
77
77
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
78
78
|
label: "",
|
|
79
|
-
color: "currentColor"
|
|
79
|
+
color: "currentColor",
|
|
80
|
+
size: "small"
|
|
80
81
|
});
|
|
81
82
|
},
|
|
82
83
|
testId: "".concat(testId, "__control")
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.js
CHANGED
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
17
17
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
18
18
|
import { DatePicker } from '@atlaskit/datetime-picker';
|
|
19
|
-
import ErrorIcon from '@atlaskit/icon/
|
|
19
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
20
20
|
import Popup from '@atlaskit/popup';
|
|
21
21
|
import { N0, N20, N30, R400 } from '@atlaskit/theme/colors';
|
|
22
22
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -245,7 +245,8 @@ export var DateRangePicker = function DateRangePicker(_ref6) {
|
|
|
245
245
|
LEGACY_size: "small",
|
|
246
246
|
color: "var(--ds-icon-danger, ".concat(R400, ")"),
|
|
247
247
|
label: formatMessage(dateRangeMessages.dateRangeError),
|
|
248
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)")
|
|
248
|
+
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)"),
|
|
249
|
+
size: "small"
|
|
249
250
|
}), invalidDateRange), /*#__PURE__*/React.createElement(SelectDateRangeButton, {
|
|
250
251
|
"data-testId": "custom-date-range-update-button",
|
|
251
252
|
disabled: Boolean(invalidDateRange),
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.js
CHANGED
|
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import NewButton from '@atlaskit/button/new';
|
|
4
4
|
import Button from '@atlaskit/button/standard-button';
|
|
5
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
6
|
-
import ChevronDownIconOld from '@atlaskit/icon/
|
|
5
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
6
|
+
import ChevronDownIconOld from '@atlaskit/icon/core/migration/chevron-down';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
export var PopupTrigger = function PopupTrigger(_ref) {
|
|
9
9
|
var triggerProps = _ref.triggerProps,
|
|
@@ -19,7 +19,8 @@ export var PopupTrigger = function PopupTrigger(_ref) {
|
|
|
19
19
|
iconAfter: function iconAfter() {
|
|
20
20
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
21
21
|
label: "",
|
|
22
|
-
color: "currentColor"
|
|
22
|
+
color: "currentColor",
|
|
23
|
+
size: "small"
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
26
|
}), labelPrefix, selectedLabel ? ": ".concat(selectedLabel) : '');
|
|
@@ -39,7 +40,8 @@ export var PopupTrigger = function PopupTrigger(_ref) {
|
|
|
39
40
|
}, /*#__PURE__*/React.createElement(ChevronDownIconOld, {
|
|
40
41
|
LEGACY_size: "medium",
|
|
41
42
|
label: "",
|
|
42
|
-
color: "currentColor"
|
|
43
|
+
color: "currentColor",
|
|
44
|
+
size: "small"
|
|
43
45
|
}))
|
|
44
46
|
}), labelPrefix, selectedLabel ? ": ".concat(selectedLabel) : '');
|
|
45
47
|
};
|
|
@@ -9,10 +9,10 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
9
9
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import Button from '@atlaskit/button/new';
|
|
12
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
12
13
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
13
14
|
import BoardIcon from '@atlaskit/icon/core/migration/board';
|
|
14
|
-
import
|
|
15
|
-
import ChevronDownIconOld from '@atlaskit/icon/utility/migration/chevron-down';
|
|
15
|
+
import ChevronDownIconOld from '@atlaskit/icon/core/migration/chevron-down';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
17
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
18
18
|
import { CheckboxOption, createFilter, PopupSelect } from '@atlaskit/select';
|
|
@@ -167,11 +167,13 @@ export var ColumnPicker = function ColumnPicker(_ref) {
|
|
|
167
167
|
spacing: "spacious",
|
|
168
168
|
LEGACY_margin: "0 0 0 4px"
|
|
169
169
|
}), fg('platform-linking-visual-refresh-sllv') ? /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
170
|
-
label: "down"
|
|
170
|
+
label: "down",
|
|
171
|
+
size: "small"
|
|
171
172
|
}) : /*#__PURE__*/React.createElement(ChevronDownIconOld, {
|
|
172
173
|
color: "currentColor",
|
|
173
174
|
label: "down",
|
|
174
|
-
LEGACY_size: "medium"
|
|
175
|
+
LEGACY_size: "medium",
|
|
176
|
+
size: "small"
|
|
175
177
|
}));
|
|
176
178
|
}
|
|
177
179
|
}), '');
|
|
@@ -22,6 +22,7 @@ import Button from '@atlaskit/button/new';
|
|
|
22
22
|
import DropdownMenu, { DropdownItem } from '@atlaskit/dropdown-menu';
|
|
23
23
|
import ChevronDown from '@atlaskit/icon/utility/migration/chevron-down';
|
|
24
24
|
import ChevronUp from '@atlaskit/icon/utility/migration/chevron-up';
|
|
25
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
25
26
|
import { attachClosestEdge, extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';
|
|
26
27
|
import { DropIndicator } from '@atlaskit/pragmatic-drag-and-drop-react-drop-indicator/box';
|
|
27
28
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
|
|
@@ -342,7 +343,8 @@ export var DraggableTableHeading = function DraggableTableHeading(_ref3) {
|
|
|
342
343
|
}) : null, onIsWrappedChange ? /*#__PURE__*/React.createElement(DropdownParent, null, /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
343
344
|
trigger: getTriggerButton,
|
|
344
345
|
onOpenChange: onDropdownOpenChange,
|
|
345
|
-
placement: 'bottom'
|
|
346
|
+
placement: 'bottom',
|
|
347
|
+
shouldRenderToParent: fg('should-render-to-parent-should-be-true-linking-pla')
|
|
346
348
|
}, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
347
349
|
elemBefore: isWrapped ? /*#__PURE__*/React.createElement(UnwrapTextIcon, null) : /*#__PURE__*/React.createElement(WrapTextIcon, null),
|
|
348
350
|
testId: "".concat(id, "-column-dropdown-item-toggle-wrapping"),
|
|
@@ -19,11 +19,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
/* eslint-disable @atlaskit/design-system/use-tokens-typography */
|
|
20
20
|
|
|
21
21
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
22
|
-
import debounce from 'lodash/debounce';
|
|
23
22
|
import invariant from 'tiny-invariant';
|
|
24
23
|
import { FlagsProvider } from '@atlaskit/flag';
|
|
25
24
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
26
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
27
25
|
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge';
|
|
28
26
|
import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
|
|
29
27
|
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
|
|
@@ -33,7 +31,6 @@ import { Box } from '@atlaskit/primitives/compiled';
|
|
|
33
31
|
import { N40 } from '@atlaskit/theme/colors';
|
|
34
32
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
35
33
|
import Tooltip from '@atlaskit/tooltip';
|
|
36
|
-
import { WidthObserver } from '@atlaskit/width-detector';
|
|
37
34
|
import { startUfoExperience, succeedUfoExperience } from '../../analytics/ufoExperiences';
|
|
38
35
|
import { useDatasourceExperienceId } from '../../contexts/datasource-experience-id';
|
|
39
36
|
import { ColumnPicker } from './column-picker';
|
|
@@ -216,22 +213,6 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
216
213
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
217
214
|
orderedColumns = _useState6[0],
|
|
218
215
|
setOrderedColumns = _useState6[1];
|
|
219
|
-
var isJumpingColumnFixEnabled = fg('enable_fix_datasource_jumping_columns');
|
|
220
|
-
|
|
221
|
-
// Table container width is used to know if sum of all column widths is bigger of container or not.
|
|
222
|
-
// When sum of all columns is less than container size we make last column stretchable (width: undefined)
|
|
223
|
-
var _useState7 = useState(),
|
|
224
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
225
|
-
tableContainerWidthOld = _useState8[0],
|
|
226
|
-
setTableContainerWidthOld = _useState8[1];
|
|
227
|
-
useEffect(function () {
|
|
228
|
-
var current = containerRef.current;
|
|
229
|
-
if (!isJumpingColumnFixEnabled) {
|
|
230
|
-
if (containerRef && current) {
|
|
231
|
-
setTableContainerWidthOld(current.getBoundingClientRect().width);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}, [containerRef, isJumpingColumnFixEnabled]);
|
|
235
216
|
useEffect(function () {
|
|
236
217
|
if (orderedColumns.length !== columns.length) {
|
|
237
218
|
setOrderedColumns(getOrderedColumns(_toConsumableArray(columns), _toConsumableArray(visibleColumnKeys)));
|
|
@@ -266,14 +247,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
266
247
|
}, 0) + (onVisibleColumnKeysChange ? columnPickerWidth : 0);
|
|
267
248
|
}, [columnCustomSizes, onVisibleColumnKeysChange, visibleSortedColumns]);
|
|
268
249
|
var shouldUseWidth = !!(onColumnResize || columnCustomSizes);
|
|
269
|
-
var
|
|
270
|
-
if (isLastCell && shouldUseWidth && (!tableContainerWidthOld || tableContainerWidthOld > columnsWidthsSum)) {
|
|
271
|
-
return undefined;
|
|
272
|
-
} else {
|
|
273
|
-
return (columnCustomSizes === null || columnCustomSizes === void 0 ? void 0 : columnCustomSizes[key]) || getDefaultColumnWidth(key, type);
|
|
274
|
-
}
|
|
275
|
-
}, [columnCustomSizes, columnsWidthsSum, shouldUseWidth, tableContainerWidthOld]);
|
|
276
|
-
var tableContainerWidth = isJumpingColumnFixEnabled ? Math.ceil(((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().width) || 0) : 0;
|
|
250
|
+
var tableContainerWidth = Math.ceil(((_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.getBoundingClientRect().width) || 0);
|
|
277
251
|
var getColumnWidth = useCallback(function (key, type, isLastCell) {
|
|
278
252
|
if (isLastCell && shouldUseWidth && tableContainerWidth && tableContainerWidth > columnsWidthsSum) {
|
|
279
253
|
return undefined;
|
|
@@ -290,10 +264,10 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
290
264
|
key: key,
|
|
291
265
|
content: title,
|
|
292
266
|
shouldTruncate: true,
|
|
293
|
-
width:
|
|
267
|
+
width: getColumnWidth(key, type, index === visibleSortedColumns.length - 1)
|
|
294
268
|
};
|
|
295
269
|
});
|
|
296
|
-
}, [getColumnWidth,
|
|
270
|
+
}, [getColumnWidth, visibleSortedColumns]);
|
|
297
271
|
var loadingRow = useMemo(function () {
|
|
298
272
|
return {
|
|
299
273
|
key: 'loading',
|
|
@@ -413,7 +387,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
413
387
|
wrappedColumnKeys: wrappedColumnKeys,
|
|
414
388
|
renderItem: renderItem
|
|
415
389
|
}),
|
|
416
|
-
width:
|
|
390
|
+
width: getColumnWidth(key, type, cellIndex === visibleSortedColumns.length - 1)
|
|
417
391
|
};
|
|
418
392
|
}),
|
|
419
393
|
ref: rowIndex === items.length - 1 ? function (el) {
|
|
@@ -421,7 +395,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
421
395
|
} : undefined
|
|
422
396
|
};
|
|
423
397
|
});
|
|
424
|
-
}, [items, itemIds, renderItem, wrappedColumnKeys, visibleSortedColumns, getColumnWidth
|
|
398
|
+
}, [items, itemIds, renderItem, wrappedColumnKeys, visibleSortedColumns, getColumnWidth]);
|
|
425
399
|
var rows = useMemo(function () {
|
|
426
400
|
if (status !== 'loading') {
|
|
427
401
|
return tableRows;
|
|
@@ -496,9 +470,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
496
470
|
} : undefined), {}, {
|
|
497
471
|
"--_11c95on": ix("\n\t\tlinear-gradient(90deg, ".concat("var(--ds-elevation-surface-current, #FFF)", " 30%, rgba(255, 255, 255, 0)),\n\t\tlinear-gradient(90deg, ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.1))", ", rgba(0, 0, 0, 0)),\n\t\tlinear-gradient(90deg, rgba(255, 255, 255, 0), ", "var(--ds-elevation-surface-current, #FFF)", " 70%),\n\t\tlinear-gradient(90deg, rgba(0, 0, 0, 0), ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.1))", "),\n\t\tlinear-gradient(0deg, rgba(255, 255, 255, 0), ", "var(--ds-elevation-surface-current, #FFF)", " 30%),\n\t\tlinear-gradient(0deg, rgba(0, 0, 0, 0), ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.05))", "),\n\t\tlinear-gradient(0deg, ", "var(--ds-elevation-surface-current, #FFF)", " 30%, rgba(255, 255, 255, 0)),\n\t\tlinear-gradient(0deg, ", "var(--ds-shadow-overflow-perimeter, rgba(0, 0, 0, 0.05))", ", rgba(0, 0, 0, 0))\n\t\t"))
|
|
498
472
|
})
|
|
499
|
-
},
|
|
500
|
-
setWidth: debounce(setTableContainerWidthOld, 100)
|
|
501
|
-
}), /*#__PURE__*/React.createElement(Table, {
|
|
473
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
502
474
|
"data-testid": testId
|
|
503
475
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
504
476
|
,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.10",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/link": "^3.2.0",
|
|
65
65
|
"@atlaskit/link-client-extension": "^5.0.0",
|
|
66
66
|
"@atlaskit/linking-common": "^9.0.0",
|
|
67
|
-
"@atlaskit/linking-types": "^
|
|
67
|
+
"@atlaskit/linking-types": "^12.0.0",
|
|
68
68
|
"@atlaskit/logo": "^19.0.0",
|
|
69
69
|
"@atlaskit/lozenge": "^13.0.0",
|
|
70
70
|
"@atlaskit/modal-dialog": "^14.2.0",
|
|
@@ -76,16 +76,16 @@
|
|
|
76
76
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^2.0.0",
|
|
77
77
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
78
78
|
"@atlaskit/primitives": "^14.8.0",
|
|
79
|
-
"@atlaskit/react-select": "^2.
|
|
80
|
-
"@atlaskit/select": "^20.
|
|
81
|
-
"@atlaskit/smart-card": "^38.
|
|
79
|
+
"@atlaskit/react-select": "^2.7.0",
|
|
80
|
+
"@atlaskit/select": "^20.7.0",
|
|
81
|
+
"@atlaskit/smart-card": "^38.8.0",
|
|
82
82
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
83
83
|
"@atlaskit/spinner": "^18.0.0",
|
|
84
84
|
"@atlaskit/tag": "^14.0.0",
|
|
85
85
|
"@atlaskit/temp-nav-app-icons": "^0.8.0",
|
|
86
86
|
"@atlaskit/textfield": "^8.0.0",
|
|
87
87
|
"@atlaskit/theme": "^18.0.0",
|
|
88
|
-
"@atlaskit/tokens": "^5.
|
|
88
|
+
"@atlaskit/tokens": "^5.1.0",
|
|
89
89
|
"@atlaskit/tooltip": "^20.3.0",
|
|
90
90
|
"@atlaskit/ufo": "^0.4.0",
|
|
91
91
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -179,9 +179,6 @@
|
|
|
179
179
|
"assets_as_an_app_v2": {
|
|
180
180
|
"type": "boolean"
|
|
181
181
|
},
|
|
182
|
-
"enable_fix_datasource_jumping_columns": {
|
|
183
|
-
"type": "boolean"
|
|
184
|
-
},
|
|
185
182
|
"platform-linking-visual-refresh-v1": {
|
|
186
183
|
"type": "boolean",
|
|
187
184
|
"showOnWebsiteForTransitiveDependencies": true
|
|
@@ -200,6 +197,9 @@
|
|
|
200
197
|
},
|
|
201
198
|
"fix_a11y_issues_inline_edit": {
|
|
202
199
|
"type": "boolean"
|
|
200
|
+
},
|
|
201
|
+
"should-render-to-parent-should-be-true-linking-pla": {
|
|
202
|
+
"type": "boolean"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/9c893299-a527-4457-9b46-f3bc4c828766"
|