@zendeskgarden/react-avatars 9.0.0-next.24 → 9.0.0-next.26
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/dist/esm/styled/StyledAvatar.js +1 -1
- package/dist/esm/styled/StyledStandaloneStatus.js +2 -5
- package/dist/esm/styled/StyledStandaloneStatusCaption.js +2 -5
- package/dist/esm/styled/StyledStandaloneStatusIndicator.js +1 -1
- package/dist/esm/styled/StyledStatusIndicator.js +1 -1
- package/dist/esm/styled/StyledStatusIndicatorBase.js +1 -1
- package/dist/esm/styled/StyledText.js +2 -5
- package/dist/index.cjs.js +7 -16
- package/package.json +4 -4
|
@@ -108,7 +108,7 @@ const sizeStyles = props => {
|
|
|
108
108
|
};
|
|
109
109
|
const StyledAvatar = styled.figure.attrs({
|
|
110
110
|
'data-garden-id': COMPONENT_ID,
|
|
111
|
-
'data-garden-version': '9.0.0-next.
|
|
111
|
+
'data-garden-version': '9.0.0-next.26'
|
|
112
112
|
}).withConfig({
|
|
113
113
|
displayName: "StyledAvatar",
|
|
114
114
|
componentId: "sc-608m04-0"
|
|
@@ -5,19 +5,16 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import { retrieveComponentStyles
|
|
8
|
+
import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
import { TRANSITION_DURATION } from './utility.js';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'avatars.status-indicator.status';
|
|
12
12
|
const StyledStandaloneStatus = styled.figure.attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.26'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledStandaloneStatus",
|
|
17
17
|
componentId: "sc-1ow4nfj-0"
|
|
18
18
|
})(["display:inline-flex;flex-flow:row nowrap;transition:all ", "s ease-in-out;margin:0;box-sizing:content-box;", ";"], TRANSITION_DURATION, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
19
|
-
StyledStandaloneStatus.defaultProps = {
|
|
20
|
-
theme: DEFAULT_THEME
|
|
21
|
-
};
|
|
22
19
|
|
|
23
20
|
export { StyledStandaloneStatus };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import { retrieveComponentStyles,
|
|
8
|
+
import { retrieveComponentStyles, getLineHeight } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'avatars.status-indicator.caption';
|
|
11
11
|
function sizeStyles(props) {
|
|
@@ -14,13 +14,10 @@ function sizeStyles(props) {
|
|
|
14
14
|
}
|
|
15
15
|
const StyledStandaloneStatusCaption = styled.figcaption.attrs({
|
|
16
16
|
'data-garden-id': COMPONENT_ID,
|
|
17
|
-
'data-garden-version': '9.0.0-next.
|
|
17
|
+
'data-garden-version': '9.0.0-next.26'
|
|
18
18
|
}).withConfig({
|
|
19
19
|
displayName: "StyledStandaloneStatusCaption",
|
|
20
20
|
componentId: "sc-aalyk1-0"
|
|
21
21
|
})(["", " ", ";"], sizeStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
22
|
-
StyledStandaloneStatusCaption.defaultProps = {
|
|
23
|
-
theme: DEFAULT_THEME
|
|
24
|
-
};
|
|
25
22
|
|
|
26
23
|
export { StyledStandaloneStatusCaption };
|
|
@@ -12,7 +12,7 @@ import { StyledStatusIndicatorBase } from './StyledStatusIndicatorBase.js';
|
|
|
12
12
|
const COMPONENT_ID = 'avatars.status-indicator.indicator';
|
|
13
13
|
const StyledStandaloneStatusIndicator = styled(StyledStatusIndicatorBase).attrs({
|
|
14
14
|
'data-garden-id': COMPONENT_ID,
|
|
15
|
-
'data-garden-version': '9.0.0-next.
|
|
15
|
+
'data-garden-version': '9.0.0-next.26'
|
|
16
16
|
}).withConfig({
|
|
17
17
|
displayName: "StyledStandaloneStatusIndicator",
|
|
18
18
|
componentId: "sc-1xt1heq-0"
|
|
@@ -50,7 +50,7 @@ const colorStyles = _ref => {
|
|
|
50
50
|
};
|
|
51
51
|
const StyledStatusIndicator = styled(StyledStatusIndicatorBase).attrs({
|
|
52
52
|
'data-garden-id': COMPONENT_ID,
|
|
53
|
-
'data-garden-version': '9.0.0-next.
|
|
53
|
+
'data-garden-version': '9.0.0-next.26'
|
|
54
54
|
}).withConfig({
|
|
55
55
|
displayName: "StyledStatusIndicator",
|
|
56
56
|
componentId: "sc-16t9if3-0"
|
|
@@ -40,7 +40,7 @@ const colorStyles = _ref => {
|
|
|
40
40
|
};
|
|
41
41
|
const StyledStatusIndicatorBase = styled.div.attrs({
|
|
42
42
|
'data-garden-id': COMPONENT_ID,
|
|
43
|
-
'data-garden-version': '9.0.0-next.
|
|
43
|
+
'data-garden-version': '9.0.0-next.26'
|
|
44
44
|
}).withConfig({
|
|
45
45
|
displayName: "StyledStatusIndicatorBase",
|
|
46
46
|
componentId: "sc-1rininy-0"
|
|
@@ -5,18 +5,15 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import { retrieveComponentStyles
|
|
8
|
+
import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'avatars.text';
|
|
11
11
|
const StyledText = styled.span.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.26'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledText",
|
|
16
16
|
componentId: "sc-1a6hivh-0"
|
|
17
17
|
})(["overflow:hidden;text-align:center;white-space:nowrap;", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
-
StyledText.defaultProps = {
|
|
19
|
-
theme: DEFAULT_THEME
|
|
20
|
-
};
|
|
21
18
|
|
|
22
19
|
export { StyledText };
|
package/dist/index.cjs.js
CHANGED
|
@@ -122,14 +122,11 @@ const STATUS = ['available', 'away', 'transfers', 'offline'];
|
|
|
122
122
|
const COMPONENT_ID$6 = 'avatars.text';
|
|
123
123
|
const StyledText = styled__default.default.span.attrs({
|
|
124
124
|
'data-garden-id': COMPONENT_ID$6,
|
|
125
|
-
'data-garden-version': '9.0.0-next.
|
|
125
|
+
'data-garden-version': '9.0.0-next.26'
|
|
126
126
|
}).withConfig({
|
|
127
127
|
displayName: "StyledText",
|
|
128
128
|
componentId: "sc-1a6hivh-0"
|
|
129
129
|
})(["overflow:hidden;text-align:center;white-space:nowrap;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
|
|
130
|
-
StyledText.defaultProps = {
|
|
131
|
-
theme: reactTheming.DEFAULT_THEME
|
|
132
|
-
};
|
|
133
130
|
|
|
134
131
|
const [xxs$1, xs$1, s$1, m$1, l$1] = SIZE;
|
|
135
132
|
const TRANSITION_DURATION = 0.25;
|
|
@@ -245,7 +242,7 @@ const colorStyles$2 = _ref => {
|
|
|
245
242
|
};
|
|
246
243
|
const StyledStatusIndicatorBase = styled__default.default.div.attrs({
|
|
247
244
|
'data-garden-id': COMPONENT_ID$5,
|
|
248
|
-
'data-garden-version': '9.0.0-next.
|
|
245
|
+
'data-garden-version': '9.0.0-next.26'
|
|
249
246
|
}).withConfig({
|
|
250
247
|
displayName: "StyledStatusIndicatorBase",
|
|
251
248
|
componentId: "sc-1rininy-0"
|
|
@@ -294,7 +291,7 @@ const colorStyles$1 = _ref => {
|
|
|
294
291
|
};
|
|
295
292
|
const StyledStatusIndicator = styled__default.default(StyledStatusIndicatorBase).attrs({
|
|
296
293
|
'data-garden-id': COMPONENT_ID$4,
|
|
297
|
-
'data-garden-version': '9.0.0-next.
|
|
294
|
+
'data-garden-version': '9.0.0-next.26'
|
|
298
295
|
}).withConfig({
|
|
299
296
|
displayName: "StyledStatusIndicator",
|
|
300
297
|
componentId: "sc-16t9if3-0"
|
|
@@ -400,7 +397,7 @@ const sizeStyles$1 = props => {
|
|
|
400
397
|
};
|
|
401
398
|
const StyledAvatar = styled__default.default.figure.attrs({
|
|
402
399
|
'data-garden-id': COMPONENT_ID$3,
|
|
403
|
-
'data-garden-version': '9.0.0-next.
|
|
400
|
+
'data-garden-version': '9.0.0-next.26'
|
|
404
401
|
}).withConfig({
|
|
405
402
|
displayName: "StyledAvatar",
|
|
406
403
|
componentId: "sc-608m04-0"
|
|
@@ -413,14 +410,11 @@ StyledAvatar.defaultProps = {
|
|
|
413
410
|
const COMPONENT_ID$2 = 'avatars.status-indicator.status';
|
|
414
411
|
const StyledStandaloneStatus = styled__default.default.figure.attrs({
|
|
415
412
|
'data-garden-id': COMPONENT_ID$2,
|
|
416
|
-
'data-garden-version': '9.0.0-next.
|
|
413
|
+
'data-garden-version': '9.0.0-next.26'
|
|
417
414
|
}).withConfig({
|
|
418
415
|
displayName: "StyledStandaloneStatus",
|
|
419
416
|
componentId: "sc-1ow4nfj-0"
|
|
420
417
|
})(["display:inline-flex;flex-flow:row nowrap;transition:all ", "s ease-in-out;margin:0;box-sizing:content-box;", ";"], TRANSITION_DURATION, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$2, props));
|
|
421
|
-
StyledStandaloneStatus.defaultProps = {
|
|
422
|
-
theme: reactTheming.DEFAULT_THEME
|
|
423
|
-
};
|
|
424
418
|
|
|
425
419
|
const COMPONENT_ID$1 = 'avatars.status-indicator.caption';
|
|
426
420
|
function sizeStyles(props) {
|
|
@@ -429,19 +423,16 @@ function sizeStyles(props) {
|
|
|
429
423
|
}
|
|
430
424
|
const StyledStandaloneStatusCaption = styled__default.default.figcaption.attrs({
|
|
431
425
|
'data-garden-id': COMPONENT_ID$1,
|
|
432
|
-
'data-garden-version': '9.0.0-next.
|
|
426
|
+
'data-garden-version': '9.0.0-next.26'
|
|
433
427
|
}).withConfig({
|
|
434
428
|
displayName: "StyledStandaloneStatusCaption",
|
|
435
429
|
componentId: "sc-aalyk1-0"
|
|
436
430
|
})(["", " ", ";"], sizeStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$1, props));
|
|
437
|
-
StyledStandaloneStatusCaption.defaultProps = {
|
|
438
|
-
theme: reactTheming.DEFAULT_THEME
|
|
439
|
-
};
|
|
440
431
|
|
|
441
432
|
const COMPONENT_ID = 'avatars.status-indicator.indicator';
|
|
442
433
|
const StyledStandaloneStatusIndicator = styled__default.default(StyledStatusIndicatorBase).attrs({
|
|
443
434
|
'data-garden-id': COMPONENT_ID,
|
|
444
|
-
'data-garden-version': '9.0.0-next.
|
|
435
|
+
'data-garden-version': '9.0.0-next.26'
|
|
445
436
|
}).withConfig({
|
|
446
437
|
displayName: "StyledStandaloneStatusIndicator",
|
|
447
438
|
componentId: "sc-1xt1heq-0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-avatars",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.26",
|
|
4
4
|
"description": "Components relating to avatars in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"styled-components": "^5.3.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@zendeskgarden/react-dropdowns": "^9.0.0-next.
|
|
35
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
34
|
+
"@zendeskgarden/react-dropdowns": "^9.0.0-next.26",
|
|
35
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.26",
|
|
36
36
|
"@zendeskgarden/svg-icons": "7.2.0"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"zendeskgarden:src": "src/index.ts",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "049dd7bd143029147de333f78bd879dc7d7251f2"
|
|
49
49
|
}
|