@atlaskit/link-picker 1.37.1 → 1.37.3
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 +17 -0
- package/compass.yml +0 -1
- package/dist/cjs/common/generic-error-svg/index.js +4 -1
- package/dist/cjs/common/generic-error-svg/styled.js +4 -0
- package/dist/cjs/common/ui/empty-state/index.js +3 -1
- package/dist/cjs/common/ui/min-height-container/index.js +4 -1
- package/dist/cjs/common/ui/min-height-container/styled.js +3 -0
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +17 -11
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
- package/dist/cjs/ui/index.js +5 -3
- package/dist/cjs/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
- package/dist/cjs/ui/link-picker/form-footer/feature-discovery/styled.js +4 -0
- package/dist/cjs/ui/link-picker/form-footer/index.js +30 -24
- package/dist/cjs/ui/link-picker/form-footer/styled.js +5 -0
- package/dist/cjs/ui/link-picker/index.js +7 -3
- package/dist/cjs/ui/link-picker/search-results/index.js +7 -3
- package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +1 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +21 -10
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +15 -11
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +4 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +6 -0
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/styled.js +29 -3
- package/dist/cjs/ui/link-picker/search-results/link-search-list/styled.js +9 -0
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +38 -33
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/styles.js +20 -4
- package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +3 -0
- package/dist/cjs/ui/link-picker/search-results/search-results-container/styled.js +3 -0
- package/dist/cjs/ui/link-picker/search-results/styled.js +7 -0
- package/dist/cjs/ui/link-picker/styled.js +4 -2
- package/dist/cjs/ui/link-picker/text-input/index.js +34 -23
- package/dist/cjs/ui/link-picker/text-input/styled.js +5 -10
- package/dist/cjs/ui/loader-fallback/index.js +4 -1
- package/dist/cjs/ui/loader-fallback/styled.js +3 -0
- package/dist/cjs/ui/styled.js +3 -0
- package/dist/es2019/common/generic-error-svg/index.js +4 -1
- package/dist/es2019/common/generic-error-svg/styled.js +3 -0
- package/dist/es2019/common/ui/empty-state/index.js +3 -1
- package/dist/es2019/common/ui/min-height-container/index.js +5 -1
- package/dist/es2019/common/ui/min-height-container/styled.js +3 -0
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +15 -9
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
- package/dist/es2019/ui/index.js +7 -2
- package/dist/es2019/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
- package/dist/es2019/ui/link-picker/form-footer/feature-discovery/styled.js +3 -0
- package/dist/es2019/ui/link-picker/form-footer/index.js +31 -24
- package/dist/es2019/ui/link-picker/form-footer/styled.js +5 -0
- package/dist/es2019/ui/link-picker/index.js +8 -2
- package/dist/es2019/ui/link-picker/search-results/index.js +8 -2
- package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +1 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +22 -9
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +13 -9
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +3 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +5 -0
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/styled.js +28 -3
- package/dist/es2019/ui/link-picker/search-results/link-search-list/styled.js +8 -0
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +35 -28
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/styles.js +19 -4
- package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +4 -0
- package/dist/es2019/ui/link-picker/search-results/search-results-container/styled.js +3 -0
- package/dist/es2019/ui/link-picker/search-results/styled.js +6 -0
- package/dist/es2019/ui/link-picker/styled.js +4 -1
- package/dist/es2019/ui/link-picker/text-input/index.js +37 -25
- package/dist/es2019/ui/link-picker/text-input/styled.js +4 -10
- package/dist/es2019/ui/loader-fallback/index.js +4 -1
- package/dist/es2019/ui/loader-fallback/styled.js +3 -0
- package/dist/es2019/ui/styled.js +3 -0
- package/dist/esm/common/generic-error-svg/index.js +4 -1
- package/dist/esm/common/generic-error-svg/styled.js +3 -0
- package/dist/esm/common/ui/empty-state/index.js +3 -1
- package/dist/esm/common/ui/min-height-container/index.js +5 -1
- package/dist/esm/common/ui/min-height-container/styled.js +3 -0
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +17 -11
- package/dist/esm/ui/error-boundary/error-boundary-fallback/styled.js +3 -0
- package/dist/esm/ui/index.js +6 -2
- package/dist/esm/ui/link-picker/form-footer/feature-discovery/index.js +9 -4
- package/dist/esm/ui/link-picker/form-footer/feature-discovery/styled.js +3 -0
- package/dist/esm/ui/link-picker/form-footer/index.js +31 -24
- package/dist/esm/ui/link-picker/form-footer/styled.js +5 -0
- package/dist/esm/ui/link-picker/index.js +8 -2
- package/dist/esm/ui/link-picker/search-results/index.js +8 -2
- package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +1 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +22 -9
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +15 -11
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +2 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/styled.js +3 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/styled.js +5 -0
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +34 -17
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/styled.js +28 -3
- package/dist/esm/ui/link-picker/search-results/link-search-list/styled.js +8 -0
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +39 -32
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/styles.js +19 -4
- package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +4 -0
- package/dist/esm/ui/link-picker/search-results/search-results-container/styled.js +3 -0
- package/dist/esm/ui/link-picker/search-results/styled.js +6 -0
- package/dist/esm/ui/link-picker/styled.js +4 -1
- package/dist/esm/ui/link-picker/text-input/index.js +36 -24
- package/dist/esm/ui/link-picker/text-input/styled.js +4 -10
- package/dist/esm/ui/loader-fallback/index.js +4 -1
- package/dist/esm/ui/loader-fallback/styled.js +3 -0
- package/dist/esm/ui/styled.js +3 -0
- package/dist/types/ui/error-boundary/error-boundary-base/index.d.ts +3 -3
- package/dist/types/ui/link-picker/text-input/styled.d.ts +0 -1
- package/dist/types-ts4.5/ui/error-boundary/error-boundary-base/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/link-picker/text-input/styled.d.ts +0 -1
- package/package.json +147 -147
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
|
|
3
4
|
// AFP-2532 TODO: Fix automatic suppressions below
|
|
4
5
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
5
6
|
import { typography } from '@atlaskit/theme';
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
6
8
|
export const listContainerStyles = css({
|
|
7
9
|
width: '100%',
|
|
8
10
|
paddingTop: 0,
|
|
@@ -13,11 +15,15 @@ export const listContainerStyles = css({
|
|
|
13
15
|
display: 'flex',
|
|
14
16
|
flexDirection: 'column'
|
|
15
17
|
});
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
16
20
|
export const spinnerContainerStyles = css({
|
|
17
21
|
flexGrow: 1,
|
|
18
22
|
flexDirection: 'column',
|
|
19
23
|
alignItems: 'center'
|
|
20
24
|
});
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
21
27
|
export const listStyles = css({
|
|
22
28
|
padding: "var(--ds-space-0, 0px)",
|
|
23
29
|
marginTop: "var(--ds-space-0, 0px)",
|
|
@@ -26,6 +32,8 @@ export const listStyles = css({
|
|
|
26
32
|
marginRight: 'calc(-1 * var(--link-picker-padding-right))',
|
|
27
33
|
listStyle: 'none'
|
|
28
34
|
});
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
29
37
|
export const listTitleStyles = css(typography.h100(), {
|
|
30
38
|
textTransform: 'uppercase',
|
|
31
39
|
marginTop: 0,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useCallback, 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 Button from '@atlaskit/button';
|
|
6
8
|
import ChevronLeftIcon from '@atlaskit/icon/glyph/chevron-left';
|
|
@@ -90,32 +92,37 @@ export const ScrollingTabList = props => {
|
|
|
90
92
|
appearance: 'subtle',
|
|
91
93
|
spacing: 'none'
|
|
92
94
|
};
|
|
93
|
-
return
|
|
94
|
-
css
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
95
|
+
return (
|
|
96
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
97
|
+
jsx("div", {
|
|
98
|
+
css: containerStyles,
|
|
99
|
+
ref: ref,
|
|
100
|
+
"data-testid": "scrolling-tabs"
|
|
101
|
+
}, conditionalButtons.back &&
|
|
102
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
103
|
+
jsx("div", {
|
|
104
|
+
className: "back",
|
|
105
|
+
css: backButtonStyles
|
|
106
|
+
}, jsx(Button, _extends({
|
|
107
|
+
"data-test-id": "back"
|
|
108
|
+
}, buttonProps, {
|
|
109
|
+
iconBefore: jsx(ChevronLeftIcon, {
|
|
110
|
+
label: "back"
|
|
111
|
+
}),
|
|
112
|
+
onClick: () => scrollBack(ref)
|
|
113
|
+
}))), jsx("div", {
|
|
114
|
+
css: scrollingContainerStyles
|
|
115
|
+
}, props.children), conditionalButtons.forward &&
|
|
116
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
117
|
+
jsx("div", {
|
|
118
|
+
css: nextButtonStyles
|
|
119
|
+
}, jsx(Button, _extends({
|
|
120
|
+
"data-test-id": "forward"
|
|
121
|
+
}, buttonProps, {
|
|
122
|
+
iconBefore: jsx(ChevronRightIcon, {
|
|
123
|
+
label: "forward"
|
|
124
|
+
}),
|
|
125
|
+
onClick: () => scrollForward(ref)
|
|
126
|
+
}))))
|
|
127
|
+
);
|
|
121
128
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
import { N0, N30 } from '@atlaskit/theme/colors';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
3
5
|
export const scrollingContainerStyles = css({
|
|
4
6
|
overflowX: 'auto',
|
|
5
7
|
scrollBehavior: 'smooth',
|
|
6
8
|
scrollPadding: '0 24px',
|
|
7
9
|
scrollbarWidth: 'none',
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
8
11
|
'&::-webkit-scrollbar': {
|
|
9
12
|
display: 'none'
|
|
10
13
|
},
|
|
@@ -21,19 +24,27 @@ export const scrollingContainerStyles = css({
|
|
|
21
24
|
backgroundColor: `var(--ds-border, ${N30})`
|
|
22
25
|
}
|
|
23
26
|
});
|
|
27
|
+
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
24
29
|
export const containerStyles = css({
|
|
25
30
|
position: 'relative',
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
26
32
|
'[role="tablist"]': {
|
|
27
33
|
'&::before': {
|
|
28
34
|
display: 'none'
|
|
29
35
|
}
|
|
30
36
|
},
|
|
31
37
|
// Overrides Atlaskit tabs styles to stop overflowing with ellipsis
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
32
39
|
'[role="tab"]': {
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
33
41
|
overflow: 'unset !important',
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
34
43
|
textOverflow: 'unset !important'
|
|
35
44
|
}
|
|
36
45
|
});
|
|
46
|
+
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
37
48
|
export const buttonContainerStyles = css({
|
|
38
49
|
position: 'absolute',
|
|
39
50
|
top: "var(--ds-space-050, 4px)",
|
|
@@ -41,12 +52,16 @@ export const buttonContainerStyles = css({
|
|
|
41
52
|
backgroundColor: `var(--ds-surface, ${N0})`
|
|
42
53
|
});
|
|
43
54
|
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments -- Ignored via go/DSP-18766
|
|
45
|
-
export const backButtonStyles = css([
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
56
|
+
export const backButtonStyles = css([
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
58
|
+
buttonContainerStyles, {
|
|
46
59
|
left: 0
|
|
47
60
|
}]);
|
|
48
61
|
|
|
49
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments -- Ignored via go/DSP-18766
|
|
50
|
-
export const nextButtonStyles = css([
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-array-arguments, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
63
|
+
export const nextButtonStyles = css([
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
65
|
+
buttonContainerStyles, {
|
|
51
66
|
right: 0
|
|
52
67
|
}]);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { forwardRef } 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 { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
6
8
|
import { MinHeightContainer } from '../../../../common/ui/min-height-container';
|
|
@@ -11,6 +13,8 @@ export const SearchResultsContainer = /*#__PURE__*/forwardRef(({
|
|
|
11
13
|
}, ref) => {
|
|
12
14
|
const minHeight = hasTabs ? '347px' : '302px';
|
|
13
15
|
const ffMinHeight = getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? minHeight : 'auto';
|
|
16
|
+
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
14
18
|
return jsx(MinHeightContainer, _extends({
|
|
15
19
|
ref: ref,
|
|
16
20
|
minHeight: ffMinHeight,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
2
5
|
export const flexColumn = css({
|
|
3
6
|
display: 'flex',
|
|
4
7
|
flexDirection: 'column',
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
2
4
|
export const tabsWrapperStyles = css({
|
|
3
5
|
marginTop: "var(--ds-space-150, 12px)"
|
|
4
6
|
});
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
5
9
|
export const spinnerContainerStyles = css({
|
|
6
10
|
minHeight: '80px',
|
|
7
11
|
display: 'flex',
|
|
@@ -10,6 +14,8 @@ export const spinnerContainerStyles = css({
|
|
|
10
14
|
alignSelf: 'center',
|
|
11
15
|
flexGrow: 1
|
|
12
16
|
});
|
|
17
|
+
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
13
19
|
export const flexColumnStyles = css({
|
|
14
20
|
display: 'flex',
|
|
15
21
|
flexDirection: 'column'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression --
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
4
5
|
export const rootContainerStyles = css`
|
|
5
6
|
width: ${getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)'};
|
|
6
7
|
padding-left: var(--link-picker-padding-left);
|
|
@@ -11,6 +12,8 @@ export const rootContainerStyles = css`
|
|
|
11
12
|
line-height: initial;
|
|
12
13
|
display: block !important;
|
|
13
14
|
`;
|
|
15
|
+
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
14
17
|
export const formFooterMargin = css({
|
|
15
18
|
marginTop: "var(--ds-space-200, 16px)"
|
|
16
19
|
});
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { Fragment, useCallback, useRef } 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 { ErrorMessage, Field } from '@atlaskit/form';
|
|
6
8
|
import Selectclear from '@atlaskit/icon/glyph/select-clear';
|
|
9
|
+
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
7
10
|
import Textfield from '@atlaskit/textfield';
|
|
8
11
|
import Tooltip from '@atlaskit/tooltip';
|
|
9
12
|
import { ConditionalSpotlightTargetWrapper } from './conditional-spotlight-target-wrapper';
|
|
10
|
-
import {
|
|
13
|
+
import { fieldStyles } from './styled';
|
|
11
14
|
import { isRedoEvent, isUndoEvent } from './utils';
|
|
12
15
|
export const testIds = {
|
|
13
16
|
urlError: 'link-error',
|
|
14
17
|
clearUrlButton: 'clear-text'
|
|
15
18
|
};
|
|
19
|
+
const clearTextButtonStyles = xcss({
|
|
20
|
+
padding: 'space.0',
|
|
21
|
+
marginRight: 'space.050',
|
|
22
|
+
backgroundColor: 'color.background.neutral.subtle',
|
|
23
|
+
border: 'none'
|
|
24
|
+
});
|
|
16
25
|
export const TextInput = ({
|
|
17
26
|
name,
|
|
18
27
|
label,
|
|
@@ -59,32 +68,35 @@ export const TextInput = ({
|
|
|
59
68
|
}, [name, onClear]);
|
|
60
69
|
const clearText = restProps.value !== '' && jsx(Tooltip, {
|
|
61
70
|
content: clearLabel
|
|
62
|
-
}, jsx(
|
|
63
|
-
|
|
64
|
-
css: clearTextButtonStyles,
|
|
71
|
+
}, jsx(Pressable, {
|
|
72
|
+
xcss: clearTextButtonStyles,
|
|
65
73
|
onClick: handleClear,
|
|
66
|
-
|
|
74
|
+
testId: testIds.clearUrlButton
|
|
67
75
|
}, jsx(Selectclear, {
|
|
68
76
|
size: "medium",
|
|
69
|
-
label: clearLabel || ''
|
|
77
|
+
label: clearLabel || '',
|
|
78
|
+
primaryColor: "var(--ds-icon-subtle, #626F86)"
|
|
70
79
|
})));
|
|
71
|
-
return
|
|
72
|
-
css
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
80
|
+
return (
|
|
81
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
82
|
+
jsx("div", {
|
|
83
|
+
css: fieldStyles
|
|
84
|
+
}, jsx(Field, {
|
|
85
|
+
label: label,
|
|
86
|
+
name: name
|
|
87
|
+
}, ({
|
|
88
|
+
fieldProps
|
|
89
|
+
}) => {
|
|
90
|
+
return jsx(ConditionalSpotlightTargetWrapper, {
|
|
91
|
+
spotlightTargetName: spotlightTargetName
|
|
92
|
+
}, jsx(Fragment, null, jsx(Textfield, _extends({}, fieldProps, restProps, {
|
|
93
|
+
onKeyDown: handleKeydown,
|
|
94
|
+
ref: handleRef,
|
|
95
|
+
elemAfterInput: clearText,
|
|
96
|
+
isInvalid: !!error
|
|
97
|
+
})), error && jsx(ErrorMessage, {
|
|
98
|
+
testId: testIds.urlError
|
|
99
|
+
}, error)));
|
|
100
|
+
}))
|
|
101
|
+
);
|
|
90
102
|
};
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
|
-
import { N500 } from '@atlaskit/theme/colors';
|
|
3
|
-
export const clearTextButtonStyles = css({
|
|
4
|
-
padding: 0,
|
|
5
|
-
marginRight: "var(--ds-space-050, 4px)",
|
|
6
|
-
color: `var(--ds-icon-subtle, ${N500})`,
|
|
7
|
-
background: 'transparent',
|
|
8
|
-
border: 'none',
|
|
9
|
-
cursor: 'pointer'
|
|
10
|
-
});
|
|
11
|
-
|
|
12
3
|
/**
|
|
13
4
|
* Overidding text input margin top which design system provides as a default spacer
|
|
14
5
|
* but it gets in the way of our layout
|
|
15
6
|
*/
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
16
8
|
export const fieldStyles = css({
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
17
10
|
'> div': {
|
|
18
11
|
marginTop: 0
|
|
19
12
|
},
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
20
14
|
'& + &': {
|
|
21
15
|
marginTop: "var(--ds-space-200, 16px)"
|
|
22
16
|
}
|
|
@@ -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 { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import Spinner from '@atlaskit/spinner';
|
|
@@ -38,7 +39,9 @@ export const LoaderFallback = props => {
|
|
|
38
39
|
const minHeight = getEstimatedMinHeight(props);
|
|
39
40
|
return jsx(MinHeightContainer, {
|
|
40
41
|
minHeight: minHeight,
|
|
41
|
-
"data-testid": "link-picker-root-loader-boundary-ui"
|
|
42
|
+
"data-testid": "link-picker-root-loader-boundary-ui"
|
|
43
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
44
|
+
,
|
|
42
45
|
css: styles
|
|
43
46
|
}, jsx(Spinner, {
|
|
44
47
|
testId: "link-picker.component-loading-indicator",
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
2
5
|
export const styles = css({
|
|
3
6
|
alignItems: 'center'
|
|
4
7
|
});
|
package/dist/es2019/ui/styled.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
2
5
|
export const fixedWidthContainerStyles = css({
|
|
3
6
|
width: 'var(--link-picker-width)'
|
|
4
7
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { jsx } from '@emotion/react';
|
|
5
6
|
import { genericErrorStyles } from './styled';
|
|
6
7
|
export var GenericErrorSVG = function GenericErrorSVG(props) {
|
|
@@ -9,7 +10,9 @@ export var GenericErrorSVG = function GenericErrorSVG(props) {
|
|
|
9
10
|
height: "90",
|
|
10
11
|
viewBox: "0 0 164 212",
|
|
11
12
|
fill: "none",
|
|
12
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
15
|
+
,
|
|
13
16
|
css: genericErrorStyles
|
|
14
17
|
}, props), jsx("path", {
|
|
15
18
|
d: "m95.43 74.16 66.44 115.08c5.84 10.12-1.46 22.76-13.14 22.76H15.85c-11.68 0-18.98-12.65-13.14-22.76L69.15 74.16c5.84-10.12 20.44-10.12 26.28 0Zm-7.56 83.55 2.88-44.35c.34-5.29-3.86-9.78-9.16-9.78-5.31 0-9.51 4.48-9.16 9.78l2.88 44.35a6.3 6.3 0 0 0 6.28 5.89c3.31 0 6.06-2.58 6.28-5.89Zm-15.84 23.54c0 5.66 4.76 10.1 10.39 9.58 4.85-.45 8.73-4.5 8.83-9.37.11-5.45-4.31-9.94-9.73-9.94-5.23-.01-9.49 4.37-9.49 9.73Z",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
var HEIGHT = 90;
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
3
6
|
export var genericErrorStyles = css({
|
|
4
7
|
height: "".concat(HEIGHT, "px"),
|
|
5
8
|
margin: "0 auto ".concat("var(--ds-space-300, 24px)"),
|
|
@@ -6,7 +6,9 @@ export var EmptyState = function EmptyState(_ref) {
|
|
|
6
6
|
header = _ref.header,
|
|
7
7
|
description = _ref.description,
|
|
8
8
|
renderImage = _ref.renderImage;
|
|
9
|
-
return /*#__PURE__*/React.createElement(Flex
|
|
9
|
+
return /*#__PURE__*/React.createElement(Flex
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
|
+
, {
|
|
10
12
|
xcss: xcss({
|
|
11
13
|
marginBlockStart: 'space.600',
|
|
12
14
|
marginBlockEnd: 'space.600',
|
|
@@ -4,13 +4,17 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
var _excluded = ["minHeight"];
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import React, { forwardRef } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
9
|
import { jsx } from '@emotion/react';
|
|
8
10
|
import { minHeightComponentStyles } from './styled';
|
|
9
11
|
export var MinHeightContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
12
|
var minHeight = _ref.minHeight,
|
|
11
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
14
|
return jsx("div", _extends({
|
|
13
|
-
ref: ref
|
|
15
|
+
ref: ref
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
17
|
+
,
|
|
14
18
|
css: minHeightComponentStyles
|
|
15
19
|
}, props, {
|
|
16
20
|
style: _defineProperty({}, '--link-picker-min-height', minHeight)
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
2
5
|
export var minHeightComponentStyles = css({
|
|
3
6
|
display: 'flex',
|
|
4
7
|
alignItems: 'stretch',
|
|
@@ -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 { defineMessages, useIntl } from 'react-intl-next';
|
|
4
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
@@ -28,7 +29,9 @@ export var ErrorBoundaryFallback = function ErrorBoundaryFallback() {
|
|
|
28
29
|
var description = intl.formatMessage(messages.description);
|
|
29
30
|
var EmptyStateComponent = getBooleanFF('platform.linking-platform.link-picker.remove-dst-empty-state') ? EmptyStateInternal : EmptyState;
|
|
30
31
|
if (getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results')) {
|
|
31
|
-
return jsx(MinHeightContainer
|
|
32
|
+
return jsx(MinHeightContainer
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
34
|
+
, {
|
|
32
35
|
css: errorBoundaryFallbackStyles,
|
|
33
36
|
minHeight: LINK_PICKER_MIN_HEIGHT_IN_PX_FALLBACK,
|
|
34
37
|
"data-testid": "link-picker-root-error-boundary-ui"
|
|
@@ -40,14 +43,17 @@ export var ErrorBoundaryFallback = function ErrorBoundaryFallback() {
|
|
|
40
43
|
description: description
|
|
41
44
|
}));
|
|
42
45
|
}
|
|
43
|
-
return
|
|
44
|
-
css
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
return (
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
48
|
+
jsx("div", {
|
|
49
|
+
css: rootContainerStyles,
|
|
50
|
+
"data-testid": "link-picker-root-error-boundary-ui"
|
|
51
|
+
}, jsx(EmptyStateComponent, {
|
|
52
|
+
header: header,
|
|
53
|
+
renderImage: function renderImage() {
|
|
54
|
+
return jsx(GenericErrorSVG, null);
|
|
55
|
+
},
|
|
56
|
+
description: description
|
|
57
|
+
}))
|
|
58
|
+
);
|
|
53
59
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
2
5
|
export var errorBoundaryFallbackStyles = css({
|
|
3
6
|
lineHeight: 'initial'
|
|
4
7
|
});
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import React, { Fragment, memo } 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';
|
|
6
8
|
import { lazyForPaint, LazySuspense } from 'react-loosely-lazy';
|
|
7
9
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -17,7 +19,7 @@ export var testIds = {
|
|
|
17
19
|
};
|
|
18
20
|
export var PACKAGE_DATA = {
|
|
19
21
|
packageName: "@atlaskit/link-picker" || '',
|
|
20
|
-
packageVersion: "1.37.
|
|
22
|
+
packageVersion: "1.37.3" || '',
|
|
21
23
|
componentName: COMPONENT_NAME,
|
|
22
24
|
source: COMPONENT_NAME
|
|
23
25
|
};
|
|
@@ -37,6 +39,7 @@ var DefaultRootComponent = function DefaultRootComponent(_ref2) {
|
|
|
37
39
|
}, children);
|
|
38
40
|
};
|
|
39
41
|
var FixedWidthContainer = function FixedWidthContainer(props) {
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
40
43
|
return jsx("div", _extends({
|
|
41
44
|
css: fixedWidthContainerStyles
|
|
42
45
|
}, props));
|
|
@@ -56,7 +59,8 @@ var ComposedLinkPicker = /*#__PURE__*/memo(function (props) {
|
|
|
56
59
|
return jsx(AnalyticsContext, {
|
|
57
60
|
data: PACKAGE_DATA
|
|
58
61
|
}, jsx(LinkPickerSessionProvider, null, jsx(MessagesProvider, null, jsx("div", {
|
|
59
|
-
style: (_ref3 = {}, _defineProperty(_ref3, '--link-picker-width', props.disableWidth ? '100%' :
|
|
62
|
+
style: (_ref3 = {}, _defineProperty(_ref3, '--link-picker-width', props.disableWidth ? '100%' : // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
63
|
+
"".concat(LINK_PICKER_WIDTH_IN_PX, "px")), _defineProperty(_ref3, '--link-picker-padding-left', (_props$paddingLeft = props.paddingLeft) !== null && _props$paddingLeft !== void 0 ? _props$paddingLeft : "var(--ds-space-200, 16px)"), _defineProperty(_ref3, '--link-picker-padding-right', (_props$paddingRight = props.paddingRight) !== null && _props$paddingRight !== void 0 ? _props$paddingRight : "var(--ds-space-200, 16px)"), _defineProperty(_ref3, '--link-picker-padding-top', (_props$paddingTop = props.paddingTop) !== null && _props$paddingTop !== void 0 ? _props$paddingTop : "var(--ds-space-200, 16px)"), _defineProperty(_ref3, '--link-picker-padding-bottom', (_props$paddingBottom = props.paddingBottom) !== null && _props$paddingBottom !== void 0 ? _props$paddingBottom : "var(--ds-space-200, 16px)"), _ref3)
|
|
60
64
|
}, jsx(RootFixedWidthContainer, null, jsx(ErrorBoundary, null, jsx(LazySuspense, {
|
|
61
65
|
fallback: jsx(LoaderFallbackContainer, null, jsx(LoaderFallback, {
|
|
62
66
|
hideDisplayText: props.hideDisplayText,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useEffect, useMemo } 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';
|
|
4
6
|
import { StorageClient } from '@atlaskit/frontend-utilities/storage-client';
|
|
5
7
|
import { pulseStyles } from './styled';
|
|
@@ -36,9 +38,12 @@ var FeatureDiscovery = function FeatureDiscovery(_ref) {
|
|
|
36
38
|
if (discovered) {
|
|
37
39
|
return children;
|
|
38
40
|
}
|
|
39
|
-
return
|
|
40
|
-
css
|
|
41
|
-
"
|
|
42
|
-
|
|
41
|
+
return (
|
|
42
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
43
|
+
jsx("span", {
|
|
44
|
+
css: pulseStyles,
|
|
45
|
+
"data-testid": "".concat(testId, "-discovery")
|
|
46
|
+
}, children)
|
|
47
|
+
);
|
|
43
48
|
};
|
|
44
49
|
export default FeatureDiscovery;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css, keyframes } from '@emotion/react';
|
|
2
3
|
var pulseKeyframes = keyframes({
|
|
3
4
|
to: {
|
|
@@ -7,6 +8,8 @@ var pulseKeyframes = keyframes({
|
|
|
7
8
|
|
|
8
9
|
// Styling from atlassian-frontend/packages/design-system/onboarding/src/styled/target.tsx
|
|
9
10
|
var pulseColor = 'rgb(101, 84, 192)';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-keyframes, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
10
13
|
export var pulseStyles = css({
|
|
11
14
|
display: 'inline-flex',
|
|
12
15
|
borderRadius: '3px',
|