@zohodesk/components 1.0.0-temp-196 → 1.0.0-temp-197

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.
Files changed (80) hide show
  1. package/.cli/PropUnificationExcludeFilesArray.js +230 -230
  2. package/.cli/PropValidationExcludeFilesArray.js +1 -1
  3. package/.cli/propValidation_report.html +1 -1
  4. package/README.md +0 -5
  5. package/css_error.log +1 -1
  6. package/es/AppContainer/AppContainer.js +0 -1
  7. package/es/Avatar/Avatar.js +9 -9
  8. package/es/Avatar/Avatar.module.css +2 -2
  9. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  10. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  11. package/es/Button/css/Button.module.css +22 -6
  12. package/es/Buttongroup/Buttongroup.module.css +1 -1
  13. package/es/DateTime/DateTime.module.css +11 -8
  14. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +11 -7
  15. package/es/DropBox/css/DropBox.module.css +1 -1
  16. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  17. package/es/MultiSelect/MultiSelect.js +5 -5
  18. package/es/Provider/LibraryContext.js +3 -15
  19. package/es/Ribbon/Ribbon.module.css +6 -6
  20. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  21. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  22. package/es/Switch/Switch.module.css +2 -1
  23. package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  24. package/es/Tab/Tabs.module.css +3 -3
  25. package/es/Tag/Tag.js +9 -11
  26. package/es/Tag/props/defaultProps.js +0 -1
  27. package/es/Tag/props/propTypes.js +0 -1
  28. package/es/Tooltip/Tooltip.module.css +3 -0
  29. package/es/v1/AppContainer/AppContainer.js +0 -1
  30. package/es/v1/Avatar/Avatar.js +5 -5
  31. package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
  32. package/es/v1/Button/Button.js +4 -4
  33. package/es/v1/Card/Card.js +4 -4
  34. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  35. package/es/v1/MultiSelect/MultiSelect.js +5 -5
  36. package/es/v1/Tab/Tabs.js +11 -11
  37. package/es/v1/Tab/v1Tabs.module.css +3 -3
  38. package/es/v1/Tag/Tag.js +9 -11
  39. package/es/v1/Tag/props/defaultProps.js +0 -1
  40. package/es/v1/Tag/props/propTypes.js +0 -1
  41. package/lib/AppContainer/AppContainer.js +0 -2
  42. package/lib/Avatar/Avatar.js +9 -9
  43. package/lib/Avatar/Avatar.module.css +2 -2
  44. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
  45. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +705 -705
  46. package/lib/Button/css/Button.module.css +22 -6
  47. package/lib/Buttongroup/Buttongroup.module.css +1 -1
  48. package/lib/DateTime/DateTime.module.css +11 -8
  49. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +11 -7
  50. package/lib/DropBox/css/DropBox.module.css +1 -1
  51. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
  52. package/lib/MultiSelect/MultiSelect.js +5 -5
  53. package/lib/Provider/LibraryContext.js +5 -15
  54. package/lib/Ribbon/Ribbon.module.css +6 -6
  55. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
  56. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
  57. package/lib/Switch/Switch.module.css +2 -1
  58. package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
  59. package/lib/Tab/Tabs.module.css +3 -3
  60. package/lib/Tag/Tag.js +10 -13
  61. package/lib/Tag/props/defaultProps.js +0 -1
  62. package/lib/Tag/props/propTypes.js +0 -1
  63. package/lib/Tooltip/Tooltip.module.css +3 -0
  64. package/lib/v1/AppContainer/AppContainer.js +0 -2
  65. package/lib/v1/Avatar/Avatar.js +5 -5
  66. package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
  67. package/lib/v1/Button/Button.js +4 -4
  68. package/lib/v1/Card/Card.js +4 -4
  69. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  70. package/lib/v1/MultiSelect/MultiSelect.js +5 -5
  71. package/lib/v1/Tab/Tabs.js +11 -11
  72. package/lib/v1/Tab/v1Tabs.module.css +3 -3
  73. package/lib/v1/Tag/Tag.js +10 -13
  74. package/lib/v1/Tag/props/defaultProps.js +0 -1
  75. package/lib/v1/Tag/props/propTypes.js +0 -1
  76. package/package.json +9 -5
  77. package/propValidationArg.json +11 -11
  78. package/result.json +1 -1
  79. /package/es/{common → deprecated}/boxShadow.module.css +0 -0
  80. /package/lib/{common → deprecated}/boxShadow.module.css +0 -0
@@ -31,7 +31,7 @@
31
31
  bottom: 0 ;
32
32
  height: var(--zd_size10) ;
33
33
  border-radius: 100px / 5px;
34
- box-shadow: var(--zd_bs_tabs_shadow);
34
+ box-shadow: var(--zd_bs_contrast_outline, 0 -2px 9px var(--zdt_tabs_alpha_box_shadow));
35
35
  }
36
36
 
37
37
  [dir=ltr] .alpha::after {
@@ -123,13 +123,13 @@
123
123
  .bottomRightToLeft,
124
124
  .topRightToLeft,
125
125
  .bottomCenterToLeft {
126
- right: calc(var(--tab_position_gap) * -1);
126
+ right: calc(var(--tab_position_gap) * -1);
127
127
  }
128
128
 
129
129
  .bottomLeftToRight,
130
130
  .topLeftToRight,
131
131
  .bottomCenterToRight {
132
- left: calc(var(--tab_position_gap) * -1);
132
+ left: calc(var(--tab_position_gap) * -1);
133
133
  }
134
134
 
135
135
  .hidden {
package/es/Tag/Tag.js CHANGED
@@ -7,16 +7,16 @@ import { Container } from '../Layout';
7
7
  import Button from '../semantic/Button/Button';
8
8
  import { getUniqueId } from '../Provider/IdProvider';
9
9
  import style from './Tag.module.css';
10
- /*
11
- * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
12
- * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
13
- * 'pureDotted', 'primaryDotted'] }]
10
+ /*
11
+ * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
12
+ * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
13
+ * 'pureDotted', 'primaryDotted'] }]
14
14
  */
15
15
 
16
- /*
17
- * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
18
- * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
19
- * 'pureDotted', 'primaryDotted'] }]
16
+ /*
17
+ * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
18
+ * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
19
+ * 'pureDotted', 'primaryDotted'] }]
20
20
  */
21
21
 
22
22
  export default class Tag extends PureComponent {
@@ -80,7 +80,6 @@ export default class Tag extends PureComponent {
80
80
  tooltip,
81
81
  avatarPalette,
82
82
  customClass,
83
- customAttributes,
84
83
  a11y,
85
84
  needEffect,
86
85
  isReadOnly
@@ -106,8 +105,7 @@ export default class Tag extends PureComponent {
106
105
  "data-title": tooltip ? tooltip : text,
107
106
  tabIndex: disabled ? '-1' : '0',
108
107
  "aria-labelledby": getAriaId,
109
- "data-selector-id": dataSelectorId,
110
- ...customAttributes
108
+ "data-selector-id": dataSelectorId
111
109
  }, hasAvatar ? /*#__PURE__*/React.createElement("div", {
112
110
  className: style.avatar
113
111
  }, /*#__PURE__*/React.createElement(Avatar, {
@@ -7,7 +7,6 @@ export const defaultProps = {
7
7
  size: 'medium',
8
8
  dataId: 'tag',
9
9
  customClass: {},
10
- customAttributes: {},
11
10
  a11y: {},
12
11
  needEffect: true,
13
12
  isReadOnly: false,
@@ -26,7 +26,6 @@ export const propTypes = {
26
26
  customTagIcon: PropTypes.string,
27
27
  customAvatar: PropTypes.string
28
28
  }),
29
- customAttributes: PropTypes.object,
30
29
  a11y: PropTypes.shape({
31
30
  clearLabel: PropTypes.string
32
31
  }),
@@ -3,6 +3,7 @@
3
3
  z-index: 9999999;
4
4
  /*Hook for editor alert*/
5
5
  pointer-events: none;
6
+ /*css:validation:ignore*/
6
7
  box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
7
8
  border-radius: var(--zd_size4);
8
9
  }[dir=ltr] .tooltiptext {
@@ -51,6 +52,7 @@
51
52
  border-left: solid 6px var(--zdt_tooltip_default_bg);
52
53
  border-right: solid 6px transparent;
53
54
  border-bottom: solid 6px transparent;
55
+ /*css:validation:ignore*/
54
56
  box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
55
57
  z-index: -1;
56
58
  }
@@ -71,6 +73,7 @@
71
73
  border-left: solid 6px var(--zdt_tooltip_default_bg);
72
74
  border-right: solid 6px transparent;
73
75
  border-bottom: solid 6px transparent;
76
+ /*css:validation:ignore*/
74
77
  box-shadow: 0 4px 12px 0 var(--zdt_tooltip_default_box_shadow);
75
78
  z-index: -1;
76
79
  }
@@ -12,7 +12,6 @@ import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
12
12
  import '@zohodesk/variables/assets/transitionVariables.module.css';
13
13
  import '@zohodesk/variables/assets/no_transitionVariables.module.css';
14
14
  import '../../common/a11y.module.css';
15
- import '../../common/boxShadow.module.css';
16
15
  import style from '../../AppContainer/AppContainer.module.css';
17
16
  import { getLibraryConfig, setLibraryConfig } from '../../Provider/Config';
18
17
  export default function AppContainer(props) {
@@ -5,11 +5,11 @@ import { propTypes } from './props/propTypes';
5
5
  import { getInitial } from '../../utils/getInitial';
6
6
  import AvatarSize from '../../Provider/AvatarSize';
7
7
  import style from '../../Avatar/Avatar.module.css';
8
- /*
9
- 1. need to change name into firstName lastName
10
- 2. pattern support via context as well as props
11
- 3. prop high priority to arrange firstName lastName
12
- 4. team pass name as lastName and pass pattern via prop
8
+ /*
9
+ 1. need to change name into firstName lastName
10
+ 2. pattern support via context as well as props
11
+ 3. prop high priority to arrange firstName lastName
12
+ 4. team pass name as lastName and pass pattern via prop
13
13
  */
14
14
 
15
15
  function Avatar(props) {
@@ -3,10 +3,10 @@ import { defaultProps } from './props/defaultProps';
3
3
  import { propTypes } from './props/propTypes';
4
4
  import Avatar from '../Avatar/Avatar';
5
5
  import style from '../../AvatarTeam/AvatarTeam.module.css';
6
- /* once avatar support firstname lastname and pattern
7
- pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
8
-
9
- Not going to export to external then can kept inside supportapp
6
+ /* once avatar support firstname lastname and pattern
7
+ pass lastName as team name and pattern ["FIRST_NAME","LAST_NAME"] as props
8
+
9
+ Not going to export to external then can kept inside supportapp
10
10
  */
11
11
 
12
12
  export default function AvatarTeam(props) {
@@ -4,10 +4,10 @@ import { propTypes } from './props/propTypes';
4
4
  import cssJSLogic from '../../Button/css/cssJSLogic';
5
5
  import { mergeStyle } from '@zohodesk/utils';
6
6
  import style from '../../Button/css/Button.module.css';
7
- /*
8
- Button text and children props?
9
- use children for both cases
10
- toLowerCase check needed?
7
+ /*
8
+ Button text and children props?
9
+ use children for both cases
10
+ toLowerCase check needed?
11
11
  */
12
12
 
13
13
  export default function Button(props) {
@@ -7,10 +7,10 @@ import { getLibraryConfig } from '../../Provider/Config';
7
7
  import style from '../../Card/Card.module.css';
8
8
  /* eslint-disable react/forbid-component-props */
9
9
 
10
- /*
11
- isscroll header border change use ref
12
- scroll logic remove from here
13
- scroll logic move to virtualizer list
10
+ /*
11
+ isscroll header border change use ref
12
+ scroll logic remove from here
13
+ scroll logic move to virtualizer list
14
14
  */
15
15
 
16
16
  /* performance handling pending in card component moving to ref instead of setState */
@@ -409,8 +409,8 @@ class AdvancedGroupMultiSelect extends React.Component {
409
409
  if (suggestionsLen && isPopupOpen && keyCode === 38) {
410
410
  //up arrow
411
411
 
412
- /*if (hoverOption === 0) { //disable first to last option higlight
413
- !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
412
+ /*if (hoverOption === 0) { //disable first to last option higlight
413
+ !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
414
414
  }*/
415
415
  if (hoverIndex) {
416
416
  this.setState({
@@ -420,9 +420,9 @@ class AdvancedGroupMultiSelect extends React.Component {
420
420
  } else if (suggestionsLen && isPopupOpen && keyCode === 40) {
421
421
  //down arrow
422
422
 
423
- /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
424
- //disable last to first option higlight
425
- !isNextOptions && this.setState({ hoverOption: 0 });
423
+ /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
424
+ //disable last to first option higlight
425
+ !isNextOptions && this.setState({ hoverOption: 0 });
426
426
  }*/
427
427
  if (isNextOptions && suggestionsLen >= 5 && hoverIndex === suggestionsLen - 3) {
428
428
  getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
@@ -321,8 +321,8 @@ export class MultiSelectComponent extends React.Component {
321
321
  if (suggestionsLen && isPopupOpen && keyCode === 38) {
322
322
  //up arrow
323
323
 
324
- /*if (hoverOption === 0) { //disable first to last option higlight
325
- !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
324
+ /*if (hoverOption === 0) { //disable first to last option higlight
325
+ !isNextOptions && this.setState({ hoverOption: suggestionsLen - 1 });
326
326
  }*/
327
327
  if (hoverOption) {
328
328
  this.setState({
@@ -332,9 +332,9 @@ export class MultiSelectComponent extends React.Component {
332
332
  } else if (suggestionsLen && isPopupOpen && keyCode === 40) {
333
333
  //down arrow
334
334
 
335
- /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
336
- //disable last to first option higlight
337
- !isNextOptions && this.setState({ hoverOption: 0 });
335
+ /*else if (hoverOption === suggestionsLen - 1 || hoverOption === null) {
336
+ //disable last to first option higlight
337
+ !isNextOptions && this.setState({ hoverOption: 0 });
338
338
  }*/
339
339
  if (isNextOptions && suggestionsLen >= 5 && hoverOption === suggestionsLen - 3) {
340
340
  getNextOptions && this.handleFetchOptions(getNextOptions, searchStr);
package/es/v1/Tab/Tabs.js CHANGED
@@ -121,9 +121,9 @@ const Tabs = props => {
121
121
 
122
122
  useEffectCallOnlyAfterState(() => {
123
123
  if (children) {
124
- /**
125
- * To recalculate the dimensions of tabs we are checking the children length.
126
- * and also checking the tab id and their order.
124
+ /**
125
+ * To recalculate the dimensions of tabs we are checking the children length.
126
+ * and also checking the tab id and their order.
127
127
  */
128
128
  let newTabKeys = [];
129
129
  React.Children.toArray(children).forEach(child => {
@@ -264,14 +264,14 @@ const Tabs = props => {
264
264
  });
265
265
 
266
266
  if (selectedTabDimension > totalDimension) {
267
- /* let { align } = this.props;
268
- let newDim = `${remConvert(totalDimension)}rem`;
269
- let newTabs;
270
- if (align === 'vertical') {
271
- newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
272
- } else {
273
- newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
274
- }
267
+ /* let { align } = this.props;
268
+ let newDim = `${remConvert(totalDimension)}rem`;
269
+ let newTabs;
270
+ if (align === 'vertical') {
271
+ newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxWidth: newDim } }));
272
+ } else {
273
+ newTabs = mainTabs.map(tab => React.cloneElement(tab, { style: { maxHeight: newDim } }));
274
+ }
275
275
  mainTabs = newTabs; */
276
276
  setMaxDim(totalDimension);
277
277
  }
@@ -31,7 +31,7 @@
31
31
  bottom: 0 ;
32
32
  height: var(--zd_size10) ;
33
33
  border-radius: 100px / 5px;
34
- box-shadow: var(--zd_bs_tabs_shadow);
34
+ box-shadow: var(--zd_bs_contrast_outline, 0 -2px 9px var(--zdt_tabs_alpha_box_shadow));
35
35
  }
36
36
 
37
37
  [dir=ltr] .alpha::after {
@@ -123,13 +123,13 @@
123
123
  .bottomRightToLeft,
124
124
  .topRightToLeft,
125
125
  .bottomCenterToLeft {
126
- right: calc(var(--tab_position_gap) * -1);
126
+ right: calc(var(--tab_position_gap) * -1);
127
127
  }
128
128
 
129
129
  .bottomLeftToRight,
130
130
  .topLeftToRight,
131
131
  .bottomCenterToRight {
132
- left: calc(var(--tab_position_gap) * -1);
132
+ left: calc(var(--tab_position_gap) * -1);
133
133
  }
134
134
 
135
135
  .hidden {
package/es/v1/Tag/Tag.js CHANGED
@@ -7,16 +7,16 @@ import { Container } from '../Layout';
7
7
  import Button from '../semantic/Button/Button';
8
8
  import { useUniqueId } from '../../Provider/IdProvider';
9
9
  import style from '../../Tag/Tag.module.css';
10
- /*
11
- * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
12
- * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
13
- * 'pureDotted', 'primaryDotted'] }]
10
+ /*
11
+ * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
12
+ * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
13
+ * 'pureDotted', 'primaryDotted'] }]
14
14
  */
15
15
 
16
- /*
17
- * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
18
- * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
19
- * 'pureDotted', 'primaryDotted'] }]
16
+ /*
17
+ * eslint css-modules/no-unused-class: [2, { markAsUsed: ['small', 'medium',
18
+ * 'closedanger', 'closeprimary', 'default', 'danger', 'secondary',
19
+ * 'pureDotted', 'primaryDotted'] }]
20
20
  */
21
21
 
22
22
  function Tag(props) {
@@ -41,7 +41,6 @@ function Tag(props) {
41
41
  tooltip,
42
42
  avatarPalette,
43
43
  customClass,
44
- customAttributes,
45
44
  a11y,
46
45
  needEffect,
47
46
  isReadOnly,
@@ -91,8 +90,7 @@ function Tag(props) {
91
90
  "data-title": tooltip ? tooltip : text,
92
91
  tabIndex: disabled ? '-1' : '0',
93
92
  "aria-labelledby": getAriaId,
94
- "data-selector-id": dataSelectorId,
95
- ...customAttributes
93
+ "data-selector-id": dataSelectorId
96
94
  }, hasAvatar ? /*#__PURE__*/React.createElement("div", {
97
95
  className: style.avatar
98
96
  }, /*#__PURE__*/React.createElement(Avatar, {
@@ -7,7 +7,6 @@ export const defaultProps = {
7
7
  size: 'medium',
8
8
  dataId: 'tag',
9
9
  customClass: {},
10
- customAttributes: {},
11
10
  a11y: {},
12
11
  needEffect: true,
13
12
  isReadOnly: false,
@@ -26,7 +26,6 @@ export const propTypes = {
26
26
  customTagIcon: PropTypes.string,
27
27
  customAvatar: PropTypes.string
28
28
  }),
29
- customAttributes: PropTypes.object,
30
29
  a11y: PropTypes.shape({
31
30
  clearLabel: PropTypes.string
32
31
  }),
@@ -35,8 +35,6 @@ require("@zohodesk/variables/assets/no_transitionVariables.module.css");
35
35
 
36
36
  require("../common/a11y.module.css");
37
37
 
38
- require("../common/boxShadow.module.css");
39
-
40
38
  var _AppContainerModule = _interopRequireDefault(require("./AppContainer.module.css"));
41
39
 
42
40
  var _Config = require("../Provider/Config");
@@ -55,17 +55,17 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
55
55
 
56
56
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
57
57
 
58
- /*
59
- 1. need to change name into firstName lastName
60
- 2. pattern support via context as well as props
61
- 3. prop high priority to arrange firstName lastName
62
- 4. team pass name as lastName and pass pattern via prop
58
+ /*
59
+ 1. need to change name into firstName lastName
60
+ 2. pattern support via context as well as props
61
+ 3. prop high priority to arrange firstName lastName
62
+ 4. team pass name as lastName and pass pattern via prop
63
63
  */
64
64
 
65
- /*
66
- eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
67
- 'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
68
- "info","default"] }]
65
+ /*
66
+ eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
67
+ 'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
68
+ "info","default"] }]
69
69
  */
70
70
  var Avatar = /*#__PURE__*/function (_React$Component) {
71
71
  _inherits(Avatar, _React$Component);
@@ -53,11 +53,11 @@
53
53
  }
54
54
 
55
55
  .shadow.black {
56
- box-shadow: var(--zd_bs_avatar_black);
56
+ box-shadow: var(--zd_bs_contrast_outline, inset 0px 0px 5px var(--avatar_boxshadow));
57
57
  }
58
58
 
59
59
  .shadow.white {
60
- box-shadow: var(--zd_bs_avatar_white);
60
+ box-shadow: var(--zd_bs_contrast_outline, inset 0px 0px 11px var(--avatar_boxshadow));
61
61
  }
62
62
 
63
63
  .avatar, .circle {