@atlaskit/menu 3.2.0 → 4.0.0
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 -0
- package/dist/cjs/internal/components/menu-item-primitive.compiled.css +81 -0
- package/dist/cjs/internal/components/menu-item-primitive.js +47 -174
- package/dist/cjs/menu-item/button-item.js +10 -22
- package/dist/cjs/menu-item/custom-item.js +11 -25
- package/dist/cjs/menu-item/link-item.js +10 -22
- package/dist/cjs/menu-item/skeleton-heading-item.js +1 -4
- package/dist/cjs/menu-item/skeleton-item.js +1 -4
- package/dist/cjs/menu-section/section.js +1 -4
- package/dist/es2019/internal/components/menu-item-primitive.compiled.css +81 -0
- package/dist/es2019/internal/components/menu-item-primitive.js +43 -172
- package/dist/es2019/menu-item/button-item.js +5 -20
- package/dist/es2019/menu-item/custom-item.js +6 -24
- package/dist/es2019/menu-item/link-item.js +5 -20
- package/dist/es2019/menu-item/skeleton-heading-item.js +1 -4
- package/dist/es2019/menu-item/skeleton-item.js +1 -4
- package/dist/es2019/menu-section/section.js +1 -4
- package/dist/esm/internal/components/menu-item-primitive.compiled.css +81 -0
- package/dist/esm/internal/components/menu-item-primitive.js +43 -171
- package/dist/esm/menu-item/button-item.js +6 -22
- package/dist/esm/menu-item/custom-item.js +7 -26
- package/dist/esm/menu-item/link-item.js +6 -22
- package/dist/esm/menu-item/skeleton-heading-item.js +1 -4
- package/dist/esm/menu-item/skeleton-item.js +1 -4
- package/dist/esm/menu-section/section.js +1 -4
- package/dist/types/internal/components/menu-item-primitive.d.ts +2 -2
- package/dist/types/types.d.ts +2 -9
- package/dist/types-ts4.5/internal/components/menu-item-primitive.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +2 -9
- package/package.json +16 -12
|
@@ -13,7 +13,6 @@ var _deprecationWarning = require("@atlaskit/ds-lib/deprecation-warning");
|
|
|
13
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
14
14
|
var _headingItem = _interopRequireDefault(require("../menu-item/heading-item"));
|
|
15
15
|
var _excluded = ["children", "overrides", "title", "titleId", "testId", "isScrollable", "hasSeparator", "id", "isList", "className"];
|
|
16
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
17
16
|
/**
|
|
18
17
|
* @jsxRuntime classic
|
|
19
18
|
* @jsx jsx
|
|
@@ -146,9 +145,7 @@ var Section = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
146
145
|
// NOTE: Firefox allows elements that have "overflow: auto" to gain focus (as if it had tab-index="0")
|
|
147
146
|
// We have made a deliberate choice to leave this behaviour as is.
|
|
148
147
|
,
|
|
149
|
-
css: [sectionStyles, isScrollable ? scrollableStyles : unscrollableStyles, hasSeparator ?
|
|
150
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
151
|
-
thinSeparatorStyles : noSeparatorStyles],
|
|
148
|
+
css: [sectionStyles, isScrollable ? scrollableStyles : unscrollableStyles, hasSeparator ? thinSeparatorStyles : noSeparatorStyles],
|
|
152
149
|
"aria-label": title,
|
|
153
150
|
"aria-labelledby": titleId,
|
|
154
151
|
"data-testid": testId,
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
|
+
._19itidpf{border:0}
|
|
5
|
+
._rfx315o9:before{border-radius:0 var(--ds-border-radius,4px) var(--ds-border-radius,4px) 0}
|
|
6
|
+
._18zrpxbi{padding-inline:var(--ds-space-200,1pc)}
|
|
7
|
+
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
8
|
+
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
9
|
+
._1rjcu2gc{padding-block:var(--ds-space-100,8px)}
|
|
10
|
+
._12ji1r31{outline-color:currentColor}
|
|
11
|
+
._12y31o36{outline-width:medium}
|
|
12
|
+
._12y3idpf{outline-width:0}
|
|
13
|
+
._16jlkb7n{flex-grow:1}
|
|
14
|
+
._18m915vq{overflow-y:hidden}
|
|
15
|
+
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
16
|
+
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
17
|
+
._1bah1h6o{justify-content:center}
|
|
18
|
+
._1bsb1osq{width:100%}
|
|
19
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
20
|
+
._1cs8stnw:before{position:absolute}
|
|
21
|
+
._1e0c1txw{display:flex}
|
|
22
|
+
._1e0c1ule{display:block}
|
|
23
|
+
._1fkrutpp:before{inset-block-end:var(--ds-space-150,9pt)}
|
|
24
|
+
._1fkrze3t:before{inset-block-end:var(--ds-space-0,0)}
|
|
25
|
+
._1hmsglyw{text-decoration-line:none}
|
|
26
|
+
._1kt9b3bt:before{content:""}
|
|
27
|
+
._1mp41y44:before{width:4px}
|
|
28
|
+
._1mp4yh40:before{width:2px}
|
|
29
|
+
._1nmz1hna{word-break:break-word}
|
|
30
|
+
._1o9zidpf{flex-shrink:0}
|
|
31
|
+
._1qu2glyw{outline-style:none}
|
|
32
|
+
._1reo15vq{overflow-x:hidden}
|
|
33
|
+
._1rus67is:before{background-color:var(--ds-border-selected,transparent)}
|
|
34
|
+
._1tke1tcg{min-height:24px}
|
|
35
|
+
._1tke1ylp{min-height:40px}
|
|
36
|
+
._1tkezwfg{min-height:2pc}
|
|
37
|
+
._1ul91tcg{min-width:24px}
|
|
38
|
+
._2hwxze3t{margin-right:var(--ds-space-0,0)}
|
|
39
|
+
._2lx21bp4{flex-direction:column}
|
|
40
|
+
._4bfu1r31{text-decoration-color:currentColor}
|
|
41
|
+
._4cvr1h6o{align-items:center}
|
|
42
|
+
._80om13gf{cursor:not-allowed}
|
|
43
|
+
._80omtlke{cursor:pointer}
|
|
44
|
+
._ajmmnqa1{text-decoration-style:solid}
|
|
45
|
+
._bfhk1q4k{background-color:var(--ds-background-selected,#f4f5f7)}
|
|
46
|
+
._bfhkqtfy{background-color:var(--ds-background-neutral-subtle,transparent)}
|
|
47
|
+
._iajmutpp:before{inset-block-start:var(--ds-space-150,9pt)}
|
|
48
|
+
._iajmze3t:before{inset-block-start:var(--ds-space-0,0)}
|
|
49
|
+
._kqswh2mm{position:relative}
|
|
50
|
+
._o5721q9c{white-space:nowrap}
|
|
51
|
+
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
52
|
+
._syaz1r31{color:currentColor}
|
|
53
|
+
._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
|
|
54
|
+
._syaz2oi6{color:var(--ds-text-disabled,#6b778c)}
|
|
55
|
+
._syazhu5v{color:var(--ds-text-selected,currentColor)}
|
|
56
|
+
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
57
|
+
._vchhusvi{box-sizing:border-box}
|
|
58
|
+
._y3gn1e5h{text-align:left}
|
|
59
|
+
._z5wtze3t:before{inset-inline-start:var(--ds-space-0,0)}._10531r31:visited{color:currentColor}
|
|
60
|
+
._1053hu5v:visited{color:var(--ds-text-selected,currentColor)}
|
|
61
|
+
._128m1bk5:focus-visible{outline-width:var(--ds-border-width-outline,2px)}
|
|
62
|
+
._1ah311pw:focus-visible{outline-offset:calc(0px - var(--ds-border-width-outline, 2px))}
|
|
63
|
+
._mizu194a:focus-visible{outline-color:var(--ds-border-focused,#2684ff)}
|
|
64
|
+
._ra3xnqa1:focus-visible{outline-style:solid}
|
|
65
|
+
._1bnxglyw:hover{text-decoration-line:none}
|
|
66
|
+
._30l316ov:hover{color:var(--ds-text-accent-blue,currentColor)}
|
|
67
|
+
._30l31r31:hover{color:currentColor}
|
|
68
|
+
._30l32oi6:hover{color:var(--ds-text-disabled,#6b778c)}
|
|
69
|
+
._30l3hu5v:hover{color:var(--ds-text-selected,currentColor)}
|
|
70
|
+
._9oik1r31:hover{text-decoration-color:currentColor}
|
|
71
|
+
._irr31dko:hover{background-color:var(--ds-background-neutral-subtle-hovered,#f4f5f7)}
|
|
72
|
+
._irr32seo:hover{background-color:var(--ds-background-selected-hovered,#f4f5f7)}
|
|
73
|
+
._irr3qtfy:hover{background-color:var(--ds-background-neutral-subtle,transparent)}
|
|
74
|
+
._jf4cnqa1:hover{text-decoration-style:solid}
|
|
75
|
+
._1di61dko:active{background-color:var(--ds-background-neutral-subtle-hovered,#f4f5f7)}
|
|
76
|
+
._1di6guph:active{background-color:var(--ds-background-selected-pressed,#ebecf0)}
|
|
77
|
+
._1di6qtfy:active{background-color:var(--ds-background-neutral-subtle,transparent)}
|
|
78
|
+
._9h8h1r31:active{color:currentColor}
|
|
79
|
+
._9h8h2oi6:active{color:var(--ds-text-disabled,#6b778c)}
|
|
80
|
+
._9h8hhu5v:active{color:var(--ds-text-selected,currentColor)}
|
|
81
|
+
@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){._1cvmnqa1:focus-visible{outline-style:solid}._4davt94y:focus-visible{outline-width:1px}}
|
|
@@ -1,159 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
1
|
+
/* menu-item-primitive.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
|
+
import "./menu-item-primitive.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
5
4
|
import { useContext } from 'react';
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
-
import { ClassNames, css, jsx } from '@emotion/react';
|
|
5
|
+
import { ax, ix } from '@compiled/react/runtime';
|
|
9
6
|
import { propDeprecationWarning } from '@atlaskit/ds-lib/deprecation-warning';
|
|
10
|
-
import FocusRing from '@atlaskit/focus-ring';
|
|
11
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
-
import { Inline
|
|
13
|
-
import { N20, N200, N30 } from '@atlaskit/theme/colors';
|
|
8
|
+
import { Inline } from '@atlaskit/primitives/compiled';
|
|
14
9
|
import { SELECTION_STYLE_CONTEXT_DO_NOT_USE, SpacingContext } from './menu-context';
|
|
15
10
|
const defaultRender = (Component, props) =>
|
|
11
|
+
/*#__PURE__*/
|
|
16
12
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
textAlign: 'left'
|
|
36
|
-
});
|
|
37
|
-
const truncateStyles = css({
|
|
38
|
-
display: 'block',
|
|
39
|
-
overflow: 'hidden',
|
|
40
|
-
textOverflow: 'ellipsis',
|
|
41
|
-
whiteSpace: 'nowrap'
|
|
42
|
-
});
|
|
43
|
-
const titleStyles = css({
|
|
44
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
45
|
-
});
|
|
46
|
-
const wordBreakStyles = css({
|
|
47
|
-
wordBreak: 'break-word'
|
|
48
|
-
});
|
|
49
|
-
const descriptionStyles = css({
|
|
50
|
-
color: `var(--ds-text-subtlest, ${N200})`,
|
|
51
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"
|
|
52
|
-
});
|
|
53
|
-
const disabledDescriptionStyles = css({
|
|
54
|
-
color: `var(--ds-text-disabled, ${N200})`
|
|
55
|
-
});
|
|
56
|
-
const positionRelativeStyles = css({
|
|
57
|
-
position: 'relative'
|
|
58
|
-
});
|
|
59
|
-
const primitiveStyles = css({
|
|
60
|
-
display: 'flex',
|
|
61
|
-
boxSizing: 'border-box',
|
|
62
|
-
width: '100%',
|
|
63
|
-
minHeight: 40,
|
|
64
|
-
margin: "var(--ds-space-0, 0px)",
|
|
65
|
-
alignItems: 'center',
|
|
66
|
-
border: 0,
|
|
67
|
-
outline: 0,
|
|
68
|
-
textDecoration: 'none',
|
|
69
|
-
userSelect: 'none',
|
|
70
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
71
|
-
'&::-moz-focus-inner': {
|
|
72
|
-
border: 0
|
|
73
|
-
},
|
|
74
|
-
'&:hover': {
|
|
75
|
-
textDecoration: 'none'
|
|
76
|
-
}
|
|
77
|
-
});
|
|
13
|
+
React.createElement(Component, props);
|
|
14
|
+
const styles = {
|
|
15
|
+
root: "_19itidpf _12ji1r31 _1qu2glyw _12y3idpf _4bfu1r31 _1hmsglyw _ajmmnqa1 _kqswh2mm _1e0c1txw _vchhusvi _1bsb1osq _1tke1ylp _19pkze3t _2hwxze3t _otyrze3t _18u0ze3t _4cvr1h6o _uiztglyw _80omtlke _mizu194a _1ah311pw _ra3xnqa1 _128m1bk5 _9oik1r31 _1bnxglyw _jf4cnqa1 _1cvmnqa1 _4davt94y",
|
|
16
|
+
beforeAfterElementOld: "_1e0c1txw _4cvr1h6o _1bah1h6o _1o9zidpf",
|
|
17
|
+
beforeAfterElement: "_1e0c1txw _1ul91tcg _1tke1tcg _4cvr1h6o _1bah1h6o _1o9zidpf",
|
|
18
|
+
content: "_12ji1r31 _1qu2glyw _12y31o36 _1reo15vq _18m915vq _1e0c1txw _2lx21bp4 _1bah1h6o _16jlkb7n _y3gn1e5h",
|
|
19
|
+
truncate: "_1reo15vq _18m915vq _1e0c1ule _1bto1l2s _o5721q9c",
|
|
20
|
+
title: "_11c82smr",
|
|
21
|
+
wordBreak: "_1nmz1hna",
|
|
22
|
+
description: "_11c8dcr7 _syaz1wmz",
|
|
23
|
+
disabledDescription: "_syaz2oi6",
|
|
24
|
+
unselected: "_bfhkqtfy _syaz1r31 _10531r31 _irr31dko _30l31r31 _1di61dko _9h8h1r31",
|
|
25
|
+
disabled: "_80om13gf _bfhkqtfy _syaz2oi6 _irr3qtfy _30l32oi6 _1di6qtfy _9h8h2oi6",
|
|
26
|
+
selectedBorder: "_1mp4yh40 _1cs8stnw _1rus67is _1kt9b3bt _1fkrze3t _iajmze3t _z5wtze3t",
|
|
27
|
+
selectedNotch: "_rfx315o9 _1mp41y44 _1cs8stnw _1rus67is _1kt9b3bt _1fkrutpp _iajmutpp _z5wtze3t",
|
|
28
|
+
selected: "_bfhk1q4k _syazhu5v _1053hu5v _irr32seo _30l316ov _1di6guph _9h8hhu5v",
|
|
29
|
+
selectedOld: "_30l3hu5v"
|
|
30
|
+
};
|
|
78
31
|
const spacingMapStyles = {
|
|
79
|
-
cozy:
|
|
80
|
-
|
|
81
|
-
paddingBlock: "var(--ds-space-100, 8px)",
|
|
82
|
-
paddingInline: "var(--ds-space-200, 16px)"
|
|
83
|
-
}),
|
|
84
|
-
compact: css({
|
|
85
|
-
minHeight: 32,
|
|
86
|
-
// 4 * 2 (8) + icon (24) === 32
|
|
87
|
-
paddingBlock: "var(--ds-space-050, 4px)",
|
|
88
|
-
paddingInline: "var(--ds-space-150, 12px)"
|
|
89
|
-
})
|
|
32
|
+
cozy: "_1rjcu2gc _18zrpxbi",
|
|
33
|
+
compact: "_1rjc1b66 _18zrutpp _1tkezwfg"
|
|
90
34
|
};
|
|
91
|
-
const interactiveStyles = css({
|
|
92
|
-
cursor: 'pointer'
|
|
93
|
-
});
|
|
94
|
-
const unselectedStyles = css({
|
|
95
|
-
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
96
|
-
color: 'currentColor',
|
|
97
|
-
'&:visited': {
|
|
98
|
-
color: 'currentColor'
|
|
99
|
-
},
|
|
100
|
-
'&:hover': {
|
|
101
|
-
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${N20})`,
|
|
102
|
-
color: 'currentColor'
|
|
103
|
-
},
|
|
104
|
-
'&:active': {
|
|
105
|
-
backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${N30})`,
|
|
106
|
-
boxShadow: 'none',
|
|
107
|
-
color: 'currentColor'
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
const disabledStyles = css({
|
|
111
|
-
cursor: 'not-allowed',
|
|
112
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
113
|
-
'&, :hover, :active': {
|
|
114
|
-
backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
|
|
115
|
-
color: `var(--ds-text-disabled, ${N200})`
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
const selectedBorderStyles = css({
|
|
119
|
-
'&::before': {
|
|
120
|
-
width: 2,
|
|
121
|
-
position: 'absolute',
|
|
122
|
-
background: "var(--ds-border-selected, transparent)",
|
|
123
|
-
content: '""',
|
|
124
|
-
insetBlockEnd: 0,
|
|
125
|
-
insetBlockStart: 0,
|
|
126
|
-
insetInlineStart: 0
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
const selectedNotchStyles = css({
|
|
130
|
-
'&::before': {
|
|
131
|
-
width: 4,
|
|
132
|
-
position: 'absolute',
|
|
133
|
-
background: "var(--ds-border-selected, transparent)",
|
|
134
|
-
borderRadius: `0 ${"var(--ds-border-radius, 4px)"} ${"var(--ds-border-radius, 4px)"} 0`,
|
|
135
|
-
content: '""',
|
|
136
|
-
insetBlockEnd: "var(--ds-space-150, 12px)",
|
|
137
|
-
insetBlockStart: "var(--ds-space-150, 12px)",
|
|
138
|
-
insetInlineStart: 0
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
const selectedStyles = css({
|
|
142
|
-
backgroundColor: `var(--ds-background-selected, ${N20})`,
|
|
143
|
-
// Fallback set as babel plugin inserts one otherwise
|
|
144
|
-
color: "var(--ds-text-selected, currentColor)",
|
|
145
|
-
'&:visited': {
|
|
146
|
-
color: "var(--ds-text-selected, currentColor)"
|
|
147
|
-
},
|
|
148
|
-
'&:hover': {
|
|
149
|
-
backgroundColor: `var(--ds-background-selected-hovered, ${N20})`,
|
|
150
|
-
color: "var(--ds-text-selected, currentColor)"
|
|
151
|
-
},
|
|
152
|
-
'&:active': {
|
|
153
|
-
backgroundColor: `var(--ds-background-selected-pressed, ${N30})`,
|
|
154
|
-
color: "var(--ds-text-selected, currentColor)"
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
35
|
const gapMap = {
|
|
158
36
|
compact: 'space.100',
|
|
159
37
|
cozy: 'space.150'
|
|
@@ -193,42 +71,35 @@ const MenuItemPrimitive = ({
|
|
|
193
71
|
const selectionStyle = useContext(SELECTION_STYLE_CONTEXT_DO_NOT_USE);
|
|
194
72
|
const renderTitle = overrides && overrides.Title && overrides.Title.render || defaultRender;
|
|
195
73
|
const UNSAFE_className = UNSAFE_externalClassName;
|
|
196
|
-
return
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
return jsx(FocusRing, {
|
|
201
|
-
isInset: true
|
|
202
|
-
}, children({
|
|
203
|
-
className: cx([cn([positionRelativeStyles, primitiveStyles, spacingMapStyles[spacing], !isDisabled && !isSelected && unselectedStyles, !isDisabled && isSelected && [selectedStyles, [selectionStyle === 'border' && selectedBorderStyles, selectionStyle === 'notch' && selectedNotchStyles]], isDisabled ? disabledStyles : interactiveStyles]), UNSAFE_className]),
|
|
204
|
-
children: jsx(Inline, {
|
|
74
|
+
return (() => {
|
|
75
|
+
return children({
|
|
76
|
+
className: ax([ax([styles.root, spacingMapStyles[spacing], !isDisabled && !isSelected && styles.unselected, !isDisabled && isSelected && styles.selected, !fg('platform_fix_a11y_selected_and_hovered_state_color') && !isDisabled && isSelected && styles.selectedOld, !isDisabled && isSelected && selectionStyle === 'border' && styles.selectedBorder, !isDisabled && isSelected && selectionStyle === 'notch' && styles.selectedNotch, isDisabled && styles.disabled]), UNSAFE_className]),
|
|
77
|
+
children: /*#__PURE__*/React.createElement(Inline, {
|
|
205
78
|
as: "span",
|
|
206
79
|
spread: "space-between",
|
|
207
80
|
alignBlock: "center",
|
|
208
81
|
space: gapMap[spacing],
|
|
209
82
|
grow: "fill",
|
|
210
83
|
testId: testId && `${testId}--container`
|
|
211
|
-
}, iconBefore &&
|
|
84
|
+
}, iconBefore && /*#__PURE__*/React.createElement("span", {
|
|
212
85
|
"data-item-elem-before": true,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}, iconBefore), title &&
|
|
216
|
-
|
|
217
|
-
grow: "fill",
|
|
218
|
-
xcss: contentStyles
|
|
86
|
+
"data-testid": testId && `${testId}--icon-before`,
|
|
87
|
+
className: ax([fg('platform_ads_component_no_icon_spacing_support') && styles.beforeAfterElement, !fg('platform_ads_component_no_icon_spacing_support') && styles.beforeAfterElementOld])
|
|
88
|
+
}, iconBefore), title && /*#__PURE__*/React.createElement("div", {
|
|
89
|
+
className: ax([styles.content])
|
|
219
90
|
}, renderTitle('span', {
|
|
220
91
|
children: title,
|
|
221
|
-
className:
|
|
92
|
+
className: ax([styles.title, shouldTitleWrap ? styles.wordBreak : styles.truncate]),
|
|
222
93
|
'data-item-title': true
|
|
223
|
-
}), description &&
|
|
94
|
+
}), description && /*#__PURE__*/React.createElement("span", {
|
|
224
95
|
"data-item-description": true,
|
|
225
|
-
|
|
226
|
-
}, description)), iconAfter &&
|
|
96
|
+
className: ax([styles.description, isDisabled && styles.disabledDescription, shouldDescriptionWrap && styles.wordBreak, !shouldDescriptionWrap && styles.truncate])
|
|
97
|
+
}, description)), iconAfter && /*#__PURE__*/React.createElement("span", {
|
|
227
98
|
"data-item-elem-after": true,
|
|
228
|
-
|
|
229
|
-
|
|
99
|
+
"data-testid": testId && `${testId}--icon-after`,
|
|
100
|
+
className: ax([fg('platform_ads_component_no_icon_spacing_support') && styles.beforeAfterElement, !fg('platform_ads_component_no_icon_spacing_support') && styles.beforeAfterElementOld])
|
|
230
101
|
}, iconAfter))
|
|
231
|
-
})
|
|
232
|
-
});
|
|
102
|
+
});
|
|
103
|
+
})();
|
|
233
104
|
};
|
|
234
105
|
export default MenuItemPrimitive;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
+
/* button-item.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
5
|
import { forwardRef, memo, useCallback, useContext } from 'react';
|
|
7
|
-
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
import { jsx } from '@emotion/react';
|
|
10
|
-
import { propDeprecationWarning } from '@atlaskit/ds-lib/deprecation-warning';
|
|
11
|
-
import noop from '@atlaskit/ds-lib/noop';
|
|
12
6
|
import InteractionContext from '@atlaskit/interaction-context';
|
|
13
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
8
|
import MenuItemPrimitive from '../internal/components/menu-item-primitive';
|
|
@@ -25,7 +19,6 @@ const ButtonItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
25
19
|
(props, ref) => {
|
|
26
20
|
const {
|
|
27
21
|
children,
|
|
28
|
-
cssFn = noop,
|
|
29
22
|
description,
|
|
30
23
|
iconAfter,
|
|
31
24
|
iconBefore,
|
|
@@ -50,9 +43,7 @@ const ButtonItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
50
43
|
if (!children) {
|
|
51
44
|
return null;
|
|
52
45
|
}
|
|
53
|
-
|
|
54
|
-
);
|
|
55
|
-
return jsx(MenuItemPrimitive
|
|
46
|
+
return /*#__PURE__*/React.createElement(MenuItemPrimitive
|
|
56
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
57
48
|
, _extends({
|
|
58
49
|
className: UNSAFE_className
|
|
@@ -67,17 +58,11 @@ const ButtonItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
67
58
|
title: children,
|
|
68
59
|
shouldTitleWrap: shouldTitleWrap,
|
|
69
60
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
70
|
-
css:
|
|
71
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
72
|
-
cssFn({
|
|
73
|
-
isSelected,
|
|
74
|
-
isDisabled
|
|
75
|
-
}),
|
|
76
61
|
testId: testId && `${testId}--primitive`
|
|
77
62
|
}), ({
|
|
78
63
|
children,
|
|
79
64
|
className
|
|
80
|
-
}) =>
|
|
65
|
+
}) => /*#__PURE__*/React.createElement("button", _extends({
|
|
81
66
|
"data-testid": testId
|
|
82
67
|
}, rest, {
|
|
83
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
+
/* custom-item.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
7
5
|
import { forwardRef, memo, useCallback, useContext } from 'react';
|
|
8
|
-
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
-
import { css, jsx } from '@emotion/react';
|
|
11
|
-
import { propDeprecationWarning } from '@atlaskit/ds-lib/deprecation-warning';
|
|
12
|
-
import noop from '@atlaskit/ds-lib/noop';
|
|
13
6
|
import InteractionContext from '@atlaskit/interaction-context';
|
|
14
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
8
|
import MenuItemPrimitive from '../internal/components/menu-item-primitive';
|
|
@@ -29,7 +22,6 @@ const preventEvent = e => {
|
|
|
29
22
|
*/
|
|
30
23
|
const CustomItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
31
24
|
component: Component,
|
|
32
|
-
cssFn = noop,
|
|
33
25
|
isDisabled = false,
|
|
34
26
|
isSelected = false,
|
|
35
27
|
onClick,
|
|
@@ -56,9 +48,7 @@ const CustomItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
56
48
|
if (!Component) {
|
|
57
49
|
return null;
|
|
58
50
|
}
|
|
59
|
-
|
|
60
|
-
);
|
|
61
|
-
return jsx(MenuItemPrimitive
|
|
51
|
+
return /*#__PURE__*/React.createElement(MenuItemPrimitive
|
|
62
52
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
63
53
|
, _extends({
|
|
64
54
|
className: UNSAFE_className
|
|
@@ -72,20 +62,12 @@ const CustomItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
|
|
|
72
62
|
isSelected: isSelected,
|
|
73
63
|
isDisabled: isDisabled,
|
|
74
64
|
shouldTitleWrap: shouldTitleWrap,
|
|
75
|
-
shouldDescriptionWrap: shouldDescriptionWrap
|
|
76
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
77
|
-
,
|
|
78
|
-
css: css(
|
|
79
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
80
|
-
cssFn({
|
|
81
|
-
isDisabled,
|
|
82
|
-
isSelected
|
|
83
|
-
})),
|
|
65
|
+
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
84
66
|
testId: testId && `${testId}--primitive`
|
|
85
67
|
}), ({
|
|
86
68
|
children,
|
|
87
69
|
className
|
|
88
|
-
}) =>
|
|
70
|
+
}) => /*#__PURE__*/React.createElement(Component, _extends({
|
|
89
71
|
"data-testid": testId
|
|
90
72
|
}, rest, {
|
|
91
73
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
+
/* link-item.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
5
|
import { forwardRef, memo, useCallback, useContext } from 'react';
|
|
7
|
-
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
import { jsx } from '@emotion/react';
|
|
10
6
|
import { useRouterLink } from '@atlaskit/app-provider';
|
|
11
|
-
import { propDeprecationWarning } from '@atlaskit/ds-lib/deprecation-warning';
|
|
12
|
-
import noop from '@atlaskit/ds-lib/noop';
|
|
13
7
|
import InteractionContext from '@atlaskit/interaction-context';
|
|
14
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
9
|
import MenuItemPrimitive from '../internal/components/menu-item-primitive';
|
|
@@ -33,7 +27,6 @@ const LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
33
27
|
const {
|
|
34
28
|
children,
|
|
35
29
|
href,
|
|
36
|
-
cssFn = noop,
|
|
37
30
|
description,
|
|
38
31
|
iconAfter,
|
|
39
32
|
iconBefore,
|
|
@@ -75,9 +68,7 @@ const LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
75
68
|
*/
|
|
76
69
|
const isRouterLink = !UNSAFE_shouldDisableRouterLink && RouterLink && !isExternal && !isNonHttpBased && !isEmptyHref;
|
|
77
70
|
const Component = isRouterLink ? RouterLink : 'a';
|
|
78
|
-
|
|
79
|
-
);
|
|
80
|
-
return jsx(MenuItemPrimitive, _extends({}, rest, {
|
|
71
|
+
return /*#__PURE__*/React.createElement(MenuItemPrimitive, _extends({}, rest, {
|
|
81
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
82
73
|
className: UNSAFE_className
|
|
83
74
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-overrides
|
|
@@ -90,18 +81,12 @@ const LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
|
|
|
90
81
|
description: description,
|
|
91
82
|
shouldTitleWrap: shouldTitleWrap,
|
|
92
83
|
shouldDescriptionWrap: shouldDescriptionWrap,
|
|
93
|
-
css:
|
|
94
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
95
|
-
cssFn({
|
|
96
|
-
isSelected,
|
|
97
|
-
isDisabled
|
|
98
|
-
}),
|
|
99
84
|
title: children,
|
|
100
85
|
testId: testId && `${testId}--primitive`
|
|
101
86
|
}), ({
|
|
102
87
|
children,
|
|
103
88
|
className
|
|
104
|
-
}) =>
|
|
89
|
+
}) => /*#__PURE__*/React.createElement(Component, _extends({
|
|
105
90
|
"data-testid": testId,
|
|
106
91
|
"data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined,
|
|
107
92
|
"data-vc": "link-item"
|
|
@@ -60,12 +60,9 @@ const SkeletonHeadingItem = ({
|
|
|
60
60
|
className
|
|
61
61
|
}) => jsx("div", {
|
|
62
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
63
|
-
className: className
|
|
64
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
65
|
-
,
|
|
63
|
+
className: className,
|
|
66
64
|
style: {
|
|
67
65
|
'--width': width
|
|
68
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
69
66
|
},
|
|
70
67
|
css: [skeletonStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
71
68
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
@@ -129,12 +129,9 @@ const SkeletonItem = ({
|
|
|
129
129
|
className
|
|
130
130
|
}) => jsx("div", {
|
|
131
131
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
132
|
-
className: className
|
|
133
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
134
|
-
,
|
|
132
|
+
className: className,
|
|
135
133
|
style: {
|
|
136
134
|
'--width': width
|
|
137
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
138
135
|
},
|
|
139
136
|
css: [skeletonStyles, (hasAvatar || hasIcon) && beforeElementStyles, hasAvatar && avatarStyles, hasIcon && iconStyles, width ? customWidthStyles : defaultWidthStyles,
|
|
140
137
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
3
2
|
/**
|
|
4
3
|
* @jsxRuntime classic
|
|
5
4
|
* @jsx jsx
|
|
@@ -140,9 +139,7 @@ const Section = /*#__PURE__*/forwardRef(({
|
|
|
140
139
|
// NOTE: Firefox allows elements that have "overflow: auto" to gain focus (as if it had tab-index="0")
|
|
141
140
|
// We have made a deliberate choice to leave this behaviour as is.
|
|
142
141
|
,
|
|
143
|
-
css: [sectionStyles, isScrollable ? scrollableStyles : unscrollableStyles, hasSeparator ?
|
|
144
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
145
|
-
thinSeparatorStyles : noSeparatorStyles],
|
|
142
|
+
css: [sectionStyles, isScrollable ? scrollableStyles : unscrollableStyles, hasSeparator ? thinSeparatorStyles : noSeparatorStyles],
|
|
146
143
|
"aria-label": title,
|
|
147
144
|
"aria-labelledby": titleId,
|
|
148
145
|
"data-testid": testId,
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
|
|
2
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
4
|
+
._19itidpf{border:0}
|
|
5
|
+
._rfx315o9:before{border-radius:0 var(--ds-border-radius,4px) var(--ds-border-radius,4px) 0}
|
|
6
|
+
._18zrpxbi{padding-inline:var(--ds-space-200,1pc)}
|
|
7
|
+
._18zrutpp{padding-inline:var(--ds-space-150,9pt)}
|
|
8
|
+
._1rjc1b66{padding-block:var(--ds-space-050,4px)}
|
|
9
|
+
._1rjcu2gc{padding-block:var(--ds-space-100,8px)}
|
|
10
|
+
._12ji1r31{outline-color:currentColor}
|
|
11
|
+
._12y31o36{outline-width:medium}
|
|
12
|
+
._12y3idpf{outline-width:0}
|
|
13
|
+
._16jlkb7n{flex-grow:1}
|
|
14
|
+
._18m915vq{overflow-y:hidden}
|
|
15
|
+
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
16
|
+
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
17
|
+
._1bah1h6o{justify-content:center}
|
|
18
|
+
._1bsb1osq{width:100%}
|
|
19
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
20
|
+
._1cs8stnw:before{position:absolute}
|
|
21
|
+
._1e0c1txw{display:flex}
|
|
22
|
+
._1e0c1ule{display:block}
|
|
23
|
+
._1fkrutpp:before{inset-block-end:var(--ds-space-150,9pt)}
|
|
24
|
+
._1fkrze3t:before{inset-block-end:var(--ds-space-0,0)}
|
|
25
|
+
._1hmsglyw{text-decoration-line:none}
|
|
26
|
+
._1kt9b3bt:before{content:""}
|
|
27
|
+
._1mp41y44:before{width:4px}
|
|
28
|
+
._1mp4yh40:before{width:2px}
|
|
29
|
+
._1nmz1hna{word-break:break-word}
|
|
30
|
+
._1o9zidpf{flex-shrink:0}
|
|
31
|
+
._1qu2glyw{outline-style:none}
|
|
32
|
+
._1reo15vq{overflow-x:hidden}
|
|
33
|
+
._1rus67is:before{background-color:var(--ds-border-selected,transparent)}
|
|
34
|
+
._1tke1tcg{min-height:24px}
|
|
35
|
+
._1tke1ylp{min-height:40px}
|
|
36
|
+
._1tkezwfg{min-height:2pc}
|
|
37
|
+
._1ul91tcg{min-width:24px}
|
|
38
|
+
._2hwxze3t{margin-right:var(--ds-space-0,0)}
|
|
39
|
+
._2lx21bp4{flex-direction:column}
|
|
40
|
+
._4bfu1r31{text-decoration-color:currentColor}
|
|
41
|
+
._4cvr1h6o{align-items:center}
|
|
42
|
+
._80om13gf{cursor:not-allowed}
|
|
43
|
+
._80omtlke{cursor:pointer}
|
|
44
|
+
._ajmmnqa1{text-decoration-style:solid}
|
|
45
|
+
._bfhk1q4k{background-color:var(--ds-background-selected,#f4f5f7)}
|
|
46
|
+
._bfhkqtfy{background-color:var(--ds-background-neutral-subtle,transparent)}
|
|
47
|
+
._iajmutpp:before{inset-block-start:var(--ds-space-150,9pt)}
|
|
48
|
+
._iajmze3t:before{inset-block-start:var(--ds-space-0,0)}
|
|
49
|
+
._kqswh2mm{position:relative}
|
|
50
|
+
._o5721q9c{white-space:nowrap}
|
|
51
|
+
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
52
|
+
._syaz1r31{color:currentColor}
|
|
53
|
+
._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
|
|
54
|
+
._syaz2oi6{color:var(--ds-text-disabled,#6b778c)}
|
|
55
|
+
._syazhu5v{color:var(--ds-text-selected,currentColor)}
|
|
56
|
+
._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
57
|
+
._vchhusvi{box-sizing:border-box}
|
|
58
|
+
._y3gn1e5h{text-align:left}
|
|
59
|
+
._z5wtze3t:before{inset-inline-start:var(--ds-space-0,0)}._10531r31:visited{color:currentColor}
|
|
60
|
+
._1053hu5v:visited{color:var(--ds-text-selected,currentColor)}
|
|
61
|
+
._128m1bk5:focus-visible{outline-width:var(--ds-border-width-outline,2px)}
|
|
62
|
+
._1ah311pw:focus-visible{outline-offset:calc(0px - var(--ds-border-width-outline, 2px))}
|
|
63
|
+
._mizu194a:focus-visible{outline-color:var(--ds-border-focused,#2684ff)}
|
|
64
|
+
._ra3xnqa1:focus-visible{outline-style:solid}
|
|
65
|
+
._1bnxglyw:hover{text-decoration-line:none}
|
|
66
|
+
._30l316ov:hover{color:var(--ds-text-accent-blue,currentColor)}
|
|
67
|
+
._30l31r31:hover{color:currentColor}
|
|
68
|
+
._30l32oi6:hover{color:var(--ds-text-disabled,#6b778c)}
|
|
69
|
+
._30l3hu5v:hover{color:var(--ds-text-selected,currentColor)}
|
|
70
|
+
._9oik1r31:hover{text-decoration-color:currentColor}
|
|
71
|
+
._irr31dko:hover{background-color:var(--ds-background-neutral-subtle-hovered,#f4f5f7)}
|
|
72
|
+
._irr32seo:hover{background-color:var(--ds-background-selected-hovered,#f4f5f7)}
|
|
73
|
+
._irr3qtfy:hover{background-color:var(--ds-background-neutral-subtle,transparent)}
|
|
74
|
+
._jf4cnqa1:hover{text-decoration-style:solid}
|
|
75
|
+
._1di61dko:active{background-color:var(--ds-background-neutral-subtle-hovered,#f4f5f7)}
|
|
76
|
+
._1di6guph:active{background-color:var(--ds-background-selected-pressed,#ebecf0)}
|
|
77
|
+
._1di6qtfy:active{background-color:var(--ds-background-neutral-subtle,transparent)}
|
|
78
|
+
._9h8h1r31:active{color:currentColor}
|
|
79
|
+
._9h8h2oi6:active{color:var(--ds-text-disabled,#6b778c)}
|
|
80
|
+
._9h8hhu5v:active{color:var(--ds-text-selected,currentColor)}
|
|
81
|
+
@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){._1cvmnqa1:focus-visible{outline-style:solid}._4davt94y:focus-visible{outline-width:1px}}
|