@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,5 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { jsx } from '@emotion/react';
|
|
4
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
6
|
import { N40 } from '@atlaskit/theme/colors';
|
|
@@ -9,10 +10,15 @@ const contentContainerStyles = xcss({
|
|
|
9
10
|
maxHeight: '420px',
|
|
10
11
|
overflow: 'auto',
|
|
11
12
|
borderBottom: `2px solid ${`var(--ds-background-accent-gray-subtler, ${N40})`}`,
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
12
14
|
backgroundImage: scrollableContainerShadowsCssComponents.backgroundImage,
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
13
16
|
backgroundPosition: scrollableContainerShadowsCssComponents.backgroundPosition,
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
18
|
backgroundRepeat: scrollableContainerShadowsCssComponents.backgroundRepeat,
|
|
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
|
|
15
20
|
backgroundSize: scrollableContainerShadowsCssComponents.backgroundSize,
|
|
21
|
+
// 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
22
|
backgroundAttachment: scrollableContainerShadowsCssComponents.backgroundAttachment
|
|
17
23
|
});
|
|
18
24
|
const tableContainerStyles = xcss({
|
|
@@ -21,6 +21,7 @@ export const DatasourceModal = ({
|
|
|
21
21
|
onClose: onClose,
|
|
22
22
|
width: "calc(100% - 80px)",
|
|
23
23
|
shouldScrollInViewport: true,
|
|
24
|
-
shouldCloseOnOverlayClick: shouldCloseOnOverlayClick
|
|
24
|
+
shouldCloseOnOverlayClick: shouldCloseOnOverlayClick,
|
|
25
|
+
shouldReturnFocus: false
|
|
25
26
|
}, /*#__PURE__*/React.createElement(ScreenEvent, null), children);
|
|
26
27
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
4
5
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } 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 Badge from '@atlaskit/badge';
|
|
4
6
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -13,17 +15,21 @@ const badgeStyles = xcss({
|
|
|
13
15
|
marginLeft: 'space.050'
|
|
14
16
|
});
|
|
15
17
|
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
17
19
|
export const LoadingStateAnimationWrapper = styled.div({
|
|
18
20
|
position: 'relative',
|
|
19
21
|
animation: 'flickerAnimation 2s infinite',
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
20
23
|
'@keyframes flickerAnimation': {
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
21
25
|
'0%': {
|
|
22
26
|
opacity: 1
|
|
23
27
|
},
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
24
29
|
'50%': {
|
|
25
30
|
opacity: 0.5
|
|
26
31
|
},
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
33
|
'100%': {
|
|
28
34
|
opacity: 1
|
|
29
35
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -16,6 +18,7 @@ const selectStyles = css({
|
|
|
16
18
|
fontSize: "var(--ds-font-size-100, 14px)",
|
|
17
19
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
18
20
|
lineHeight: "var(--ds-space-250, 20px)",
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
19
22
|
zIndex: siteSelectorIndex
|
|
20
23
|
});
|
|
21
24
|
export const SiteSelector = props => {
|
package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import styled from '@emotion/styled';
|
|
2
3
|
import { B400, B50, N0, N20, N30, R400 } from '@atlaskit/theme/colors';
|
|
3
4
|
import { layers } from '@atlaskit/theme/constants';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
6
|
export const PopupComponentContainer = styled.div({
|
|
6
7
|
boxSizing: 'border-box',
|
|
7
8
|
display: 'block',
|
|
@@ -9,13 +10,14 @@ export const PopupComponentContainer = styled.div({
|
|
|
9
10
|
overflow: 'visible',
|
|
10
11
|
borderRadius: "var(--ds-border-radius-100, 4px)",
|
|
11
12
|
background: `var(--ds-background-input, ${N0})`,
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
12
14
|
':focus': {
|
|
13
15
|
outline: 'none'
|
|
14
16
|
},
|
|
15
17
|
boxShadow: "var(--ds-shadow-overlay, 0px 0px 1px 0px rgba(9, 30, 66, 0.31), 0px 3px 5px 0px rgba(9, 30, 66, 0.20))"
|
|
16
18
|
});
|
|
17
19
|
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
21
|
export const CustomDropdown = styled.div({
|
|
20
22
|
width: '340px',
|
|
21
23
|
background: `var(--ds-background-input, ${N0})`,
|
|
@@ -24,31 +26,36 @@ export const CustomDropdown = styled.div({
|
|
|
24
26
|
zIndex: layers.modal()
|
|
25
27
|
});
|
|
26
28
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
|
|
28
30
|
export const CustomDropdownItem = styled.div(props => ({
|
|
29
31
|
height: '36px',
|
|
30
32
|
width: '100%',
|
|
31
33
|
display: 'flex',
|
|
32
34
|
justifyContent: 'flex-start',
|
|
33
35
|
alignItems: 'center',
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
34
37
|
paddingLeft: props.isSelected ? '15px' : '16px',
|
|
35
38
|
boxSizing: 'border-box',
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
36
40
|
color: props.isSelected ? `var(--ds-text-selected, ${B400})` : 'inherit',
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
37
42
|
background: props.isSelected ? `var(--ds-background-accent-blue-subtlest, ${B50})` : 'transparent',
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
44
|
borderLeft: props.isSelected ? `2px solid ${`var(--ds-text-selected, ${B400})`}` : 'none',
|
|
39
45
|
'&:hover': {
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
40
47
|
background: props.isSelected ? `var(--ds-background-accent-blue-subtlest, ${B50})` : `var(--ds-background-input-hovered, ${N20})`,
|
|
41
48
|
cursor: 'default'
|
|
42
49
|
}
|
|
43
50
|
}));
|
|
44
51
|
|
|
45
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
46
53
|
export const CustomDateWrapper = styled.div({
|
|
47
54
|
padding: "var(--ds-space-150, 12px)",
|
|
48
55
|
boxSizing: 'border-box'
|
|
49
56
|
});
|
|
50
57
|
|
|
51
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
52
59
|
export const DatePickersWrapper = styled.div({
|
|
53
60
|
display: 'flex',
|
|
54
61
|
justifyContent: 'space-between',
|
|
@@ -56,7 +63,7 @@ export const DatePickersWrapper = styled.div({
|
|
|
56
63
|
width: '100%'
|
|
57
64
|
});
|
|
58
65
|
|
|
59
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
60
67
|
export const SelectDateRangeButton = styled.button({
|
|
61
68
|
background: `var(--ds-background-accent-gray-subtler, ${N20})`,
|
|
62
69
|
border: 'none',
|
|
@@ -71,7 +78,7 @@ export const SelectDateRangeButton = styled.button({
|
|
|
71
78
|
}
|
|
72
79
|
});
|
|
73
80
|
|
|
74
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
75
82
|
export const DateRangeErrorMessage = styled.div({
|
|
76
83
|
display: 'flex',
|
|
77
84
|
lineHeight: 1.3333,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useCallback, useEffect, useMemo, useRef, 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';
|
|
5
7
|
import { FormattedMessage, FormattedNumber } from 'react-intl-next';
|
|
6
8
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback, useEffect, useRef } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
5
7
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css, jsx } from '@emotion/react';
|
|
4
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
6
|
import { components } from '@atlaskit/select';
|
|
@@ -8,6 +9,7 @@ import { columnPickerMessages } from './messages';
|
|
|
8
9
|
export const SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
|
|
9
10
|
const messageStyles = css({
|
|
10
11
|
color: "var(--ds-text-subtle, #44546F)",
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
13
|
font: `var(--ds-font-body-small, ${fontFallback.body.small})`,
|
|
12
14
|
fontWeight: "var(--ds-font-weight-regular, 400)"
|
|
13
15
|
});
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { useCallback, useEffect, useRef, 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';
|
|
5
7
|
import { useIntl } from 'react-intl-next';
|
|
6
8
|
import Button from '@atlaskit/button/standard-button';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
7
|
import styled from '@emotion/styled';
|
|
5
8
|
import { N40 } from '@atlaskit/theme/colors';
|
|
6
9
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
@@ -19,7 +22,9 @@ const TablePreviewHeading = styled(TableHeading)({
|
|
|
19
22
|
whiteSpace: 'nowrap',
|
|
20
23
|
background: "var(--ds-background-disabled, #091E4224)",
|
|
21
24
|
maxWidth: maxWidth
|
|
22
|
-
},
|
|
25
|
+
},
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
|
+
firstLastChildOverride);
|
|
23
28
|
|
|
24
29
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
25
30
|
const TablePreviewCell = styled.td({
|
|
@@ -31,11 +36,14 @@ const TablePreviewCell = styled.td({
|
|
|
31
36
|
boxSizing: 'border-box',
|
|
32
37
|
borderBottom: `0.5px solid ${`var(--ds-border, ${N40})`}`,
|
|
33
38
|
height: '30px'
|
|
34
|
-
},
|
|
39
|
+
},
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
|
+
firstLastChildOverride);
|
|
35
42
|
const tableStyles = css({
|
|
36
43
|
background: "var(--ds-surface, #FFF)",
|
|
37
44
|
borderCollapse: 'separate',
|
|
38
45
|
borderSpacing: 0,
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
39
47
|
font: `var(--ds-font-body, ${fontFallback.body.medium})`,
|
|
40
48
|
maxWidth
|
|
41
49
|
});
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { useCallback, useEffect, useMemo, useRef, useState } 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';
|
|
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 ReactDOM from 'react-dom';
|
|
7
10
|
import { FormattedMessage } from 'react-intl-next';
|
|
@@ -27,6 +30,7 @@ const DropdownParent = styled.div({
|
|
|
27
30
|
display: 'flex',
|
|
28
31
|
alignItems: 'center',
|
|
29
32
|
whiteSpace: 'nowrap',
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
30
34
|
'& button': {
|
|
31
35
|
textAlign: 'left' /* By default button center in the middle without props to control it */,
|
|
32
36
|
height: 'auto' /* By default button is not happy with tall (up to lines in our case) content */,
|
|
@@ -53,6 +57,7 @@ const resizerStyles = css({
|
|
|
53
57
|
// we want this to sit on top of adjacent column headers
|
|
54
58
|
right: 'calc(-1 * calc(var(--local-hitbox-width) / 2))',
|
|
55
59
|
top: 0,
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
56
61
|
'::before': {
|
|
57
62
|
opacity: 0,
|
|
58
63
|
'--local-line-width': "var(--ds-border-width, 2px)",
|
|
@@ -64,6 +69,7 @@ const resizerStyles = css({
|
|
|
64
69
|
left: `calc(50% - calc(var(--local-line-width) / 2))`,
|
|
65
70
|
transition: 'opacity 0.2s ease'
|
|
66
71
|
},
|
|
72
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
67
73
|
':hover::before': {
|
|
68
74
|
opacity: 1
|
|
69
75
|
}
|
|
@@ -73,6 +79,7 @@ const resizingStyles = css({
|
|
|
73
79
|
// while resizing. The browser controls the cursor while dragging, but the browser
|
|
74
80
|
// can sometimes bug out.
|
|
75
81
|
cursor: 'unset',
|
|
82
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
76
83
|
'::before': {
|
|
77
84
|
opacity: 1
|
|
78
85
|
}
|
|
@@ -308,7 +315,7 @@ export const DraggableTableHeading = ({
|
|
|
308
315
|
style: {
|
|
309
316
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
310
317
|
cursor: 'grab',
|
|
311
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
318
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
312
319
|
...getWidthCss({
|
|
313
320
|
shouldUseWidth: resizeIsEnabled,
|
|
314
321
|
width
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css, jsx } from '@emotion/react';
|
|
3
4
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
4
5
|
import { N40 } from '@atlaskit/theme/colors';
|
|
@@ -23,9 +24,11 @@ const cellStyles = css({
|
|
|
23
24
|
padding,
|
|
24
25
|
borderRight: `0.5px solid ${`var(--ds-border, ${N40})`}`,
|
|
25
26
|
borderBottom: `0.5px solid ${`var(--ds-border, ${N40})`}`,
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
26
28
|
'&:first-child': {
|
|
27
29
|
paddingLeft: `${"var(--ds-space-100, 8px)"}`
|
|
28
30
|
},
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
29
32
|
'&:last-child': {
|
|
30
33
|
borderRight: 0,
|
|
31
34
|
paddingRight: `${"var(--ds-space-100, 8px)"}`
|
|
@@ -103,7 +106,7 @@ export default (({
|
|
|
103
106
|
style: {
|
|
104
107
|
// the IssueLikeDataTableView wraps the table in a container with the styling below while modal doesn't
|
|
105
108
|
// this maxHeight comes from scrollableContainerHeight
|
|
106
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
109
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
107
110
|
maxHeight: ScrollableContainerHeight,
|
|
108
111
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
109
112
|
padding: "var(--ds-space-0, 0px)",
|
|
@@ -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';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { forwardRef, useCallback, useEffect, useMemo, useRef, useState } 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';
|
|
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 debounce from 'lodash/debounce';
|
|
7
10
|
import { useIntl } from 'react-intl-next';
|
|
@@ -32,6 +35,7 @@ const tableHeadStyles = css({
|
|
|
32
35
|
background: "var(--ds-elevation-surface-current, #FFF)",
|
|
33
36
|
position: 'sticky',
|
|
34
37
|
top: 0,
|
|
38
|
+
// 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
39
|
zIndex: stickyTableHeadersIndex
|
|
36
40
|
});
|
|
37
41
|
const truncateTextStyles = css({
|
|
@@ -42,6 +46,7 @@ const truncateTextStyles = css({
|
|
|
42
46
|
const columnPickerWidth = 80;
|
|
43
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
44
48
|
const ColumnPickerHeader = styled.th({
|
|
49
|
+
// 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
|
|
45
50
|
[`${withTablePluginHeaderPrefix('&:last-of-type')}`]: {
|
|
46
51
|
boxSizing: 'border-box',
|
|
47
52
|
border: 0,
|
|
@@ -67,8 +72,10 @@ const truncateStyles = css({
|
|
|
67
72
|
|
|
68
73
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
69
74
|
const TableCell = styled.td({
|
|
75
|
+
// 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
|
|
70
76
|
[`${withTablePluginBodyPrefix()}`]: {
|
|
71
77
|
/* First section here is to override things editor table plugin css defines */
|
|
78
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
72
79
|
font: fieldTextFontSize,
|
|
73
80
|
padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-100, 8px)"}`,
|
|
74
81
|
border: 0,
|
|
@@ -79,15 +86,18 @@ const TableCell = styled.td({
|
|
|
79
86
|
borderBottom: `0.5px solid ${`var(--ds-border, ${N40})`}`,
|
|
80
87
|
overflow: 'hidden'
|
|
81
88
|
},
|
|
89
|
+
// 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
90
|
[`${withTablePluginBodyPrefix('&:first-child')}`]: {
|
|
83
91
|
paddingLeft: "var(--ds-space-100, 8px)"
|
|
84
92
|
},
|
|
93
|
+
// 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
|
|
85
94
|
[`${withTablePluginBodyPrefix('&:last-child')}`]: {
|
|
86
95
|
borderRight: 0,
|
|
87
96
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
88
97
|
},
|
|
89
98
|
// Inline smart links are pretty opinionated about word-wrapping.
|
|
90
99
|
// We want it to be controlled by user, so we make it overflow and truncate by default.
|
|
100
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
91
101
|
["& [data-testid='inline-card-icon-and-title'], " + "& [data-testid='button-connect-account'] > span"]: {
|
|
92
102
|
whiteSpace: 'unset'
|
|
93
103
|
}
|
|
@@ -219,10 +229,15 @@ const scrollableContainerStyles = css({
|
|
|
219
229
|
overflow: 'auto',
|
|
220
230
|
boxSizing: 'border-box',
|
|
221
231
|
backgroundColor: "var(--ds-elevation-surface-current, #FFF)",
|
|
232
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
222
233
|
backgroundImage: scrollableContainerShadowsCssComponents.backgroundImage,
|
|
234
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
223
235
|
backgroundPosition: scrollableContainerShadowsCssComponents.backgroundPosition,
|
|
236
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
224
237
|
backgroundRepeat: scrollableContainerShadowsCssComponents.backgroundRepeat,
|
|
238
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
225
239
|
backgroundSize: scrollableContainerShadowsCssComponents.backgroundSize,
|
|
240
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
226
241
|
backgroundAttachment: scrollableContainerShadowsCssComponents.backgroundAttachment
|
|
227
242
|
});
|
|
228
243
|
const tableStyles = css({
|
|
@@ -241,6 +256,7 @@ const noDefaultBorderStyles = css({
|
|
|
241
256
|
borderBottom: 0
|
|
242
257
|
});
|
|
243
258
|
const headerStyles = css({
|
|
259
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
244
260
|
font: `var(--ds-font-body-UNSAFE_small, ${fontFallback.body.UNSAFE_small})`,
|
|
245
261
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
246
262
|
});
|
|
@@ -636,7 +652,7 @@ export const IssueLikeDataTableView = ({
|
|
|
636
652
|
return jsx(TableHeading, {
|
|
637
653
|
key: key,
|
|
638
654
|
"data-testid": `${key}-column-heading`
|
|
639
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
655
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
640
656
|
,
|
|
641
657
|
style: getWidthCss({
|
|
642
658
|
shouldUseWidth,
|
|
@@ -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 { useIntl } from 'react-intl-next';
|
|
4
6
|
import { fieldTextFontSize } from '../../styled';
|
|
@@ -16,6 +18,7 @@ const timeOptions = {
|
|
|
16
18
|
|
|
17
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
20
|
const DateTimeWrapper = styled.span({
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
19
22
|
fontSize: fieldTextFontSize
|
|
20
23
|
});
|
|
21
24
|
export function getFormattedDate(value, display = 'datetime', formatDate) {
|
|
@@ -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
|
|
@@ -27,7 +27,7 @@ const LinkRenderType = ({
|
|
|
27
27
|
url: url
|
|
28
28
|
}, /*#__PURE__*/React.createElement(LinkUrl, {
|
|
29
29
|
href: url
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
31
31
|
,
|
|
32
32
|
style: {
|
|
33
33
|
...linkStyle,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { defaultSchema } from '@atlaskit/adf-schema/schema-default';
|
|
5
7
|
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 const 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
|
const 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
|
const TextRenderType = ({
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
7
|
import styled from '@emotion/styled';
|
|
5
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
9
|
import Avatar from '@atlaskit/avatar';
|
|
@@ -12,6 +15,7 @@ import { userTypeMessages } from './messages';
|
|
|
12
15
|
const userWrapperStyles = xcss({
|
|
13
16
|
display: 'flex',
|
|
14
17
|
alignItems: 'center',
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
15
19
|
fontSize: `${fieldTextFontSize}px`
|
|
16
20
|
});
|
|
17
21
|
const avatarWrapperStyles = xcss({
|
|
@@ -23,7 +27,9 @@ const widthObserverWrapperStyles = xcss({
|
|
|
23
27
|
|
|
24
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
25
29
|
const AvatarGroupWrapperStyles = styled.div({
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
26
31
|
ul: {
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
27
33
|
paddingLeft: '0px !important'
|
|
28
34
|
}
|
|
29
35
|
});
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import styled from '@emotion/styled';
|
|
2
3
|
import { N40 } from '@atlaskit/theme/colors';
|
|
3
4
|
import { fontFallback } from '@atlaskit/theme/typography';
|
|
4
5
|
export const ScrollableContainerHeight = 590;
|
|
5
6
|
export const fieldTextFontSize = `var(--ds-font-body, ${fontFallback.body.medium})`;
|
|
6
7
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
9
|
export const Table = styled.table({
|
|
9
10
|
width: '100%'
|
|
10
11
|
});
|
|
@@ -25,8 +26,9 @@ export const withTablePluginPrefix = (tableSection, mainRule = '&') => `
|
|
|
25
26
|
export const withTablePluginHeaderPrefix = withTablePluginPrefix.bind(null, 'thead');
|
|
26
27
|
export const withTablePluginBodyPrefix = withTablePluginPrefix.bind(null, 'tbody');
|
|
27
28
|
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
29
30
|
export const TableHeading = styled.th({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
30
32
|
[`${withTablePluginHeaderPrefix()}`]: {
|
|
31
33
|
border: 0,
|
|
32
34
|
position: 'relative',
|
|
@@ -47,15 +49,19 @@ export const TableHeading = styled.th({
|
|
|
47
49
|
verticalAlign: 'bottom',
|
|
48
50
|
backgroundColor: "var(--ds-elevation-surface-current, #FFF)"
|
|
49
51
|
},
|
|
52
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
50
53
|
[`${withTablePluginPrefix('', 'thead.has-column-picker &:nth-last-of-type(2)')}`]: {
|
|
51
54
|
borderRight: 0
|
|
52
55
|
},
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
53
57
|
[`${withTablePluginHeaderPrefix('&:first-child')}`]: {
|
|
54
58
|
paddingLeft: "var(--ds-space-050, 4px)"
|
|
55
59
|
},
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
56
61
|
[`${withTablePluginHeaderPrefix('&:last-child')}`]: {
|
|
57
62
|
borderRight: 0
|
|
58
63
|
},
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
59
65
|
"& [data-testid='datasource-header-content--container']": {
|
|
60
66
|
width: '100%',
|
|
61
67
|
/* With Button now being a parent for this component it adds its lineHeight value and spoils
|
|
@@ -34,7 +34,7 @@ export const buildJQL = input => {
|
|
|
34
34
|
const text = constructTerminalClause('text', OPERATOR_LIKE, `${basicSearch}${fuzzy}`);
|
|
35
35
|
const summary = constructTerminalClause('summary', OPERATOR_LIKE, `${basicSearch}${fuzzy}`);
|
|
36
36
|
const orClauseFields = [text, summary];
|
|
37
|
-
if (jiraIssueKeyRegExp.test(trimmedRawSearch)) {
|
|
37
|
+
if (jiraIssueKeyRegExp.test(trimmedRawSearch.toUpperCase())) {
|
|
38
38
|
const key = constructTerminalClause('key', OPERATOR_EQUALS, basicSearch);
|
|
39
39
|
orClauseFields.push(key);
|
|
40
40
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import { useIntl } from 'react-intl-next';
|
|
5
7
|
import { useDebouncedCallback } from 'use-debounce';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useCallback, useEffect, useMemo, useRef, useState } 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 { FormattedMessage, FormattedNumber } from 'react-intl-next';
|
|
6
8
|
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 @@ const 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, ${N30A})`
|
|
@@ -41,6 +44,7 @@ const modeSwitcherLabelSelectedStyles = css({
|
|
|
41
44
|
backgroundColor: `var(--ds-background-input-pressed, ${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, ${N0})`
|
|
@@ -50,6 +54,7 @@ const modeSwitcherLabelDisabledStyles = css({
|
|
|
50
54
|
color: `var(--ds-text-disabled, ${N60})`
|
|
51
55
|
});
|
|
52
56
|
const 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'
|