@atlaskit/link-datasource 2.3.7 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/cjs/ui/assets-modal/modal/index.js +1 -1
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/index.js +6 -0
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +3 -0
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/index.js +2 -0
- package/dist/cjs/ui/assets-modal/search-container/aql-search-input/loading-state.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/index.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/loading-state.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/index.js +1 -1
- package/dist/cjs/ui/assets-modal/search-container/object-schema-select/loading-state.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/styled.js +7 -4
- package/dist/cjs/ui/common/error-state/access-required.js +3 -0
- package/dist/cjs/ui/common/error-state/loading-error.js +3 -0
- package/dist/cjs/ui/common/error-state/modal-loading-error.js +3 -0
- package/dist/cjs/ui/common/error-state/no-instances.js +2 -0
- package/dist/cjs/ui/common/error-state/no-results.js +3 -0
- package/dist/cjs/ui/common/error-state/provider-auth-required-svg.js +1 -0
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +2 -0
- package/dist/cjs/ui/common/initial-state-view/index.js +2 -0
- package/dist/cjs/ui/common/modal/basic-search-input/index.js +2 -0
- package/dist/cjs/ui/common/modal/cancel-button/index.js +2 -0
- package/dist/cjs/ui/common/modal/content-container/index.js +7 -0
- package/dist/cjs/ui/common/modal/count-view-smart-link/index.js +1 -0
- package/dist/cjs/ui/common/modal/datasource-modal/index.js +2 -1
- package/dist/cjs/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -0
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +7 -1
- package/dist/cjs/ui/common/modal/site-selector/index.js +2 -0
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +15 -7
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +1 -1
- package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +2 -0
- package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -0
- package/dist/cjs/ui/issue-like-table/column-picker/index.js +1 -0
- package/dist/cjs/ui/issue-like-table/drag-column-preview.js +11 -2
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +6 -0
- package/dist/cjs/ui/issue-like-table/empty-state/index.js +4 -1
- package/dist/cjs/ui/issue-like-table/empty-state/type.js +2 -0
- package/dist/cjs/ui/issue-like-table/index.js +11 -1
- package/dist/cjs/ui/issue-like-table/render-type/date-time/index.js +2 -1
- package/dist/cjs/ui/issue-like-table/render-type/icon/index.js +2 -0
- package/dist/cjs/ui/issue-like-table/render-type/link/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/richtext/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/text/index.js +3 -0
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +7 -0
- package/dist/cjs/ui/issue-like-table/styled.js +3 -3
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/buildJQL.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/jira-search-container/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +1 -1
- package/dist/cjs/ui/jira-issues-modal/mode-switcher/index.js +5 -0
- package/dist/cjs/ui/table-footer/index.js +4 -0
- package/dist/es2019/ui/assets-modal/modal/index.js +2 -0
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.js +6 -0
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +2 -0
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/index.js +2 -0
- package/dist/es2019/ui/assets-modal/search-container/aql-search-input/loading-state.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/index.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/loading-state.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/index.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/object-schema-select/loading-state.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/styled.js +6 -4
- package/dist/es2019/ui/common/error-state/access-required.js +3 -0
- package/dist/es2019/ui/common/error-state/loading-error.js +3 -0
- package/dist/es2019/ui/common/error-state/modal-loading-error.js +3 -0
- package/dist/es2019/ui/common/error-state/no-instances.js +2 -0
- package/dist/es2019/ui/common/error-state/no-results.js +3 -0
- package/dist/es2019/ui/common/error-state/provider-auth-required-svg.js +1 -0
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +2 -0
- package/dist/es2019/ui/common/initial-state-view/index.js +2 -0
- package/dist/es2019/ui/common/modal/basic-search-input/index.js +1 -0
- package/dist/es2019/ui/common/modal/cancel-button/index.js +2 -0
- package/dist/es2019/ui/common/modal/content-container/index.js +6 -0
- package/dist/es2019/ui/common/modal/count-view-smart-link/index.js +1 -0
- package/dist/es2019/ui/common/modal/datasource-modal/index.js +2 -1
- package/dist/es2019/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -0
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +7 -1
- package/dist/es2019/ui/common/modal/site-selector/index.js +3 -0
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +14 -7
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +2 -0
- package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +2 -0
- package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -0
- package/dist/es2019/ui/issue-like-table/column-picker/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/drag-column-preview.js +10 -2
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +8 -1
- package/dist/es2019/ui/issue-like-table/empty-state/index.js +4 -1
- package/dist/es2019/ui/issue-like-table/empty-state/type.js +2 -0
- package/dist/es2019/ui/issue-like-table/index.js +17 -1
- package/dist/es2019/ui/issue-like-table/render-type/date-time/index.js +3 -0
- package/dist/es2019/ui/issue-like-table/render-type/icon/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/render-type/link/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/richtext/index.js +2 -0
- package/dist/es2019/ui/issue-like-table/render-type/text/index.js +3 -0
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +6 -0
- package/dist/es2019/ui/issue-like-table/styled.js +8 -2
- package/dist/es2019/ui/jira-issues-modal/jira-search-container/buildJQL.js +1 -1
- package/dist/es2019/ui/jira-issues-modal/jira-search-container/index.js +2 -0
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +2 -0
- package/dist/es2019/ui/jira-issues-modal/mode-switcher/index.js +5 -0
- package/dist/es2019/ui/table-footer/index.js +3 -0
- package/dist/esm/ui/assets-modal/modal/index.js +2 -0
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.js +6 -0
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +2 -0
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/index.js +2 -0
- package/dist/esm/ui/assets-modal/search-container/aql-search-input/loading-state.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/index.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/loading-state.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/index.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/object-schema-select/loading-state.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/styled.js +6 -4
- package/dist/esm/ui/common/error-state/access-required.js +3 -0
- package/dist/esm/ui/common/error-state/loading-error.js +3 -0
- package/dist/esm/ui/common/error-state/modal-loading-error.js +3 -0
- package/dist/esm/ui/common/error-state/no-instances.js +2 -0
- package/dist/esm/ui/common/error-state/no-results.js +3 -0
- package/dist/esm/ui/common/error-state/provider-auth-required-svg.js +1 -0
- package/dist/esm/ui/common/error-state/provider-auth-required.js +2 -0
- package/dist/esm/ui/common/initial-state-view/index.js +2 -0
- package/dist/esm/ui/common/modal/basic-search-input/index.js +1 -0
- package/dist/esm/ui/common/modal/cancel-button/index.js +2 -0
- package/dist/esm/ui/common/modal/content-container/index.js +6 -0
- package/dist/esm/ui/common/modal/count-view-smart-link/index.js +1 -0
- package/dist/esm/ui/common/modal/datasource-modal/index.js +2 -1
- package/dist/esm/ui/common/modal/display-view-dropdown/display-view-drop-down.js +1 -0
- package/dist/esm/ui/common/modal/popup-select/trigger.js +7 -1
- package/dist/esm/ui/common/modal/site-selector/index.js +3 -0
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +14 -7
- package/dist/esm/ui/confluence-search-modal/modal/index.js +2 -0
- package/dist/esm/ui/datasource-table-view/datasourceTableView.js +2 -0
- package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -0
- package/dist/esm/ui/issue-like-table/column-picker/index.js +2 -0
- package/dist/esm/ui/issue-like-table/drag-column-preview.js +10 -2
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +7 -0
- package/dist/esm/ui/issue-like-table/empty-state/index.js +4 -1
- package/dist/esm/ui/issue-like-table/empty-state/type.js +2 -0
- package/dist/esm/ui/issue-like-table/index.js +12 -1
- package/dist/esm/ui/issue-like-table/render-type/date-time/index.js +3 -0
- package/dist/esm/ui/issue-like-table/render-type/icon/index.js +2 -0
- package/dist/esm/ui/issue-like-table/render-type/link/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/richtext/index.js +2 -0
- package/dist/esm/ui/issue-like-table/render-type/text/index.js +3 -0
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +6 -0
- package/dist/esm/ui/issue-like-table/styled.js +3 -2
- package/dist/esm/ui/jira-issues-modal/jira-search-container/buildJQL.js +1 -1
- package/dist/esm/ui/jira-issues-modal/jira-search-container/index.js +2 -0
- package/dist/esm/ui/jira-issues-modal/modal/index.js +2 -0
- package/dist/esm/ui/jira-issues-modal/mode-switcher/index.js +5 -0
- package/dist/esm/ui/table-footer/index.js +3 -0
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +1 -1
- package/examples-helpers/buildIssueLikeTable.tsx +2 -0
- package/examples-helpers/hoverableContainer.tsx +1 -0
- package/package.json +176 -176
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import Bug16Icon from '@atlaskit/icon-object/glyph/bug/16';
|
|
4
6
|
import Commit16Icon from '@atlaskit/icon-object/glyph/commit/16';
|
|
@@ -9,7 +9,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
9
9
|
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) { _defineProperty(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; }
|
|
10
10
|
/** @jsx jsx */
|
|
11
11
|
import { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
14
|
import { css, jsx } from '@emotion/react';
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
16
|
import styled from '@emotion/styled';
|
|
14
17
|
import debounce from 'lodash/debounce';
|
|
15
18
|
import { useIntl } from 'react-intl-next';
|
|
@@ -40,6 +43,7 @@ var tableHeadStyles = css({
|
|
|
40
43
|
background: "var(--ds-elevation-surface-current, #FFF)",
|
|
41
44
|
position: 'sticky',
|
|
42
45
|
top: 0,
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
43
47
|
zIndex: stickyTableHeadersIndex
|
|
44
48
|
});
|
|
45
49
|
var truncateTextStyles = css({
|
|
@@ -74,6 +78,7 @@ var truncateStyles = css({
|
|
|
74
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
75
79
|
var TableCell = styled.td((_styled$td = {}, _defineProperty(_styled$td, "".concat(withTablePluginBodyPrefix()), {
|
|
76
80
|
/* First section here is to override things editor table plugin css defines */
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
77
82
|
font: fieldTextFontSize,
|
|
78
83
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
|
|
79
84
|
border: 0,
|
|
@@ -182,10 +187,15 @@ var scrollableContainerStyles = css({
|
|
|
182
187
|
overflow: 'auto',
|
|
183
188
|
boxSizing: 'border-box',
|
|
184
189
|
backgroundColor: "var(--ds-elevation-surface-current, #FFF)",
|
|
190
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
185
191
|
backgroundImage: scrollableContainerShadowsCssComponents.backgroundImage,
|
|
192
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
186
193
|
backgroundPosition: scrollableContainerShadowsCssComponents.backgroundPosition,
|
|
194
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
187
195
|
backgroundRepeat: scrollableContainerShadowsCssComponents.backgroundRepeat,
|
|
196
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
188
197
|
backgroundSize: scrollableContainerShadowsCssComponents.backgroundSize,
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
189
199
|
backgroundAttachment: scrollableContainerShadowsCssComponents.backgroundAttachment
|
|
190
200
|
});
|
|
191
201
|
var tableStyles = css({
|
|
@@ -204,6 +214,7 @@ var noDefaultBorderStyles = css({
|
|
|
204
214
|
borderBottom: 0
|
|
205
215
|
});
|
|
206
216
|
var headerStyles = css({
|
|
217
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
207
218
|
font: "var(--ds-font-body-UNSAFE_small, ".concat(fontFallback.body.UNSAFE_small, ")"),
|
|
208
219
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
209
220
|
});
|
|
@@ -652,7 +663,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
652
663
|
return jsx(TableHeading, {
|
|
653
664
|
key: key,
|
|
654
665
|
"data-testid": "".concat(key, "-column-heading")
|
|
655
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
666
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
656
667
|
,
|
|
657
668
|
style: getWidthCss({
|
|
658
669
|
shouldUseWidth: shouldUseWidth,
|
|
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
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; }
|
|
3
3
|
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) { _defineProperty(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; }
|
|
4
4
|
import React from 'react';
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
7
|
import styled from '@emotion/styled';
|
|
6
8
|
import { useIntl } from 'react-intl-next';
|
|
7
9
|
import { fieldTextFontSize } from '../../styled';
|
|
@@ -19,6 +21,7 @@ var timeOptions = {
|
|
|
19
21
|
|
|
20
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
21
23
|
var DateTimeWrapper = styled.span({
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
22
25
|
fontSize: fieldTextFontSize
|
|
23
26
|
});
|
|
24
27
|
export function getFormattedDate(value) {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import Image from '@atlaskit/image';
|
|
4
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
@@ -30,7 +30,7 @@ var LinkRenderType = function LinkRenderType(_ref) {
|
|
|
30
30
|
url: url
|
|
31
31
|
}, /*#__PURE__*/React.createElement(LinkUrl, {
|
|
32
32
|
href: url
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
34
34
|
,
|
|
35
35
|
style: _objectSpread(_objectSpread({}, linkStyle), {}, {
|
|
36
36
|
fontSize: fieldTextFontSize
|
|
@@ -4,6 +4,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
4
4
|
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) { _defineProperty(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; }
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { useMemo } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
9
|
import { css, jsx } from '@emotion/react';
|
|
8
10
|
import { defaultSchema } from '@atlaskit/adf-schema/schema-default';
|
|
9
11
|
import { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import styled from '@emotion/styled';
|
|
3
5
|
import { fieldTextFontSize } from '../../styled';
|
|
4
6
|
export var TEXT_TYPE_TEST_ID = 'link-datasource-render-type--text';
|
|
5
7
|
|
|
6
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
7
9
|
var TextWrapper = styled.span({
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
8
11
|
fontSize: fieldTextFontSize
|
|
9
12
|
});
|
|
10
13
|
var TextRenderType = function TextRenderType(_ref) {
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
8
|
import styled from '@emotion/styled';
|
|
6
9
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
10
|
import Avatar from '@atlaskit/avatar';
|
|
@@ -13,6 +16,7 @@ import { userTypeMessages } from './messages';
|
|
|
13
16
|
var userWrapperStyles = xcss({
|
|
14
17
|
display: 'flex',
|
|
15
18
|
alignItems: 'center',
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
20
|
fontSize: "".concat(fieldTextFontSize, "px")
|
|
17
21
|
});
|
|
18
22
|
var avatarWrapperStyles = xcss({
|
|
@@ -24,7 +28,9 @@ var widthObserverWrapperStyles = xcss({
|
|
|
24
28
|
|
|
25
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
30
|
var AvatarGroupWrapperStyles = styled.div({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
32
|
ul: {
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
28
34
|
paddingLeft: '0px !important'
|
|
29
35
|
}
|
|
30
36
|
});
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
var _styled$th;
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import styled from '@emotion/styled';
|
|
4
5
|
import { N40 } from '@atlaskit/theme/colors';
|
|
5
6
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
6
7
|
export var ScrollableContainerHeight = 590;
|
|
7
8
|
export var fieldTextFontSize = "var(--ds-font-body, ".concat(fontFallback.body.medium, ")");
|
|
8
9
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
11
|
export var Table = styled.table({
|
|
11
12
|
width: '100%'
|
|
12
13
|
});
|
|
@@ -26,7 +27,7 @@ export var withTablePluginPrefix = function withTablePluginPrefix(tableSection)
|
|
|
26
27
|
export var withTablePluginHeaderPrefix = withTablePluginPrefix.bind(null, 'thead');
|
|
27
28
|
export var withTablePluginBodyPrefix = withTablePluginPrefix.bind(null, 'tbody');
|
|
28
29
|
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
31
|
export var TableHeading = styled.th((_styled$th = {}, _defineProperty(_styled$th, "".concat(withTablePluginHeaderPrefix()), {
|
|
31
32
|
border: 0,
|
|
32
33
|
position: 'relative',
|
|
@@ -41,7 +41,7 @@ export var buildJQL = function buildJQL(input) {
|
|
|
41
41
|
var text = constructTerminalClause('text', OPERATOR_LIKE, "".concat(basicSearch).concat(fuzzy));
|
|
42
42
|
var summary = constructTerminalClause('summary', OPERATOR_LIKE, "".concat(basicSearch).concat(fuzzy));
|
|
43
43
|
var orClauseFields = [text, summary];
|
|
44
|
-
if (jiraIssueKeyRegExp.test(trimmedRawSearch)) {
|
|
44
|
+
if (jiraIssueKeyRegExp.test(trimmedRawSearch.toUpperCase())) {
|
|
45
45
|
var key = constructTerminalClause('key', OPERATOR_EQUALS, basicSearch);
|
|
46
46
|
orClauseFields.push(key);
|
|
47
47
|
}
|
|
@@ -6,6 +6,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
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) { _defineProperty(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; }
|
|
7
7
|
/** @jsx jsx */
|
|
8
8
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
11
|
import { css, jsx } from '@emotion/react';
|
|
10
12
|
import { useIntl } from 'react-intl-next';
|
|
11
13
|
import { useDebouncedCallback } from 'use-debounce';
|
|
@@ -5,6 +5,8 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
5
5
|
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) { _defineProperty(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; }
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import { css, jsx } from '@emotion/react';
|
|
9
11
|
import { FormattedMessage, FormattedNumber } from 'react-intl-next';
|
|
10
12
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { N0, N20, N30A, N60, N700 } from '@atlaskit/theme/colors';
|
|
6
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -32,6 +34,7 @@ var modeSwitcherLabelStyles = css({
|
|
|
32
34
|
textTransform: 'uppercase',
|
|
33
35
|
padding: "var(--ds-space-050, 4px)",
|
|
34
36
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
35
38
|
':hover': {
|
|
36
39
|
cursor: 'pointer',
|
|
37
40
|
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(N30A, ")")
|
|
@@ -41,6 +44,7 @@ var modeSwitcherLabelSelectedStyles = css({
|
|
|
41
44
|
backgroundColor: "var(--ds-background-input-pressed, ".concat(N0, ")"),
|
|
42
45
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
43
46
|
boxShadow: "var(--ds-shadow-overflow, 0px 0px 1px rgba(9, 30, 66, 0.12), 0px 0px 8px rgba(9, 30, 66, 0.16))",
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
44
48
|
':hover': {
|
|
45
49
|
cursor: 'pointer',
|
|
46
50
|
backgroundColor: "var(--ds-background-input-pressed, ".concat(N0, ")")
|
|
@@ -50,6 +54,7 @@ var modeSwitcherLabelDisabledStyles = css({
|
|
|
50
54
|
color: "var(--ds-text-disabled, ".concat(N60, ")")
|
|
51
55
|
});
|
|
52
56
|
var modeSwitcherDisabledStyles = css({
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
53
58
|
':hover': {
|
|
54
59
|
cursor: 'not-allowed',
|
|
55
60
|
background: 'transparent'
|
|
@@ -2,7 +2,10 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { Fragment, useEffect, useState } from 'react';
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
7
|
import { jsx } from '@emotion/react';
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
9
|
import styled from '@emotion/styled';
|
|
7
10
|
import { FormattedMessage, FormattedNumber, useIntl } from 'react-intl-next';
|
|
8
11
|
import Button from '@atlaskit/button';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PopupComponentProps } from '@atlaskit/popup';
|
|
3
|
-
export declare const PopupComponent: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "style" | "data-testid" | "children" | "id" | "tabIndex" | "role" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const PopupComponent: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "style" | "data-testid" | "children" | "id" | "tabIndex" | "role" | "shouldFitContainer" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PopupComponentProps } from '@atlaskit/popup';
|
|
3
|
-
export declare const PopupComponent: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "style" | "data-testid" | "children" | "id" | "tabIndex" | "role" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const PopupComponent: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "style" | "data-testid" | "children" | "id" | "tabIndex" | "role" | "shouldFitContainer" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect, useMemo } from 'react';
|
|
3
3
|
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { jsx } from '@emotion/react';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
7
|
import styled from '@emotion/styled';
|
|
6
8
|
|
|
7
9
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|