@atlaskit/profilecard 19.14.0 → 19.14.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 +1129 -1124
- package/afm-cc/tsconfig.json +3 -0
- package/dist/cjs/client/ProfileCardClient.js +7 -0
- package/dist/cjs/client/getTeamFromAGG.js +1 -1
- package/dist/cjs/components/User/ProfileCardDetails.js +1 -1
- package/dist/cjs/styled/Card.js +42 -42
- package/dist/cjs/styled/Error.js +9 -5
- package/dist/cjs/styled/ReportingLines.js +8 -5
- package/dist/cjs/styled/TeamCard.js +21 -16
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/client/ProfileCardClient.js +7 -0
- package/dist/es2019/client/getTeamFromAGG.js +1 -1
- package/dist/es2019/components/User/ProfileCardDetails.js +1 -1
- package/dist/es2019/styled/Card.js +207 -208
- package/dist/es2019/styled/Error.js +9 -5
- package/dist/es2019/styled/ReportingLines.js +8 -5
- package/dist/es2019/styled/TeamCard.js +27 -22
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/client/ProfileCardClient.js +7 -0
- package/dist/esm/client/getTeamFromAGG.js +1 -1
- package/dist/esm/components/User/ProfileCardDetails.js +1 -1
- package/dist/esm/styled/Card.js +42 -42
- package/dist/esm/styled/Error.js +9 -5
- package/dist/esm/styled/ReportingLines.js +8 -5
- package/dist/esm/styled/TeamCard.js +21 -16
- package/dist/esm/util/analytics.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types.d.ts +83 -83
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +83 -83
- package/docs/0-intro.tsx +13 -18
- package/docs/1-profilecard-trigger.tsx +13 -19
- package/docs/2-team-profilecard.tsx +26 -32
- package/package.json +10 -8
- package/report.api.md +457 -496
|
@@ -8,23 +8,23 @@ import { borderRadius, fontSize, fontSizeSmall, gridSize } from '@atlaskit/theme
|
|
|
8
8
|
import { appLabelBgColor, appLabelTextColor, bgColor, headerBgColor, headerBgColorDisabledUser, headerTextColor, headerTextColorInactive, labelIconColor, labelTextColor } from './constants';
|
|
9
9
|
const getFullNameMargin = props => props.noMeta ? `${"var(--ds-space-400, 32px)"} 0 ${"var(--ds-space-150, 12px)"} 0` : `${"var(--ds-space-150, 12px)"} 0 0 0`;
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
export const CardWrapper = styled.div`
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
background-color: ${bgColor};
|
|
14
|
+
border-radius: ${"var(--ds-border-radius, 3px)"};
|
|
15
|
+
width: ${gridSize() * 45}px;
|
|
16
16
|
`;
|
|
17
17
|
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
19
19
|
export const ProfileImage = styled.div`
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: ${"var(--ds-space-300, 24px)"};
|
|
22
|
+
left: ${"var(--ds-space-300, 24px)"};
|
|
23
23
|
`;
|
|
24
24
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
26
26
|
export const ActionsFlexSpacer = styled.div`
|
|
27
|
-
|
|
27
|
+
flex: 1 0 auto;
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @atlaskit/design-system/no-keyframes-tagged-template-expression -- needs manual remediation
|
|
@@ -33,24 +33,24 @@ const kudosButtonAnimationTransformation = keyframes`
|
|
|
33
33
|
100% { transform: translate(90px, -70px); }
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-keyframes -- Ignored via go/DSP-18766
|
|
37
37
|
export const KudosBlobAnimationStyle = styled.div`
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
38
|
+
display: none;
|
|
39
|
+
height: 150px;
|
|
40
|
+
width: 150px;
|
|
41
|
+
z-index: -1;
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: ${gridSize() * 4 / fontSize()}em;
|
|
44
|
+
animation-name: ${kudosButtonAnimationTransformation};
|
|
45
|
+
animation-iteration-count: 1;
|
|
46
|
+
animation-duration: 3s;
|
|
47
|
+
background-image: radial-gradient(
|
|
48
|
+
circle,
|
|
49
|
+
${"var(--ds-background-information-pressed, #85B8FF)"} 0%,
|
|
50
|
+
${"var(--ds-background-discovery-pressed, #B8ACF6)"} 25%,
|
|
51
|
+
transparent 50%
|
|
52
|
+
);
|
|
53
|
+
overflow: hidden;
|
|
54
54
|
`;
|
|
55
55
|
export const KudosBlobAnimation = props =>
|
|
56
56
|
/*#__PURE__*/
|
|
@@ -59,233 +59,232 @@ React.createElement(KudosBlobAnimationStyle, _extends({
|
|
|
59
59
|
className: "kudos-blob-animation"
|
|
60
60
|
}, props));
|
|
61
61
|
|
|
62
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
63
63
|
export const AnimationWrapper = styled.div`
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
clip-path: inset(0px 0px 0px 0px round ${borderRadius()}px);
|
|
65
|
+
position: absolute;
|
|
66
|
+
top: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
bottom: 0;
|
|
69
|
+
right: 0;
|
|
70
70
|
`;
|
|
71
71
|
|
|
72
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
72
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
73
73
|
export const AnimatedKudosButton = styled.div`
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
74
|
+
margin-left: ${"var(--ds-space-100, 8px)"};
|
|
75
|
+
|
|
76
|
+
/* Need babel-plugin-emotion to use component selector */
|
|
77
|
+
/* Previously with styled-components: &:hover {KudosBlobAnimation} { */
|
|
78
|
+
&:focus-within .kudos-blob-animation,
|
|
79
|
+
&:focus .kudos-blob-animation,
|
|
80
|
+
&:hover .kudos-blob-animation {
|
|
81
|
+
display: block;
|
|
82
|
+
}
|
|
83
83
|
`;
|
|
84
84
|
|
|
85
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
86
86
|
export const ActionButtonGroup = styled.div`
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
87
|
+
user-select: none;
|
|
88
|
+
margin: ${"var(--ds-space-200, 16px)"} 0 0 0;
|
|
89
|
+
text-align: right;
|
|
90
|
+
display: flex;
|
|
91
|
+
justify-content: flex-end;
|
|
92
|
+
|
|
93
|
+
button,
|
|
94
|
+
a {
|
|
95
|
+
position: relative;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
button,
|
|
99
|
+
a,
|
|
100
|
+
span {
|
|
101
|
+
margin-left: ${"var(--ds-space-100, 8px)"};
|
|
102
|
+
|
|
103
|
+
&:first-child {
|
|
104
|
+
margin-left: ${"var(--ds-space-0, 0px)"};
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
a,
|
|
109
|
+
button {
|
|
110
|
+
&:focus {
|
|
111
|
+
outline-color: ${`var(--ds-border-focused, ${B200})`};
|
|
112
|
+
outline-offset: ${"var(--ds-border-width, 2px)"};
|
|
113
|
+
outline-style: solid;
|
|
114
|
+
outline-width: ${"var(--ds-border-width, 2px)"};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
117
|
`;
|
|
118
118
|
|
|
119
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
119
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
120
120
|
export const OverflowActionButtonsWrapper = styled.div`
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
121
|
+
display: inline-block;
|
|
122
|
+
width: ${"var(--ds-space-400, 32px)"};
|
|
123
|
+
height: ${"var(--ds-space-400, 32px)"};
|
|
124
|
+
margin-left: ${"var(--ds-space-100, 8px)"};
|
|
125
|
+
|
|
126
|
+
button {
|
|
127
|
+
&:focus {
|
|
128
|
+
outline-color: ${`var(--ds-border-focused, ${B200})`};
|
|
129
|
+
outline-offset: ${"var(--ds-border-width, 2px)"};
|
|
130
|
+
outline-style: solid;
|
|
131
|
+
outline-width: ${"var(--ds-border-width, 2px)"};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
134
|
`;
|
|
135
135
|
|
|
136
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
136
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
137
137
|
export const CardContent = styled.div`
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
display: flex;
|
|
139
|
+
flex-direction: column;
|
|
140
|
+
min-height: ${gridSize() * 17}px;
|
|
141
141
|
`;
|
|
142
142
|
|
|
143
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
143
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
144
144
|
export const DetailsGroup = styled.div`
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
margin-left: ${gridSize() * 14.5}px;
|
|
148
|
+
width: ${gridSize() * 24.5}px;
|
|
149
149
|
`;
|
|
150
150
|
|
|
151
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
151
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
152
152
|
export const DisabledInfo = styled.div`
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
153
|
+
font-size: ${fontSizeSmall()}px;
|
|
154
|
+
color: ${labelTextColor};
|
|
155
|
+
margin: ${"var(--ds-space-150, 12px)"} 0 0 0;
|
|
156
|
+
line-height: 16px;
|
|
157
157
|
`;
|
|
158
158
|
|
|
159
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
159
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
160
160
|
export const FullNameLabel = styled.h2`
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
161
|
+
overflow: hidden;
|
|
162
|
+
text-overflow: ellipsis;
|
|
163
|
+
white-space: nowrap;
|
|
164
|
+
|
|
165
|
+
font-size: 18px;
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
letter-spacing: normal;
|
|
168
|
+
color: ${props => props.isDisabledAccount ? headerTextColorInactive : headerTextColor};
|
|
169
|
+
margin: ${props => getFullNameMargin(props)};
|
|
170
|
+
line-height: ${24 / 18}em;
|
|
171
|
+
:first-child {
|
|
172
|
+
margin: ${props => getFullNameMargin(props)};
|
|
173
|
+
}
|
|
174
174
|
`;
|
|
175
175
|
|
|
176
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
176
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
177
177
|
export const LozengeWrapper = styled.div`
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
margin-top: ${"var(--ds-space-200, 16px)"};
|
|
179
|
+
text-transform: uppercase;
|
|
180
|
+
display: block;
|
|
181
181
|
`;
|
|
182
182
|
|
|
183
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
183
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
184
184
|
export const CustomLozengeContainer = styled(LozengeWrapper)`
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: row;
|
|
187
|
+
flex-wrap: wrap;
|
|
188
|
+
justify-content: flex-start;
|
|
189
|
+
margin-top: ${"var(--ds-space-150, 12px)"};
|
|
190
|
+
> * {
|
|
191
|
+
margin-top: ${"var(--ds-space-050, 4px)"};
|
|
192
|
+
&:not(:last-child) {
|
|
193
|
+
margin-right: ${"var(--ds-space-050, 4px)"};
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
196
|
`;
|
|
197
197
|
|
|
198
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
199
199
|
export const JobTitleLabel = styled.span`
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
text-overflow: ellipsis;
|
|
202
|
+
white-space: nowrap;
|
|
203
|
+
|
|
204
|
+
font-size: 14px;
|
|
205
|
+
color: ${headerTextColor};
|
|
206
|
+
margin: 0 0 ${"var(--ds-space-150, 12px)"} 0;
|
|
207
|
+
line-height: ${24 / 14}em;
|
|
208
208
|
`;
|
|
209
209
|
|
|
210
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
210
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
211
211
|
export const AppTitleLabel = styled.span`
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
212
|
+
background: ${appLabelBgColor};
|
|
213
|
+
color: ${appLabelTextColor};
|
|
214
|
+
border-radius: ${borderRadius()};
|
|
215
|
+
padding: 0 ${"var(--ds-space-075, 6px)"};
|
|
216
|
+
width: fit-content;
|
|
217
|
+
font-weight: bold;
|
|
218
|
+
text-transform: uppercase;
|
|
219
|
+
|
|
220
|
+
font-size: 12px;
|
|
221
|
+
margin: ${"var(--ds-space-050, 4px)"} 0 ${"var(--ds-space-150, 12px)"} 0;
|
|
222
|
+
line-height: ${24 / 14}em;
|
|
223
223
|
`;
|
|
224
224
|
|
|
225
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
225
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
226
226
|
export const SpinnerContainer = styled.div`
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
227
|
+
align-items: center;
|
|
228
|
+
display: flex;
|
|
229
|
+
height: ${gridSize() * 12}px;
|
|
230
|
+
justify-content: center;
|
|
231
|
+
position: relative;
|
|
232
232
|
`;
|
|
233
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
233
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
234
234
|
export const CardContainer = styled.div`
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
overflow: hidden;
|
|
235
|
+
position: relative;
|
|
236
|
+
-webkit-font-smoothing: antialiased;
|
|
237
|
+
-moz-osx-font-smoothing: grayscale;
|
|
238
|
+
background-image: linear-gradient(
|
|
239
|
+
to bottom,
|
|
240
|
+
${props => props.isDisabledUser ? headerBgColorDisabledUser : headerBgColor}
|
|
241
|
+
0%,
|
|
242
|
+
${props => props.isDisabledUser ? headerBgColorDisabledUser : headerBgColor} 100%
|
|
243
|
+
);
|
|
244
|
+
background-repeat: no-repeat;
|
|
245
|
+
background-size: 100% ${gridSize() * 12}px;
|
|
246
|
+
box-sizing: content-box;
|
|
247
|
+
padding: ${"var(--ds-space-300, 24px)"};
|
|
248
|
+
box-shadow: ${props => props.withoutElevation ? '' : `${`var(--ds-shadow-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`}`};
|
|
249
|
+
border-radius: ${props => props.withoutElevation ? '' : `${borderRadius()}px`};
|
|
250
|
+
|
|
251
|
+
overflow: hidden;
|
|
253
252
|
`;
|
|
254
253
|
|
|
255
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
254
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
256
255
|
export const DetailsLabel = styled.div`
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
line-height: 24px;
|
|
259
|
+
font-size: ${gridSize() * 1.5}px;
|
|
260
|
+
margin: ${"var(--ds-space-200, 16px)"} 0 0 0;
|
|
261
|
+
white-space: nowrap;
|
|
262
|
+
|
|
263
|
+
& + & {
|
|
264
|
+
margin-top: ${"var(--ds-space-025, 2px)"};
|
|
265
|
+
}
|
|
267
266
|
`;
|
|
268
267
|
|
|
269
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
268
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
270
269
|
export const DetailsLabelIcon = styled.div`
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-shrink: 0;
|
|
272
|
+
color: ${labelIconColor};
|
|
273
|
+
width: ${"var(--ds-space-200, 16px)"};
|
|
274
|
+
height: ${"var(--ds-space-200, 16px)"};
|
|
275
|
+
padding: ${"var(--ds-space-050, 4px)"};
|
|
276
|
+
vertical-align: top;
|
|
277
|
+
|
|
278
|
+
svg {
|
|
279
|
+
width: 100%;
|
|
280
|
+
height: 100%;
|
|
281
|
+
}
|
|
283
282
|
`;
|
|
284
283
|
|
|
285
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
284
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
286
285
|
export const DetailsLabelText = styled.span`
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
286
|
+
overflow: hidden;
|
|
287
|
+
text-overflow: ellipsis;
|
|
288
|
+
color: ${labelTextColor};
|
|
289
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
291
290
|
`;
|
|
@@ -4,29 +4,33 @@ import { gridSize } from '@atlaskit/theme/constants';
|
|
|
4
4
|
import { h400 } from '@atlaskit/theme/typography';
|
|
5
5
|
import { errorIconColor, errorTextColor, errorTitleColor } from './constants';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
8
8
|
export const ErrorWrapper = styled.div({
|
|
9
9
|
textAlign: 'center',
|
|
10
10
|
padding: "var(--ds-space-300, 24px)",
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
11
12
|
color: errorIconColor
|
|
12
13
|
});
|
|
13
14
|
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
15
16
|
export const ErrorTitle = styled.p({
|
|
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
|
|
16
18
|
color: errorTitleColor,
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
17
20
|
lineHeight: `${gridSize() * 3}px`,
|
|
18
21
|
margin: `${"var(--ds-space-100, 8px)"} 0`
|
|
19
22
|
});
|
|
20
23
|
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
22
25
|
export const ErrorText = styled.span({
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
27
|
color: errorTextColor
|
|
24
28
|
});
|
|
25
29
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
27
31
|
export const TeamErrorTitle = styled.p(h400);
|
|
28
32
|
|
|
29
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
33
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
30
34
|
export const TeamErrorText = styled.p({
|
|
31
35
|
color: `var(--ds-text-subtlest, ${N200})`,
|
|
32
36
|
marginTop: "var(--ds-space-100, 8px)"
|
|
@@ -2,35 +2,38 @@ import styled from '@emotion/styled';
|
|
|
2
2
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
3
3
|
import { appLabelTextColor } from './constants';
|
|
4
4
|
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export const ReportingLinesSection = styled.div({
|
|
7
7
|
// Minor left margin to align better with existing icon fields
|
|
8
8
|
marginLeft: "var(--ds-space-050, 4px)",
|
|
9
9
|
marginTop: "var(--ds-space-100, 8px)"
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
13
13
|
export const ReportingLinesHeading = styled.h3({
|
|
14
|
+
// 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
15
|
color: appLabelTextColor,
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
15
17
|
fontSize: `${gridSize() * 1.5}px`,
|
|
16
18
|
fontWeight: 600,
|
|
17
19
|
marginBottom: "var(--ds-space-100, 8px)"
|
|
18
20
|
});
|
|
19
21
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
23
|
export const ManagerSection = styled.div({
|
|
22
24
|
display: 'flex',
|
|
23
25
|
alignItems: 'center',
|
|
24
26
|
margin: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-050, 4px)"}`
|
|
25
27
|
});
|
|
26
28
|
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
28
30
|
export const ManagerName = styled.span({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
29
32
|
fontSize: `${gridSize() * 1.5}px`,
|
|
30
33
|
marginLeft: "var(--ds-space-100, 8px)"
|
|
31
34
|
});
|
|
32
35
|
|
|
33
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled --
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
34
37
|
export const OffsetWrapper = styled.div({
|
|
35
38
|
marginTop: "var(--ds-space-050, 4px)",
|
|
36
39
|
// Offset left margin so the avatar aligns with the heading
|