@atlaskit/link-datasource 2.3.6 → 2.3.8
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/render-assets-content/index.js +4 -0
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -0
- package/dist/cjs/ui/assets-modal/search-container/styled.js +5 -4
- package/dist/cjs/ui/common/error-state/access-required.js +1 -0
- package/dist/cjs/ui/common/error-state/loading-error.js +1 -0
- package/dist/cjs/ui/common/error-state/modal-loading-error.js +1 -0
- package/dist/cjs/ui/common/error-state/no-instances.js +1 -0
- package/dist/cjs/ui/common/error-state/no-results.js +1 -0
- package/dist/cjs/ui/common/initial-state-view/index.js +1 -0
- package/dist/cjs/ui/common/modal/content-container/index.js +5 -0
- package/dist/cjs/ui/common/modal/datasource-modal/index.js +2 -1
- package/dist/cjs/ui/common/modal/popup-select/trigger.js +5 -1
- package/dist/cjs/ui/common/modal/site-selector/index.js +1 -0
- package/dist/cjs/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +13 -7
- package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -0
- package/dist/cjs/ui/issue-like-table/drag-column-preview.js +7 -2
- package/dist/cjs/ui/issue-like-table/draggable-table-heading.js +4 -0
- package/dist/cjs/ui/issue-like-table/empty-state/index.js +3 -1
- package/dist/cjs/ui/issue-like-table/index.js +10 -2
- package/dist/cjs/ui/issue-like-table/render-type/date-time/index.js +1 -0
- package/dist/cjs/ui/issue-like-table/render-type/link/index.js +1 -1
- package/dist/cjs/ui/issue-like-table/render-type/text/index.js +1 -0
- package/dist/cjs/ui/issue-like-table/render-type/user/index.js +3 -0
- package/dist/cjs/ui/issue-like-table/styled.js +2 -2
- package/dist/cjs/ui/jira-issues-modal/mode-switcher/index.js +3 -0
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.js +4 -0
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -0
- package/dist/es2019/ui/assets-modal/search-container/styled.js +5 -4
- package/dist/es2019/ui/common/error-state/access-required.js +1 -0
- package/dist/es2019/ui/common/error-state/loading-error.js +1 -0
- package/dist/es2019/ui/common/error-state/modal-loading-error.js +1 -0
- package/dist/es2019/ui/common/error-state/no-instances.js +1 -0
- package/dist/es2019/ui/common/error-state/no-results.js +1 -0
- package/dist/es2019/ui/common/initial-state-view/index.js +1 -0
- package/dist/es2019/ui/common/modal/content-container/index.js +5 -0
- package/dist/es2019/ui/common/modal/datasource-modal/index.js +2 -1
- package/dist/es2019/ui/common/modal/popup-select/trigger.js +5 -1
- package/dist/es2019/ui/common/modal/site-selector/index.js +1 -0
- package/dist/es2019/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +13 -7
- package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -0
- package/dist/es2019/ui/issue-like-table/drag-column-preview.js +7 -2
- package/dist/es2019/ui/issue-like-table/draggable-table-heading.js +5 -1
- package/dist/es2019/ui/issue-like-table/empty-state/index.js +3 -1
- package/dist/es2019/ui/issue-like-table/index.js +15 -2
- package/dist/es2019/ui/issue-like-table/render-type/date-time/index.js +1 -0
- package/dist/es2019/ui/issue-like-table/render-type/link/index.js +1 -1
- package/dist/es2019/ui/issue-like-table/render-type/text/index.js +1 -0
- package/dist/es2019/ui/issue-like-table/render-type/user/index.js +3 -0
- package/dist/es2019/ui/issue-like-table/styled.js +7 -2
- package/dist/es2019/ui/jira-issues-modal/mode-switcher/index.js +3 -0
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.js +4 -0
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -0
- package/dist/esm/ui/assets-modal/search-container/styled.js +5 -4
- package/dist/esm/ui/common/error-state/access-required.js +1 -0
- package/dist/esm/ui/common/error-state/loading-error.js +1 -0
- package/dist/esm/ui/common/error-state/modal-loading-error.js +1 -0
- package/dist/esm/ui/common/error-state/no-instances.js +1 -0
- package/dist/esm/ui/common/error-state/no-results.js +1 -0
- package/dist/esm/ui/common/initial-state-view/index.js +1 -0
- package/dist/esm/ui/common/modal/content-container/index.js +5 -0
- package/dist/esm/ui/common/modal/datasource-modal/index.js +2 -1
- package/dist/esm/ui/common/modal/popup-select/trigger.js +5 -1
- package/dist/esm/ui/common/modal/site-selector/index.js +1 -0
- package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js +13 -7
- package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +1 -0
- package/dist/esm/ui/issue-like-table/drag-column-preview.js +7 -2
- package/dist/esm/ui/issue-like-table/draggable-table-heading.js +4 -0
- package/dist/esm/ui/issue-like-table/empty-state/index.js +3 -1
- package/dist/esm/ui/issue-like-table/index.js +10 -2
- package/dist/esm/ui/issue-like-table/render-type/date-time/index.js +1 -0
- package/dist/esm/ui/issue-like-table/render-type/link/index.js +1 -1
- package/dist/esm/ui/issue-like-table/render-type/text/index.js +1 -0
- package/dist/esm/ui/issue-like-table/render-type/user/index.js +3 -0
- package/dist/esm/ui/issue-like-table/styled.js +2 -2
- package/dist/esm/ui/jira-issues-modal/mode-switcher/index.js +3 -0
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +1 -1
- package/package.json +155 -172
|
@@ -14,17 +14,21 @@ var badgeStyles = xcss({
|
|
|
14
14
|
marginLeft: 'space.050'
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
18
18
|
export var LoadingStateAnimationWrapper = styled.div({
|
|
19
19
|
position: 'relative',
|
|
20
20
|
animation: 'flickerAnimation 2s infinite',
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
21
22
|
'@keyframes flickerAnimation': {
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
22
24
|
'0%': {
|
|
23
25
|
opacity: 1
|
|
24
26
|
},
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
25
28
|
'50%': {
|
|
26
29
|
opacity: 0.5
|
|
27
30
|
},
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
28
32
|
'100%': {
|
|
29
33
|
opacity: 1
|
|
30
34
|
}
|
|
@@ -21,6 +21,7 @@ var selectStyles = css({
|
|
|
21
21
|
fontSize: "var(--ds-font-size-100, 14px)",
|
|
22
22
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
23
23
|
lineHeight: "var(--ds-space-250, 20px)",
|
|
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
|
|
24
25
|
zIndex: siteSelectorIndex
|
|
25
26
|
});
|
|
26
27
|
export var SiteSelector = function SiteSelector(props) {
|
package/dist/esm/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
import { B400, B50, N0, N20, N30, R400 } from '@atlaskit/theme/colors';
|
|
3
3
|
import { layers } from '@atlaskit/theme/constants';
|
|
4
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export var PopupComponentContainer = styled.div({
|
|
6
6
|
boxSizing: 'border-box',
|
|
7
7
|
display: 'block',
|
|
@@ -9,13 +9,14 @@ export var PopupComponentContainer = styled.div({
|
|
|
9
9
|
overflow: 'visible',
|
|
10
10
|
borderRadius: "var(--ds-border-radius-100, 4px)",
|
|
11
11
|
background: "var(--ds-background-input, ".concat(N0, ")"),
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
12
13
|
':focus': {
|
|
13
14
|
outline: 'none'
|
|
14
15
|
},
|
|
15
16
|
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
17
|
});
|
|
17
18
|
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
20
|
export var CustomDropdown = styled.div({
|
|
20
21
|
width: '340px',
|
|
21
22
|
background: "var(--ds-background-input, ".concat(N0, ")"),
|
|
@@ -24,7 +25,7 @@ export var CustomDropdown = styled.div({
|
|
|
24
25
|
zIndex: layers.modal()
|
|
25
26
|
});
|
|
26
27
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
28
|
+
// 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
29
|
export var CustomDropdownItem = styled.div(function (props) {
|
|
29
30
|
return {
|
|
30
31
|
height: '36px',
|
|
@@ -32,25 +33,30 @@ export var CustomDropdownItem = styled.div(function (props) {
|
|
|
32
33
|
display: 'flex',
|
|
33
34
|
justifyContent: 'flex-start',
|
|
34
35
|
alignItems: 'center',
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
35
37
|
paddingLeft: props.isSelected ? '15px' : '16px',
|
|
36
38
|
boxSizing: 'border-box',
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
37
40
|
color: props.isSelected ? "var(--ds-text-selected, ".concat(B400, ")") : 'inherit',
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
42
|
background: props.isSelected ? "var(--ds-background-accent-blue-subtlest, ".concat(B50, ")") : 'transparent',
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
39
44
|
borderLeft: props.isSelected ? "2px solid ".concat("var(--ds-text-selected, ".concat(B400, ")")) : 'none',
|
|
40
45
|
'&:hover': {
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
41
47
|
background: props.isSelected ? "var(--ds-background-accent-blue-subtlest, ".concat(B50, ")") : "var(--ds-background-input-hovered, ".concat(N20, ")"),
|
|
42
48
|
cursor: 'default'
|
|
43
49
|
}
|
|
44
50
|
};
|
|
45
51
|
});
|
|
46
52
|
|
|
47
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
48
54
|
export var CustomDateWrapper = styled.div({
|
|
49
55
|
padding: "var(--ds-space-150, 12px)",
|
|
50
56
|
boxSizing: 'border-box'
|
|
51
57
|
});
|
|
52
58
|
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
54
60
|
export var DatePickersWrapper = styled.div({
|
|
55
61
|
display: 'flex',
|
|
56
62
|
justifyContent: 'space-between',
|
|
@@ -58,7 +64,7 @@ export var DatePickersWrapper = styled.div({
|
|
|
58
64
|
width: '100%'
|
|
59
65
|
});
|
|
60
66
|
|
|
61
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
67
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
62
68
|
export var SelectDateRangeButton = styled.button({
|
|
63
69
|
background: "var(--ds-background-accent-gray-subtler, ".concat(N20, ")"),
|
|
64
70
|
border: 'none',
|
|
@@ -73,7 +79,7 @@ export var SelectDateRangeButton = styled.button({
|
|
|
73
79
|
}
|
|
74
80
|
});
|
|
75
81
|
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
82
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
77
83
|
export var DateRangeErrorMessage = styled.div({
|
|
78
84
|
display: 'flex',
|
|
79
85
|
lineHeight: 1.3333,
|
|
@@ -10,6 +10,7 @@ import { columnPickerMessages } from './messages';
|
|
|
10
10
|
export var SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
|
|
11
11
|
var messageStyles = css({
|
|
12
12
|
color: "var(--ds-text-subtle, #44546F)",
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
13
14
|
font: "var(--ds-font-body-small, ".concat(fontFallback.body.small, ")"),
|
|
14
15
|
fontWeight: "var(--ds-font-weight-regular, 400)"
|
|
15
16
|
});
|
|
@@ -14,7 +14,9 @@ var TablePreviewHeading = styled(TableHeading)({
|
|
|
14
14
|
whiteSpace: 'nowrap',
|
|
15
15
|
background: "var(--ds-background-disabled, #091E4224)",
|
|
16
16
|
maxWidth: maxWidth
|
|
17
|
-
},
|
|
17
|
+
},
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
19
|
+
firstLastChildOverride);
|
|
18
20
|
|
|
19
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
20
22
|
var TablePreviewCell = styled.td({
|
|
@@ -26,11 +28,14 @@ var TablePreviewCell = styled.td({
|
|
|
26
28
|
boxSizing: 'border-box',
|
|
27
29
|
borderBottom: "0.5px solid ".concat("var(--ds-border, ".concat(N40, ")")),
|
|
28
30
|
height: '30px'
|
|
29
|
-
},
|
|
31
|
+
},
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
33
|
+
firstLastChildOverride);
|
|
30
34
|
var tableStyles = css({
|
|
31
35
|
background: "var(--ds-surface, #FFF)",
|
|
32
36
|
borderCollapse: 'separate',
|
|
33
37
|
borderSpacing: 0,
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
34
39
|
font: "var(--ds-font-body, ".concat(fontFallback.body.medium, ")"),
|
|
35
40
|
maxWidth: maxWidth
|
|
36
41
|
});
|
|
@@ -33,6 +33,7 @@ var DropdownParent = styled.div({
|
|
|
33
33
|
display: 'flex',
|
|
34
34
|
alignItems: 'center',
|
|
35
35
|
whiteSpace: 'nowrap',
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
36
37
|
'& button': {
|
|
37
38
|
textAlign: 'left' /* By default button center in the middle without props to control it */,
|
|
38
39
|
height: 'auto' /* By default button is not happy with tall (up to lines in our case) content */,
|
|
@@ -59,6 +60,7 @@ var resizerStyles = css({
|
|
|
59
60
|
// we want this to sit on top of adjacent column headers
|
|
60
61
|
right: 'calc(-1 * calc(var(--local-hitbox-width) / 2))',
|
|
61
62
|
top: 0,
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
62
64
|
'::before': {
|
|
63
65
|
opacity: 0,
|
|
64
66
|
'--local-line-width': "var(--ds-border-width, 2px)",
|
|
@@ -70,6 +72,7 @@ var resizerStyles = css({
|
|
|
70
72
|
left: "calc(50% - calc(var(--local-line-width) / 2))",
|
|
71
73
|
transition: 'opacity 0.2s ease'
|
|
72
74
|
},
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
73
76
|
':hover::before': {
|
|
74
77
|
opacity: 1
|
|
75
78
|
}
|
|
@@ -79,6 +82,7 @@ var resizingStyles = css({
|
|
|
79
82
|
// while resizing. The browser controls the cursor while dragging, but the browser
|
|
80
83
|
// can sometimes bug out.
|
|
81
84
|
cursor: 'unset',
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
82
86
|
'::before': {
|
|
83
87
|
opacity: 1
|
|
84
88
|
}
|
|
@@ -24,9 +24,11 @@ var cellStyles = css({
|
|
|
24
24
|
padding: padding,
|
|
25
25
|
borderRight: "0.5px solid ".concat("var(--ds-border, ".concat(N40, ")")),
|
|
26
26
|
borderBottom: "0.5px solid ".concat("var(--ds-border, ".concat(N40, ")")),
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
27
28
|
'&:first-child': {
|
|
28
29
|
paddingLeft: "var(--ds-space-100, 8px)"
|
|
29
30
|
},
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
30
32
|
'&:last-child': {
|
|
31
33
|
borderRight: 0,
|
|
32
34
|
paddingRight: "var(--ds-space-100, 8px)"
|
|
@@ -103,7 +105,7 @@ export default (function (_ref4) {
|
|
|
103
105
|
style: {
|
|
104
106
|
// the IssueLikeDataTableView wraps the table in a container with the styling below while modal doesn't
|
|
105
107
|
// this maxHeight comes from scrollableContainerHeight
|
|
106
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
108
|
+
// 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
109
|
maxHeight: ScrollableContainerHeight,
|
|
108
110
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
109
111
|
padding: "var(--ds-space-0, 0px)",
|
|
@@ -40,6 +40,7 @@ var tableHeadStyles = css({
|
|
|
40
40
|
background: "var(--ds-elevation-surface-current, #FFF)",
|
|
41
41
|
position: 'sticky',
|
|
42
42
|
top: 0,
|
|
43
|
+
// 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
44
|
zIndex: stickyTableHeadersIndex
|
|
44
45
|
});
|
|
45
46
|
var truncateTextStyles = css({
|
|
@@ -74,6 +75,7 @@ var truncateStyles = css({
|
|
|
74
75
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
75
76
|
var TableCell = styled.td((_styled$td = {}, _defineProperty(_styled$td, "".concat(withTablePluginBodyPrefix()), {
|
|
76
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
|
|
77
79
|
font: fieldTextFontSize,
|
|
78
80
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
|
|
79
81
|
border: 0,
|
|
@@ -182,10 +184,15 @@ var scrollableContainerStyles = css({
|
|
|
182
184
|
overflow: 'auto',
|
|
183
185
|
boxSizing: 'border-box',
|
|
184
186
|
backgroundColor: "var(--ds-elevation-surface-current, #FFF)",
|
|
187
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
185
188
|
backgroundImage: scrollableContainerShadowsCssComponents.backgroundImage,
|
|
189
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
186
190
|
backgroundPosition: scrollableContainerShadowsCssComponents.backgroundPosition,
|
|
191
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
187
192
|
backgroundRepeat: scrollableContainerShadowsCssComponents.backgroundRepeat,
|
|
193
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
188
194
|
backgroundSize: scrollableContainerShadowsCssComponents.backgroundSize,
|
|
195
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
189
196
|
backgroundAttachment: scrollableContainerShadowsCssComponents.backgroundAttachment
|
|
190
197
|
});
|
|
191
198
|
var tableStyles = css({
|
|
@@ -204,6 +211,7 @@ var noDefaultBorderStyles = css({
|
|
|
204
211
|
borderBottom: 0
|
|
205
212
|
});
|
|
206
213
|
var headerStyles = css({
|
|
214
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
207
215
|
font: "var(--ds-font-body-UNSAFE_small, ".concat(fontFallback.body.UNSAFE_small, ")"),
|
|
208
216
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
209
217
|
});
|
|
@@ -239,7 +247,7 @@ export var getOrderedColumns = function getOrderedColumns(columns, visibleColumn
|
|
|
239
247
|
};
|
|
240
248
|
var DEFAULT_WIDTH = COLUMN_BASE_WIDTH * 22;
|
|
241
249
|
var keyBasedWidthMap = {
|
|
242
|
-
priority: COLUMN_BASE_WIDTH *
|
|
250
|
+
priority: COLUMN_BASE_WIDTH * 8,
|
|
243
251
|
status: COLUMN_BASE_WIDTH * 18,
|
|
244
252
|
summary: COLUMN_BASE_WIDTH * 45,
|
|
245
253
|
description: COLUMN_BASE_WIDTH * 31,
|
|
@@ -652,7 +660,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref5) {
|
|
|
652
660
|
return jsx(TableHeading, {
|
|
653
661
|
key: key,
|
|
654
662
|
"data-testid": "".concat(key, "-column-heading")
|
|
655
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
663
|
+
// 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
664
|
,
|
|
657
665
|
style: getWidthCss({
|
|
658
666
|
shouldUseWidth: shouldUseWidth,
|
|
@@ -19,6 +19,7 @@ var timeOptions = {
|
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
21
21
|
var DateTimeWrapper = styled.span({
|
|
22
|
+
// 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
23
|
fontSize: fieldTextFontSize
|
|
23
24
|
});
|
|
24
25
|
export function getFormattedDate(value) {
|
|
@@ -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
|
|
@@ -5,6 +5,7 @@ export var TEXT_TYPE_TEST_ID = 'link-datasource-render-type--text';
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
7
7
|
var TextWrapper = styled.span({
|
|
8
|
+
// 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
9
|
fontSize: fieldTextFontSize
|
|
9
10
|
});
|
|
10
11
|
var TextRenderType = function TextRenderType(_ref) {
|
|
@@ -13,6 +13,7 @@ import { userTypeMessages } from './messages';
|
|
|
13
13
|
var userWrapperStyles = xcss({
|
|
14
14
|
display: 'flex',
|
|
15
15
|
alignItems: 'center',
|
|
16
|
+
// 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
17
|
fontSize: "".concat(fieldTextFontSize, "px")
|
|
17
18
|
});
|
|
18
19
|
var avatarWrapperStyles = xcss({
|
|
@@ -24,7 +25,9 @@ var widthObserverWrapperStyles = xcss({
|
|
|
24
25
|
|
|
25
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
26
27
|
var AvatarGroupWrapperStyles = styled.div({
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
29
|
ul: {
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
28
31
|
paddingLeft: '0px !important'
|
|
29
32
|
}
|
|
30
33
|
});
|
|
@@ -6,7 +6,7 @@ import { fontFallback } from '@atlaskit/theme/typography';
|
|
|
6
6
|
export var ScrollableContainerHeight = 590;
|
|
7
7
|
export var fieldTextFontSize = "var(--ds-font-body, ".concat(fontFallback.body.medium, ")");
|
|
8
8
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
10
10
|
export var Table = styled.table({
|
|
11
11
|
width: '100%'
|
|
12
12
|
});
|
|
@@ -26,7 +26,7 @@ export var withTablePluginPrefix = function withTablePluginPrefix(tableSection)
|
|
|
26
26
|
export var withTablePluginHeaderPrefix = withTablePluginPrefix.bind(null, 'thead');
|
|
27
27
|
export var withTablePluginBodyPrefix = withTablePluginPrefix.bind(null, 'tbody');
|
|
28
28
|
|
|
29
|
-
// 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
|
|
30
30
|
export var TableHeading = styled.th((_styled$th = {}, _defineProperty(_styled$th, "".concat(withTablePluginHeaderPrefix()), {
|
|
31
31
|
border: 0,
|
|
32
32
|
position: 'relative',
|
|
@@ -32,6 +32,7 @@ var modeSwitcherLabelStyles = css({
|
|
|
32
32
|
textTransform: 'uppercase',
|
|
33
33
|
padding: "var(--ds-space-050, 4px)",
|
|
34
34
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
35
36
|
':hover': {
|
|
36
37
|
cursor: 'pointer',
|
|
37
38
|
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(N30A, ")")
|
|
@@ -41,6 +42,7 @@ var modeSwitcherLabelSelectedStyles = css({
|
|
|
41
42
|
backgroundColor: "var(--ds-background-input-pressed, ".concat(N0, ")"),
|
|
42
43
|
borderRadius: "var(--ds-space-050, 4px)",
|
|
43
44
|
boxShadow: "var(--ds-shadow-overflow, 0px 0px 1px rgba(9, 30, 66, 0.12), 0px 0px 8px rgba(9, 30, 66, 0.16))",
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
44
46
|
':hover': {
|
|
45
47
|
cursor: 'pointer',
|
|
46
48
|
backgroundColor: "var(--ds-background-input-pressed, ".concat(N0, ")")
|
|
@@ -50,6 +52,7 @@ var modeSwitcherLabelDisabledStyles = css({
|
|
|
50
52
|
color: "var(--ds-text-disabled, ".concat(N60, ")")
|
|
51
53
|
});
|
|
52
54
|
var modeSwitcherDisabledStyles = css({
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
53
56
|
':hover': {
|
|
54
57
|
cursor: 'not-allowed',
|
|
55
58
|
background: 'transparent'
|