@zendeskgarden/react-avatars 9.0.0-next.24 → 9.0.0-next.25

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.
@@ -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.24'
111
+ 'data-garden-version': '9.0.0-next.25'
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, DEFAULT_THEME } from '@zendeskgarden/react-theming';
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.24'
14
+ 'data-garden-version': '9.0.0-next.25'
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, DEFAULT_THEME, getLineHeight } from '@zendeskgarden/react-theming';
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.24'
17
+ 'data-garden-version': '9.0.0-next.25'
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.24'
15
+ 'data-garden-version': '9.0.0-next.25'
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.24'
53
+ 'data-garden-version': '9.0.0-next.25'
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.24'
43
+ 'data-garden-version': '9.0.0-next.25'
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, DEFAULT_THEME } from '@zendeskgarden/react-theming';
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.24'
13
+ 'data-garden-version': '9.0.0-next.25'
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.24'
125
+ 'data-garden-version': '9.0.0-next.25'
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.24'
245
+ 'data-garden-version': '9.0.0-next.25'
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.24'
294
+ 'data-garden-version': '9.0.0-next.25'
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.24'
400
+ 'data-garden-version': '9.0.0-next.25'
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.24'
413
+ 'data-garden-version': '9.0.0-next.25'
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.24'
426
+ 'data-garden-version': '9.0.0-next.25'
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.24'
435
+ 'data-garden-version': '9.0.0-next.25'
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.24",
3
+ "version": "9.0.0-next.25",
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.24",
35
- "@zendeskgarden/react-theming": "^9.0.0-next.24",
34
+ "@zendeskgarden/react-dropdowns": "^9.0.0-next.25",
35
+ "@zendeskgarden/react-theming": "^9.0.0-next.25",
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": "36ac3913276188edf8d187a9861be7ba765e487a"
48
+ "gitHead": "460751d630ab1c46e11810d60e4d7701b9d30b8f"
49
49
  }