@atlaskit/atlassian-navigation 4.0.0 → 4.1.1
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 +20 -1
- package/README.md +7 -3
- package/dist/cjs/components/AtlassianNavigation/index.js +7 -2
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +7 -2
- package/dist/cjs/components/BadgeContainer/index.js +4 -0
- package/dist/cjs/components/Create/index.js +10 -3
- package/dist/cjs/components/Create/skeleton.js +6 -0
- package/dist/cjs/components/IconButton/skeleton.js +3 -1
- package/dist/cjs/components/PrimaryButton/index.js +6 -1
- package/dist/cjs/components/PrimaryButton/skeleton.js +5 -0
- package/dist/cjs/components/PrimaryDropdownButton/index.js +5 -0
- package/dist/cjs/components/PrimaryItemsContainer/index.js +6 -1
- package/dist/cjs/components/PrimaryItemsContainer/skeleton.js +7 -2
- package/dist/cjs/components/ProductHome/custom-product-home.js +10 -2
- package/dist/cjs/components/ProductHome/product-home.js +13 -5
- package/dist/cjs/components/ProductHome/skeleton.js +10 -3
- package/dist/cjs/components/Search/index.js +13 -0
- package/dist/cjs/components/Search/skeleton.js +9 -0
- package/dist/cjs/components/SkeletonCreateButton/index.js +6 -1
- package/dist/cjs/components/SkeletonIconButton/index.js +10 -2
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +9 -1
- package/dist/es2019/components/AtlassianNavigation/index.js +7 -2
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +7 -2
- package/dist/es2019/components/BadgeContainer/index.js +4 -0
- package/dist/es2019/components/Create/index.js +12 -5
- package/dist/es2019/components/Create/skeleton.js +7 -1
- package/dist/es2019/components/IconButton/skeleton.js +4 -0
- package/dist/es2019/components/PrimaryButton/index.js +7 -1
- package/dist/es2019/components/PrimaryButton/skeleton.js +4 -0
- package/dist/es2019/components/PrimaryDropdownButton/index.js +5 -0
- package/dist/es2019/components/PrimaryItemsContainer/index.js +6 -1
- package/dist/es2019/components/PrimaryItemsContainer/skeleton.js +7 -2
- package/dist/es2019/components/ProductHome/custom-product-home.js +16 -7
- package/dist/es2019/components/ProductHome/product-home.js +19 -10
- package/dist/es2019/components/ProductHome/skeleton.js +15 -7
- package/dist/es2019/components/Search/index.js +16 -2
- package/dist/es2019/components/Search/skeleton.js +11 -2
- package/dist/es2019/components/SkeletonCreateButton/index.js +6 -1
- package/dist/es2019/components/SkeletonIconButton/index.js +10 -2
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +10 -0
- package/dist/esm/components/AtlassianNavigation/index.js +7 -2
- package/dist/esm/components/AtlassianNavigation/skeleton.js +7 -2
- package/dist/esm/components/BadgeContainer/index.js +4 -0
- package/dist/esm/components/Create/index.js +10 -3
- package/dist/esm/components/Create/skeleton.js +6 -0
- package/dist/esm/components/IconButton/skeleton.js +4 -0
- package/dist/esm/components/PrimaryButton/index.js +7 -1
- package/dist/esm/components/PrimaryButton/skeleton.js +4 -0
- package/dist/esm/components/PrimaryDropdownButton/index.js +5 -0
- package/dist/esm/components/PrimaryItemsContainer/index.js +6 -1
- package/dist/esm/components/PrimaryItemsContainer/skeleton.js +7 -2
- package/dist/esm/components/ProductHome/custom-product-home.js +11 -2
- package/dist/esm/components/ProductHome/product-home.js +14 -5
- package/dist/esm/components/ProductHome/skeleton.js +11 -3
- package/dist/esm/components/Search/index.js +14 -0
- package/dist/esm/components/Search/skeleton.js +9 -0
- package/dist/esm/components/SkeletonCreateButton/index.js +6 -1
- package/dist/esm/components/SkeletonIconButton/index.js +10 -2
- package/dist/esm/components/SkeletonPrimaryButton/index.js +10 -0
- package/dist/types/components/AtlassianNavigation/index.d.ts +3 -0
- package/dist/types/components/AtlassianNavigation/skeleton.d.ts +3 -0
- package/dist/types/components/AtlassianNavigation/types.d.ts +24 -24
- package/dist/types/components/BadgeContainer/index.d.ts +3 -0
- package/dist/types/components/IconButton/skeleton.d.ts +3 -0
- package/dist/types/components/PrimaryButton/skeleton.d.ts +3 -0
- package/dist/types/components/ProductHome/skeleton.d.ts +4 -1
- package/dist/types/components/ProductHome/types.d.ts +22 -22
- package/dist/types/components/SkeletonCreateButton/index.d.ts +4 -1
- package/dist/types/components/SkeletonIconButton/index.d.ts +4 -1
- package/dist/types/components/SkeletonPrimaryButton/index.d.ts +3 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/skeleton-notification-button.d.ts +1 -1
- package/dist/types/skeleton-settings-button.d.ts +1 -1
- package/dist/types/skeleton-switcher-button.d.ts +1 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +3 -0
- package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +3 -0
- package/dist/types-ts4.5/components/AtlassianNavigation/types.d.ts +24 -24
- package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +3 -0
- package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +3 -0
- package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +3 -0
- package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +4 -1
- package/dist/types-ts4.5/components/ProductHome/types.d.ts +22 -22
- package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +4 -1
- package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +4 -1
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +3 -0
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/skeleton-notification-button.d.ts +1 -1
- package/dist/types-ts4.5/skeleton-settings-button.d.ts +1 -1
- package/dist/types-ts4.5/skeleton-switcher-button.d.ts +1 -1
- package/package.json +108 -108
- package/report.api.md +162 -183
|
@@ -1,15 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
import { Fragment } from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
8
|
import { css, jsx } from '@emotion/react';
|
|
4
9
|
import { CREATE_BREAKPOINT } from '../../common/constants';
|
|
5
10
|
import { useTheme } from '../../theme';
|
|
6
11
|
import { IconButtonSkeleton } from '../IconButton/skeleton';
|
|
7
12
|
const searchInputContainerStyles = css({
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/no-physical-properties
|
|
8
14
|
marginRight: "var(--ds-space-100, 8px)",
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/no-physical-properties
|
|
9
16
|
marginLeft: "var(--ds-space-250, 20px)",
|
|
10
17
|
position: 'relative',
|
|
11
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
12
19
|
[`@media (max-width: ${CREATE_BREAKPOINT - 1}px)`]: {
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
13
21
|
display: 'none !important'
|
|
14
22
|
}
|
|
15
23
|
});
|
|
@@ -22,8 +30,9 @@ const searchInputSkeletonStyles = css({
|
|
|
22
30
|
opacity: 0.15
|
|
23
31
|
});
|
|
24
32
|
const searchIconStyles = css({
|
|
25
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
26
34
|
[`@media (min-width: ${CREATE_BREAKPOINT}px)`]: {
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
27
36
|
display: 'none !important'
|
|
28
37
|
}
|
|
29
38
|
});
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import { css, jsx } from '@emotion/react';
|
|
3
7
|
import { useTheme } from '../../theme';
|
|
4
8
|
const skeletonCreateButtonStyles = css({
|
|
@@ -10,12 +14,13 @@ const skeletonCreateButtonStyles = css({
|
|
|
10
14
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
15
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
12
16
|
pointerEvents: 'none',
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
13
18
|
':focus, :active, :hover': {
|
|
14
19
|
appearance: 'none',
|
|
15
20
|
border: 0,
|
|
16
21
|
outline: 0
|
|
17
22
|
},
|
|
18
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
19
24
|
'&&': {
|
|
20
25
|
marginInlineStart: "var(--ds-space-150, 12px)"
|
|
21
26
|
}
|
|
@@ -1,26 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import { css, jsx } from '@emotion/react';
|
|
3
7
|
import { useTheme } from '../../theme';
|
|
4
8
|
const skeletonIconButtonStyles = css({
|
|
5
9
|
margin: 0,
|
|
10
|
+
// eslint-disable-next-line @atlaskit/design-system/no-physical-properties
|
|
6
11
|
marginRight: "var(--ds-space-050, 4px)",
|
|
7
12
|
padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-075, 6px)"}`,
|
|
8
13
|
border: 0,
|
|
9
14
|
borderRadius: "var(--ds-border-radius-circle, 100%)",
|
|
10
15
|
pointerEvents: 'none',
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
11
17
|
':focus, :active, :hover': {
|
|
12
18
|
appearance: 'none',
|
|
13
19
|
border: 0,
|
|
14
20
|
outline: 0
|
|
15
21
|
},
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
16
23
|
'&:only-of-type': {
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/no-physical-properties
|
|
17
25
|
marginRight: 0
|
|
18
26
|
},
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
27
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
20
28
|
'& > span': {
|
|
21
29
|
lineHeight: 'normal'
|
|
22
30
|
},
|
|
23
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
31
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
24
32
|
'& > img': {
|
|
25
33
|
width: 24,
|
|
26
34
|
height: 24,
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import { css, jsx } from '@emotion/react';
|
|
3
7
|
import { useTheme } from '../../theme';
|
|
4
8
|
const VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR = '--primary-button-before-highlighted-background-color';
|
|
@@ -12,16 +16,19 @@ const primaryButtonSkeletonStyles = css({
|
|
|
12
16
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
13
17
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
14
18
|
pointerEvents: 'none',
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
15
20
|
':focus, :active, :hover': {
|
|
16
21
|
appearance: 'none',
|
|
17
22
|
border: 0,
|
|
18
23
|
outline: 0
|
|
19
24
|
},
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
20
26
|
'::-moz-focus-inner': {
|
|
21
27
|
border: 0
|
|
22
28
|
}
|
|
23
29
|
});
|
|
24
30
|
const isHighlightedStyles = css({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
25
32
|
'&:before': {
|
|
26
33
|
height: 3,
|
|
27
34
|
position: 'absolute',
|
|
@@ -34,12 +41,14 @@ const isHighlightedStyles = css({
|
|
|
34
41
|
}
|
|
35
42
|
});
|
|
36
43
|
const isHighlightedAndDropdownButtonStyles = css({
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
37
45
|
'&:before': {
|
|
38
46
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
39
47
|
insetInlineEnd: -10
|
|
40
48
|
}
|
|
41
49
|
});
|
|
42
50
|
const isHighlightedNotDropdownButtonStyles = css({
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
43
52
|
'&:before': {
|
|
44
53
|
insetInlineEnd: "var(--ds-space-025, 2px)"
|
|
45
54
|
}
|
|
@@ -47,6 +56,7 @@ const isHighlightedNotDropdownButtonStyles = css({
|
|
|
47
56
|
const isDropdownButtonStyles = css({
|
|
48
57
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-space
|
|
49
58
|
marginInlineEnd: 18,
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
50
60
|
'&:after': {
|
|
51
61
|
display: 'inline-block',
|
|
52
62
|
width: 4,
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import { css, jsx } from '@emotion/react';
|
|
3
7
|
import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
4
8
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
@@ -10,6 +14,7 @@ import { PrimaryItemsContainer as PrimaryItemsContainerV2 } from '../PrimaryItem
|
|
|
10
14
|
var containerStyles = css({
|
|
11
15
|
display: 'flex',
|
|
12
16
|
boxSizing: 'border-box',
|
|
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
|
|
13
18
|
height: HORIZONTAL_GLOBAL_NAV_HEIGHT,
|
|
14
19
|
position: 'relative',
|
|
15
20
|
alignItems: 'center',
|
|
@@ -25,7 +30,7 @@ var leftStyles = css({
|
|
|
25
30
|
height: 'inherit',
|
|
26
31
|
alignItems: 'center',
|
|
27
32
|
flexGrow: 1,
|
|
28
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
29
34
|
'& > *': {
|
|
30
35
|
flexShrink: 0
|
|
31
36
|
}
|
|
@@ -34,7 +39,7 @@ var rightStyles = css({
|
|
|
34
39
|
display: 'flex',
|
|
35
40
|
alignItems: 'center',
|
|
36
41
|
flexShrink: 0,
|
|
37
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
42
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
38
43
|
'& > *': {
|
|
39
44
|
flexShrink: 0,
|
|
40
45
|
marginInlineEnd: "var(--ds-space-050, 4px)"
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
6
|
import { css, jsx } from '@emotion/react';
|
|
3
7
|
import { N30 } from '@atlaskit/theme/colors';
|
|
4
8
|
import { HORIZONTAL_GLOBAL_NAV_HEIGHT } from '../../common/constants';
|
|
@@ -11,6 +15,7 @@ import { SearchSkeleton } from '../Search/skeleton';
|
|
|
11
15
|
var containerStyles = css({
|
|
12
16
|
display: 'flex',
|
|
13
17
|
boxSizing: 'border-box',
|
|
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
|
|
14
19
|
height: HORIZONTAL_GLOBAL_NAV_HEIGHT,
|
|
15
20
|
position: 'relative',
|
|
16
21
|
alignItems: 'center',
|
|
@@ -26,7 +31,7 @@ var leftStyles = css({
|
|
|
26
31
|
height: 'inherit',
|
|
27
32
|
alignItems: 'center',
|
|
28
33
|
flexGrow: 1,
|
|
29
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
30
35
|
'& > *': {
|
|
31
36
|
flexShrink: 0
|
|
32
37
|
}
|
|
@@ -35,7 +40,7 @@ var rightStyles = css({
|
|
|
35
40
|
display: 'flex',
|
|
36
41
|
alignItems: 'center',
|
|
37
42
|
flexShrink: 0,
|
|
38
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
43
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
44
|
'& > *': {
|
|
40
45
|
flexShrink: 0,
|
|
41
46
|
marginInlineEnd: "var(--ds-space-050, 4px)"
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
*/
|
|
2
5
|
/** @jsx jsx */
|
|
3
6
|
import { Fragment } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
9
|
import { css, jsx } from '@emotion/react';
|
|
5
10
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
6
11
|
import AddIcon from '@atlaskit/icon/glyph/editor/add';
|
|
@@ -12,15 +17,17 @@ import { getCreateButtonTheme } from './styles';
|
|
|
12
17
|
var wrapperStyles = css({
|
|
13
18
|
display: 'flex',
|
|
14
19
|
alignItems: 'center',
|
|
15
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
16
21
|
'& [data-hide-on-smallscreens]': _defineProperty({}, "@media (max-width: ".concat(CREATE_BREAKPOINT - 1, "px)"), {
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
17
23
|
display: 'none !important'
|
|
18
24
|
}),
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
20
26
|
'& [data-hide-on-largescreens]': _defineProperty({}, "@media (min-width: ".concat(CREATE_BREAKPOINT, "px)"), {
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
21
28
|
display: 'none !important'
|
|
22
29
|
}),
|
|
23
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
30
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
24
31
|
'&&': {
|
|
25
32
|
marginInlineStart: "var(--ds-space-150, 12px)"
|
|
26
33
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
*/
|
|
2
5
|
/** @jsx jsx */
|
|
3
6
|
import { Fragment } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
9
|
import { css, jsx } from '@emotion/react';
|
|
5
10
|
import { CREATE_BREAKPOINT } from '../../common/constants';
|
|
6
11
|
import { useTheme } from '../../theme';
|
|
@@ -14,6 +19,7 @@ var skeletonStyles = css({
|
|
|
14
19
|
opacity: 0.15
|
|
15
20
|
});
|
|
16
21
|
var mobileStyles = css(_defineProperty({}, "@media (max-width: ".concat(CREATE_BREAKPOINT - 1, "px)"), {
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
17
23
|
display: 'none !important'
|
|
18
24
|
}));
|
|
19
25
|
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
/**
|
|
5
|
+
* @jsxRuntime classic
|
|
6
|
+
*/
|
|
4
7
|
/** @jsx jsx */
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
9
|
import { css, jsx } from '@emotion/react';
|
|
6
10
|
import { useTheme } from '../../theme';
|
|
7
11
|
var buttonHeight = "var(--ds-space-400, 32px)";
|
|
@@ -2,8 +2,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children", "testId", "tooltip", "isSelected", "isHighlighted"];
|
|
5
|
+
/**
|
|
6
|
+
* @jsxRuntime classic
|
|
7
|
+
*/
|
|
5
8
|
/** @jsx jsx */
|
|
6
9
|
import { forwardRef } from 'react';
|
|
10
|
+
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
12
|
import { css, jsx } from '@emotion/react';
|
|
8
13
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
9
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -20,10 +25,11 @@ var buttonBaseStyles = css({
|
|
|
20
25
|
flexDirection: 'column'
|
|
21
26
|
});
|
|
22
27
|
var buttonHighlightedStyles = css({
|
|
23
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
28
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
24
29
|
'&& > *': {
|
|
25
30
|
color: "var(".concat(VAR_BUTTON_SELECTED_COLOR, ")")
|
|
26
31
|
},
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
27
33
|
'&:after': {
|
|
28
34
|
height: 3,
|
|
29
35
|
position: 'absolute',
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* @jsxRuntime classic
|
|
4
|
+
*/
|
|
2
5
|
/** @jsx jsx */
|
|
3
6
|
import { forwardRef } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
9
|
import { jsx } from '@emotion/react';
|
|
5
10
|
import ChevronIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
6
11
|
import { Bleed, xcss } from '@atlaskit/primitives';
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
+
/**
|
|
4
|
+
* @jsxRuntime classic
|
|
5
|
+
*/
|
|
3
6
|
/** @jsx jsx */
|
|
4
7
|
import { useCallback, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
10
|
import { css, jsx } from '@emotion/react';
|
|
6
11
|
import Popup from '@atlaskit/popup';
|
|
7
12
|
import { N700 } from '@atlaskit/theme/colors';
|
|
@@ -16,7 +21,7 @@ var containerStyles = css({
|
|
|
16
21
|
flexBasis: 0,
|
|
17
22
|
flexGrow: 1,
|
|
18
23
|
flexShrink: 0,
|
|
19
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
20
25
|
'& > *': {
|
|
21
26
|
margin: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
22
27
|
flexShrink: 0
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
import { Fragment, memo } from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
8
|
import { css, jsx } from '@emotion/react';
|
|
4
9
|
import { PrimaryButtonSkeleton } from '../PrimaryButton/skeleton';
|
|
5
10
|
var primaryButtonSkeletonStyles = css({
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
marginInlineEnd: "var(--ds-space-150, 12px)",
|
|
12
|
+
marginInlineStart: "var(--ds-space-150, 12px)"
|
|
8
13
|
});
|
|
9
14
|
|
|
10
15
|
// Internal only
|
|
@@ -3,8 +3,13 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
var _excluded = ["iconAlt", "iconUrl", "logoAlt", "logoUrl", "href", "onClick", "siteTitle", "onMouseDown", "testId", "logoMaxWidth"];
|
|
5
5
|
var _css3;
|
|
6
|
+
/**
|
|
7
|
+
* @jsxRuntime classic
|
|
8
|
+
*/
|
|
6
9
|
/** @jsx jsx */
|
|
7
10
|
import { Fragment } from 'react';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
13
|
import { css, jsx } from '@emotion/react';
|
|
9
14
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
10
15
|
import { B200 } from '@atlaskit/theme/colors';
|
|
@@ -46,9 +51,11 @@ var productHomeButtonStyles = css((_css3 = {
|
|
|
46
51
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
47
52
|
color: 'inherit',
|
|
48
53
|
cursor: 'pointer',
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
49
55
|
'&::-moz-focus-inner': {
|
|
50
56
|
border: 0
|
|
51
57
|
},
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
52
59
|
'&:first-of-type': {
|
|
53
60
|
marginInlineStart: 0
|
|
54
61
|
},
|
|
@@ -67,7 +74,7 @@ var productHomeButtonStyles = css((_css3 = {
|
|
|
67
74
|
color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
|
|
68
75
|
outline: "2px solid ".concat("var(--ds-border-focused, ".concat(B200, ")"))
|
|
69
76
|
},
|
|
70
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
77
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
71
78
|
'div&': {
|
|
72
79
|
pointerEvents: 'none'
|
|
73
80
|
}
|
|
@@ -148,7 +155,9 @@ var CustomProductHome = function CustomProductHome(props) {
|
|
|
148
155
|
style: {
|
|
149
156
|
borderRight: theme.mode.productHome.borderRight
|
|
150
157
|
},
|
|
151
|
-
css: [siteTitleStyles,
|
|
158
|
+
css: [siteTitleStyles,
|
|
159
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
160
|
+
getBooleanFF('platform.design-system-team.navigation-v2-no-jank_5yhbd') && hideSiteTitleStyles],
|
|
152
161
|
"data-testid": testId && "".concat(testId, "-site-title")
|
|
153
162
|
}, siteTitle));
|
|
154
163
|
};
|
|
@@ -3,8 +3,13 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
var _excluded = ["icon", "logo", "siteTitle", "onClick", "href", "onMouseDown", "testId", "logoMaxWidth"];
|
|
5
5
|
var _css;
|
|
6
|
+
/**
|
|
7
|
+
* @jsxRuntime classic
|
|
8
|
+
*/
|
|
6
9
|
/** @jsx jsx */
|
|
7
10
|
import { Fragment } from 'react';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
13
|
import { css, jsx } from '@emotion/react';
|
|
9
14
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
10
15
|
import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
|
|
@@ -29,9 +34,11 @@ var productHomeButtonStyles = css((_css = {
|
|
|
29
34
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
30
35
|
color: 'inherit',
|
|
31
36
|
cursor: 'pointer',
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
32
38
|
'&::-moz-focus-inner': {
|
|
33
39
|
border: 0
|
|
34
40
|
},
|
|
41
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
35
42
|
'&:first-of-type': {
|
|
36
43
|
marginInlineStart: 0
|
|
37
44
|
},
|
|
@@ -50,7 +57,7 @@ var productHomeButtonStyles = css((_css = {
|
|
|
50
57
|
color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
|
|
51
58
|
outline: "var(--ds-border-width-outline, 2px)".concat(" solid ", "var(--ds-border-focused, #4C9AFF)")
|
|
52
59
|
},
|
|
53
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
60
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
54
61
|
'div&': {
|
|
55
62
|
pointerEvents: 'none'
|
|
56
63
|
}
|
|
@@ -64,11 +71,11 @@ var productLogoStyles = css(_defineProperty({
|
|
|
64
71
|
// productHome is aligned correctly
|
|
65
72
|
display: 'flex',
|
|
66
73
|
maxWidth: "var(".concat(VAR_LOGO_MAX_WIDTH, ")"),
|
|
67
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
74
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
68
75
|
'& > *': {
|
|
69
76
|
maxHeight: 24
|
|
70
77
|
},
|
|
71
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
78
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
72
79
|
'& > span > svg': {
|
|
73
80
|
maxWidth: "var(".concat(VAR_LOGO_MAX_WIDTH, ")")
|
|
74
81
|
}
|
|
@@ -82,7 +89,7 @@ var productIconStyles = css(_defineProperty({
|
|
|
82
89
|
// Ensure anything passed into
|
|
83
90
|
// productHome is aligned correctly
|
|
84
91
|
display: 'flex',
|
|
85
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
92
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
86
93
|
'& > *': {
|
|
87
94
|
maxHeight: 24
|
|
88
95
|
}
|
|
@@ -169,7 +176,9 @@ var ProductHome = function ProductHome(_ref) {
|
|
|
169
176
|
style: {
|
|
170
177
|
borderRight: theme.mode.productHome.borderRight
|
|
171
178
|
},
|
|
172
|
-
css: [siteTitleStyles,
|
|
179
|
+
css: [siteTitleStyles,
|
|
180
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
181
|
+
getBooleanFF('platform.design-system-team.navigation-v2-no-jank_5yhbd') && featureFlaggedSiteTitleStyles],
|
|
173
182
|
"data-testid": testId && "".concat(testId, "-site-title")
|
|
174
183
|
}, siteTitle));
|
|
175
184
|
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
var _css;
|
|
3
|
+
/**
|
|
4
|
+
* @jsxRuntime classic
|
|
5
|
+
*/
|
|
3
6
|
/** @jsx jsx */
|
|
4
7
|
|
|
5
8
|
import { Fragment } from 'react';
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
11
|
import { css, jsx } from '@emotion/react';
|
|
7
12
|
import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
|
|
8
13
|
import { useTheme } from '../../theme';
|
|
@@ -25,9 +30,11 @@ var productHomeButtonStyles = css((_css = {
|
|
|
25
30
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
26
31
|
color: 'inherit',
|
|
27
32
|
cursor: 'pointer',
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
28
34
|
'&::-moz-focus-inner': {
|
|
29
35
|
border: 0
|
|
30
36
|
},
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
31
38
|
'&:first-of-type': {
|
|
32
39
|
marginInlineStart: 0
|
|
33
40
|
},
|
|
@@ -47,7 +54,7 @@ var productHomeButtonStyles = css((_css = {
|
|
|
47
54
|
boxShadow: "var(".concat(VAR_PRODUCT_HOME_BOX_SHADOW_HOVER, ")"),
|
|
48
55
|
color: "var(".concat(VAR_PRODUCT_HOME_COLOR_HOVER, ")")
|
|
49
56
|
},
|
|
50
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
57
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
51
58
|
'div&': {
|
|
52
59
|
pointerEvents: 'none'
|
|
53
60
|
}
|
|
@@ -63,7 +70,7 @@ var productLogoStyles = css(_defineProperty({
|
|
|
63
70
|
height: 24,
|
|
64
71
|
maxHeight: 28,
|
|
65
72
|
opacity: 0.15,
|
|
66
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
73
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
67
74
|
'& > *': {
|
|
68
75
|
maxHeight: 24
|
|
69
76
|
}
|
|
@@ -76,7 +83,7 @@ var productIconStyles = css(_defineProperty({
|
|
|
76
83
|
height: 28,
|
|
77
84
|
borderRadius: "var(--ds-border-radius-circle, 50%)",
|
|
78
85
|
opacity: 0.15,
|
|
79
|
-
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles
|
|
86
|
+
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
80
87
|
'& > *': {
|
|
81
88
|
maxHeight: 24
|
|
82
89
|
}
|
|
@@ -91,6 +98,7 @@ var siteTitleStyles = css({
|
|
|
91
98
|
marginInlineEnd: "var(--ds-space-050, 4px)",
|
|
92
99
|
marginInlineStart: "var(--ds-space-050, 4px)",
|
|
93
100
|
paddingInlineEnd: "var(--ds-space-200, 16px)",
|
|
101
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
94
102
|
'&:after': {
|
|
95
103
|
width: '100%',
|
|
96
104
|
height: 14,
|
|
@@ -2,8 +2,13 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
var _excluded = ["placeholder", "tooltip", "label", "value"];
|
|
5
|
+
/**
|
|
6
|
+
* @jsxRuntime classic
|
|
7
|
+
*/
|
|
5
8
|
/** @jsx jsx */
|
|
6
9
|
import { Fragment } from 'react';
|
|
10
|
+
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
12
|
import { css, jsx } from '@emotion/react';
|
|
8
13
|
import SearchIcon from '@atlaskit/icon/glyph/search';
|
|
9
14
|
import { CREATE_BREAKPOINT, varSearchBackgroundColor, varSearchBorderColor, varSearchColor, varSearchFocusBorderColor, varSearchHoverBackgroundColor } from '../../common/constants';
|
|
@@ -14,6 +19,7 @@ var searchInputContainerStyles = css(_defineProperty({
|
|
|
14
19
|
marginInlineEnd: "var(--ds-space-100, 8px)",
|
|
15
20
|
marginInlineStart: "var(--ds-space-250, 20px)"
|
|
16
21
|
}, "@media (max-width: ".concat(CREATE_BREAKPOINT - 1, "px)"), {
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
17
23
|
display: 'none !important'
|
|
18
24
|
}));
|
|
19
25
|
var searchInputIconStyles = css({
|
|
@@ -27,6 +33,7 @@ var searchInputIconStyles = css({
|
|
|
27
33
|
var newSearchBorderStyles = css({
|
|
28
34
|
border: "var(--ds-border-width, 1px)".concat(" solid"),
|
|
29
35
|
'&:focus': {
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
30
37
|
boxShadow: "inset 0 0 0 ".concat("var(--ds-border-width, 1px)", " var(", varSearchFocusBorderColor, ")")
|
|
31
38
|
}
|
|
32
39
|
});
|
|
@@ -35,24 +42,31 @@ var searchInputStyles = css({
|
|
|
35
42
|
width: '220px',
|
|
36
43
|
height: "var(--ds-space-400, 32px)",
|
|
37
44
|
padding: "0 ".concat("var(--ds-space-100, 8px)", " 0 ", "var(--ds-space-500, 40px)"),
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
46
|
backgroundColor: "var(".concat(varSearchBackgroundColor, ")"),
|
|
39
47
|
border: '2px solid',
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
40
49
|
borderColor: "var(".concat(varSearchBorderColor, ")"),
|
|
41
50
|
borderRadius: "var(--ds-border-radius-200, 6px)",
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
42
52
|
color: "var(".concat(varSearchColor, ")"),
|
|
43
53
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
44
54
|
outline: 'none',
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
45
56
|
'::placeholder': {
|
|
46
57
|
color: 'inherit'
|
|
47
58
|
},
|
|
48
59
|
'&:focus': {
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
49
61
|
borderColor: "var(".concat(varSearchFocusBorderColor, ")")
|
|
50
62
|
},
|
|
51
63
|
'&:hover': {
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
52
65
|
backgroundColor: "var(".concat(varSearchHoverBackgroundColor, ")")
|
|
53
66
|
}
|
|
54
67
|
});
|
|
55
68
|
var searchIconStyles = css(_defineProperty({}, "@media (min-width: ".concat(CREATE_BREAKPOINT, "px)"), {
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
56
70
|
display: 'none !important'
|
|
57
71
|
}));
|
|
58
72
|
var SearchComponent = function SearchComponent(props) {
|