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

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 (140) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/es/AppContainer/AppContainer.js +1 -0
  3. package/es/AppContainer/AppContainer.module.css +18 -18
  4. package/es/Avatar/Avatar.js +9 -9
  5. package/es/Avatar/Avatar.module.css +2 -2
  6. package/es/AvatarTeam/AvatarTeam.js +7 -7
  7. package/es/Button/Button.js +4 -4
  8. package/es/Button/css/Button.module.css +6 -22
  9. package/es/Buttongroup/Buttongroup.js +1 -1
  10. package/es/Buttongroup/Buttongroup.module.css +1 -1
  11. package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  12. package/es/Card/Card.js +4 -4
  13. package/es/Card/Card.module.css +20 -20
  14. package/es/DateTime/DateTime.module.css +8 -11
  15. package/es/DateTime/DateWidget.module.css +38 -38
  16. package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
  17. package/es/DropBox/DropBoxPositionMapping.json +144 -144
  18. package/es/DropBox/css/DropBox.module.css +1 -1
  19. package/es/DropDown/DropDown.module.css +5 -5
  20. package/es/DropDown/DropDownSearch.module.css +14 -14
  21. package/es/DropDown/DropDownSeparator.module.css +7 -7
  22. package/es/Heading/Heading.module.css +4 -4
  23. package/es/Label/Label.js +2 -2
  24. package/es/Layout/Layout.module.css +335 -335
  25. package/es/ListItem/ListItem.js +2 -2
  26. package/es/ListItem/ListItem.module.css +85 -18
  27. package/es/ListItem/ListItemWithAvatar.js +3 -3
  28. package/es/ListItem/ListItemWithIcon.js +2 -2
  29. package/es/MultiSelect/AdvancedGroupMultiSelect.js +7 -2
  30. package/es/MultiSelect/AdvancedMultiSelect.js +2 -1
  31. package/es/MultiSelect/MultiSelect.js +12 -7
  32. package/es/MultiSelect/SelectedOptions.module.css +15 -15
  33. package/es/MultiSelect/Suggestions.js +8 -4
  34. package/es/MultiSelect/props/defaultProps.js +8 -5
  35. package/es/MultiSelect/props/propTypes.js +6 -3
  36. package/es/Popup/PositionMapping.json +73 -73
  37. package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  38. package/es/Ribbon/Ribbon.module.css +6 -6
  39. package/es/RippleEffect/RippleEffect.module.css +92 -92
  40. package/es/Select/GroupSelect.js +7 -2
  41. package/es/Select/Select.module.css +134 -134
  42. package/es/Select/SelectWithAvatar.js +7 -2
  43. package/es/Select/SelectWithIcon.js +7 -2
  44. package/es/Select/props/defaultProps.js +6 -3
  45. package/es/Select/props/propTypes.js +6 -3
  46. package/es/Stencils/Stencils.module.css +96 -96
  47. package/es/Switch/Switch.module.css +1 -2
  48. package/es/Tab/TabContent.module.css +4 -4
  49. package/es/Tab/Tabs.js +17 -17
  50. package/es/Tab/Tabs.module.css +3 -3
  51. package/es/Tooltip/Tooltip.module.css +140 -143
  52. package/es/common/a11y.module.css +3 -3
  53. package/es/common/animation.module.css +624 -624
  54. package/es/common/avatarsizes.module.css +48 -48
  55. package/es/common/basic.module.css +33 -33
  56. package/es/common/basicReset.module.css +40 -40
  57. package/es/{deprecated → common}/boxShadow.module.css +33 -33
  58. package/es/common/common.module.css +524 -524
  59. package/es/common/reset.module.css +13 -13
  60. package/es/common/transition.module.css +146 -146
  61. package/es/semantic/Button/semanticButton.module.css +9 -9
  62. package/es/v1/AppContainer/AppContainer.js +1 -0
  63. package/es/v1/Card/Card.js +4 -4
  64. package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  65. package/es/v1/Tab/Tabs.js +11 -11
  66. package/es/v1/Tab/v1TabContent.module.css +4 -4
  67. package/es/v1/Tab/v1Tabs.module.css +3 -3
  68. package/es/v1/Typography/css/Typography.module.css +380 -380
  69. package/install.md +10 -10
  70. package/lib/AppContainer/AppContainer.js +2 -0
  71. package/lib/AppContainer/AppContainer.module.css +18 -18
  72. package/lib/Avatar/Avatar.js +9 -9
  73. package/lib/Avatar/Avatar.module.css +2 -2
  74. package/lib/AvatarTeam/AvatarTeam.js +7 -7
  75. package/lib/Button/Button.js +4 -4
  76. package/lib/Button/css/Button.module.css +6 -22
  77. package/lib/Buttongroup/Buttongroup.js +1 -1
  78. package/lib/Buttongroup/Buttongroup.module.css +1 -1
  79. package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
  80. package/lib/Card/Card.js +4 -4
  81. package/lib/Card/Card.module.css +20 -20
  82. package/lib/DateTime/DateTime.module.css +8 -11
  83. package/lib/DateTime/DateWidget.module.css +38 -38
  84. package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +7 -11
  85. package/lib/DropBox/DropBoxPositionMapping.json +144 -144
  86. package/lib/DropBox/css/DropBox.module.css +1 -1
  87. package/lib/DropDown/DropDown.module.css +5 -5
  88. package/lib/DropDown/DropDownSearch.module.css +14 -14
  89. package/lib/DropDown/DropDownSeparator.module.css +7 -7
  90. package/lib/Heading/Heading.module.css +4 -4
  91. package/lib/Layout/Layout.module.css +335 -335
  92. package/lib/ListItem/ListItem.js +2 -2
  93. package/lib/ListItem/ListItem.module.css +85 -18
  94. package/lib/ListItem/ListItemWithAvatar.js +3 -3
  95. package/lib/ListItem/ListItemWithIcon.js +2 -2
  96. package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -3
  97. package/lib/MultiSelect/AdvancedMultiSelect.js +3 -1
  98. package/lib/MultiSelect/MultiSelect.js +13 -8
  99. package/lib/MultiSelect/SelectedOptions.module.css +15 -15
  100. package/lib/MultiSelect/Suggestions.js +8 -4
  101. package/lib/MultiSelect/props/defaultProps.js +8 -5
  102. package/lib/MultiSelect/props/propTypes.js +8 -6
  103. package/lib/Popup/PositionMapping.json +73 -73
  104. package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
  105. package/lib/Ribbon/Ribbon.module.css +6 -6
  106. package/lib/RippleEffect/RippleEffect.module.css +92 -92
  107. package/lib/Select/GroupSelect.js +8 -3
  108. package/lib/Select/Select.module.css +134 -134
  109. package/lib/Select/SelectWithAvatar.js +8 -3
  110. package/lib/Select/SelectWithIcon.js +8 -3
  111. package/lib/Select/props/defaultProps.js +5 -3
  112. package/lib/Select/props/propTypes.js +6 -3
  113. package/lib/Stencils/Stencils.module.css +96 -96
  114. package/lib/Switch/Switch.module.css +1 -2
  115. package/lib/Tab/TabContent.module.css +4 -4
  116. package/lib/Tab/Tabs.js +11 -11
  117. package/lib/Tab/Tabs.module.css +3 -3
  118. package/lib/Tooltip/Tooltip.module.css +140 -143
  119. package/lib/common/a11y.module.css +3 -3
  120. package/lib/common/animation.module.css +624 -624
  121. package/lib/common/avatarsizes.module.css +48 -48
  122. package/lib/common/basic.module.css +33 -33
  123. package/lib/common/basicReset.module.css +40 -40
  124. package/lib/{deprecated → common}/boxShadow.module.css +33 -33
  125. package/lib/common/common.module.css +524 -524
  126. package/lib/common/reset.module.css +13 -13
  127. package/lib/common/transition.module.css +146 -146
  128. package/lib/semantic/Button/semanticButton.module.css +9 -9
  129. package/lib/v1/AppContainer/AppContainer.js +2 -0
  130. package/lib/v1/Card/Card.js +4 -4
  131. package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
  132. package/lib/v1/Tab/Tabs.js +11 -11
  133. package/lib/v1/Tab/v1TabContent.module.css +4 -4
  134. package/lib/v1/Tab/v1Tabs.module.css +3 -3
  135. package/lib/v1/Typography/css/Typography.module.css +380 -380
  136. package/package.json +7 -11
  137. package/postPublish.js +8 -8
  138. package/prePublish.js +70 -70
  139. package/react-cli.config.js +23 -23
  140. package/result.json +1 -1
@@ -1,13 +1,13 @@
1
- *,
2
- :after,
3
- :before {
4
- outline: 0;
5
- box-sizing: border-box;
6
- -webkit-box-sizing: border-box;
7
- -moz-box-sizing: border-box;
8
- -ms-box-sizing: border-box;
9
- }
10
- html {
11
- /* Variable:Ignore */
12
- font-size: 16px;
13
- }
1
+ *,
2
+ :after,
3
+ :before {
4
+ outline: 0;
5
+ box-sizing: border-box;
6
+ -webkit-box-sizing: border-box;
7
+ -moz-box-sizing: border-box;
8
+ -ms-box-sizing: border-box;
9
+ }
10
+ html {
11
+ /* Variable:Ignore */
12
+ font-size: 16px;
13
+ }
@@ -1,146 +1,146 @@
1
- .zoomInEnter,
2
- .zoomInLeave.zoomInLeaveActive {
3
- opacity: 0;
4
- }.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
5
- transform: perspective(1px) scale(1.5) translateZ(0);
6
- transition-duration: var(--zd_transition3);
7
- transition-property: all;
8
- }
9
- .zoomInEnter.zoomInEnterActive,
10
- .zoomInLeave {
11
- opacity: 1;
12
- }
13
- .zoomInEnter.zoomInEnterActive, .zoomInLeave {
14
- transform: perspective(1px) scale(1) translateZ(0);
15
- transition-duration: var(--zd_transition3);
16
- transition-property: all;
17
- }
18
-
19
- .scaleInEnter,
20
- .scaleInLeave.scaleInLeaveActive {
21
- opacity: 0;
22
- }
23
-
24
- .scaleInEnter, .scaleInLeave.scaleInLeaveActive {
25
- transform: scale(0);
26
- transition-duration: var(--zd_transition3);
27
- transition-property: all;
28
- }
29
- .scaleInEnter.scaleInEnterActive,
30
- .scaleInLeave {
31
- opacity: 1;
32
- }
33
- .scaleInEnter.scaleInEnterActive, .scaleInLeave {
34
- transform: scale(1);
35
- transition-duration: var(--zd_transition3);
36
- transition-property: all;
37
- }
38
-
39
- .fadeInEnter,
40
- .fadeInLeave.fadeInLeaveActive {
41
- opacity: 0;
42
- }
43
-
44
- .fadeInEnter, .fadeInLeave.fadeInLeaveActive {
45
- transition-duration: var(--zd_transition3);
46
- transition-property: all;
47
- }
48
-
49
- .fadeInEnter.fadeInEnterActive,
50
- .fadeInLeave {
51
- opacity: 1;
52
- }
53
-
54
- .fadeInEnter.fadeInEnterActive, .fadeInLeave {
55
- transition-duration: var(--zd_transition3);
56
- transition-property: all;
57
- }
58
-
59
- .slideLeftEnter,
60
- .slideLeftLeave.slideLeftLeaveActive {
61
- opacity: 0;
62
- }
63
-
64
- .slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
65
- transition-duration: var(--zd_transition3);
66
- transition-property: all;
67
- }
68
-
69
- [dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
70
- transform: translateX(110%);
71
- }
72
-
73
- [dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
74
- transform: translateX(-110%);
75
- }
76
-
77
- .slideLeftEnter.slideLeftEnterActive,
78
- .slideLeftLeave {
79
- opacity: 1;
80
- }
81
-
82
- .slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
83
- transform: translateX(0%);
84
- transition-duration: var(--zd_transition3);
85
- transition-property: all;
86
- }
87
-
88
- .slideDownEnter,
89
- .slideDownLeave.slideDownLeaveActive {
90
- opacity: 0;
91
- }
92
-
93
- .slideDownEnter, .slideDownLeave.slideDownLeaveActive {
94
- transform: translateY(-100%);
95
- transition-duration: var(--zd_transition3);
96
- transition-property: all;
97
- }
98
-
99
- .slideDownEnter.slideDownEnterActive,
100
- .slideDownLeave {
101
- opacity: 1;
102
- }
103
-
104
- .slideDownEnter.slideDownEnterActive, .slideDownLeave {
105
- transform: translateY(0%);
106
- transition-duration: var(--zd_transition3);
107
- transition-property: all;
108
- }
109
-
110
- .skewInEnter,
111
- .skewInLeave.skewInLeaveActive {
112
- opacity: 0;
113
- }
114
-
115
- .skewInEnter, .skewInLeave.skewInLeaveActive {
116
- transition-duration: var(--zd_transition3);
117
- transition-property: all;
118
- }
119
-
120
- [dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
121
- transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
122
- }
123
-
124
- [dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
125
- transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
126
- }
127
-
128
- .skewInEnter.skewInEnterActive,
129
- .skewInLeave {
130
- opacity: 1;
131
- }
132
-
133
- .skewInEnter.skewInEnterActive, .skewInLeave {
134
- transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
135
- transition-duration: var(--zd_transition3);
136
- transition-property: all;
137
- }
138
-
139
- .defaultEnter,
140
- .defaultLeave.defaultLeaveActive {
141
- display: none;
142
- }
143
- .defaultEnter.defaultEnterActive,
144
- .defaultLeave {
145
- display: block;
146
- }
1
+ .zoomInEnter,
2
+ .zoomInLeave.zoomInLeaveActive {
3
+ opacity: 0;
4
+ }.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
5
+ transform: perspective(1px) scale(1.5) translateZ(0);
6
+ transition-duration: var(--zd_transition3);
7
+ transition-property: all;
8
+ }
9
+ .zoomInEnter.zoomInEnterActive,
10
+ .zoomInLeave {
11
+ opacity: 1;
12
+ }
13
+ .zoomInEnter.zoomInEnterActive, .zoomInLeave {
14
+ transform: perspective(1px) scale(1) translateZ(0);
15
+ transition-duration: var(--zd_transition3);
16
+ transition-property: all;
17
+ }
18
+
19
+ .scaleInEnter,
20
+ .scaleInLeave.scaleInLeaveActive {
21
+ opacity: 0;
22
+ }
23
+
24
+ .scaleInEnter, .scaleInLeave.scaleInLeaveActive {
25
+ transform: scale(0);
26
+ transition-duration: var(--zd_transition3);
27
+ transition-property: all;
28
+ }
29
+ .scaleInEnter.scaleInEnterActive,
30
+ .scaleInLeave {
31
+ opacity: 1;
32
+ }
33
+ .scaleInEnter.scaleInEnterActive, .scaleInLeave {
34
+ transform: scale(1);
35
+ transition-duration: var(--zd_transition3);
36
+ transition-property: all;
37
+ }
38
+
39
+ .fadeInEnter,
40
+ .fadeInLeave.fadeInLeaveActive {
41
+ opacity: 0;
42
+ }
43
+
44
+ .fadeInEnter, .fadeInLeave.fadeInLeaveActive {
45
+ transition-duration: var(--zd_transition3);
46
+ transition-property: all;
47
+ }
48
+
49
+ .fadeInEnter.fadeInEnterActive,
50
+ .fadeInLeave {
51
+ opacity: 1;
52
+ }
53
+
54
+ .fadeInEnter.fadeInEnterActive, .fadeInLeave {
55
+ transition-duration: var(--zd_transition3);
56
+ transition-property: all;
57
+ }
58
+
59
+ .slideLeftEnter,
60
+ .slideLeftLeave.slideLeftLeaveActive {
61
+ opacity: 0;
62
+ }
63
+
64
+ .slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
65
+ transition-duration: var(--zd_transition3);
66
+ transition-property: all;
67
+ }
68
+
69
+ [dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
70
+ transform: translateX(110%);
71
+ }
72
+
73
+ [dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
74
+ transform: translateX(-110%);
75
+ }
76
+
77
+ .slideLeftEnter.slideLeftEnterActive,
78
+ .slideLeftLeave {
79
+ opacity: 1;
80
+ }
81
+
82
+ .slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
83
+ transform: translateX(0%);
84
+ transition-duration: var(--zd_transition3);
85
+ transition-property: all;
86
+ }
87
+
88
+ .slideDownEnter,
89
+ .slideDownLeave.slideDownLeaveActive {
90
+ opacity: 0;
91
+ }
92
+
93
+ .slideDownEnter, .slideDownLeave.slideDownLeaveActive {
94
+ transform: translateY(-100%);
95
+ transition-duration: var(--zd_transition3);
96
+ transition-property: all;
97
+ }
98
+
99
+ .slideDownEnter.slideDownEnterActive,
100
+ .slideDownLeave {
101
+ opacity: 1;
102
+ }
103
+
104
+ .slideDownEnter.slideDownEnterActive, .slideDownLeave {
105
+ transform: translateY(0%);
106
+ transition-duration: var(--zd_transition3);
107
+ transition-property: all;
108
+ }
109
+
110
+ .skewInEnter,
111
+ .skewInLeave.skewInLeaveActive {
112
+ opacity: 0;
113
+ }
114
+
115
+ .skewInEnter, .skewInLeave.skewInLeaveActive {
116
+ transition-duration: var(--zd_transition3);
117
+ transition-property: all;
118
+ }
119
+
120
+ [dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
121
+ transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
122
+ }
123
+
124
+ [dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
125
+ transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
126
+ }
127
+
128
+ .skewInEnter.skewInEnterActive,
129
+ .skewInLeave {
130
+ opacity: 1;
131
+ }
132
+
133
+ .skewInEnter.skewInEnterActive, .skewInLeave {
134
+ transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
135
+ transition-duration: var(--zd_transition3);
136
+ transition-property: all;
137
+ }
138
+
139
+ .defaultEnter,
140
+ .defaultLeave.defaultLeaveActive {
141
+ display: none;
142
+ }
143
+ .defaultEnter.defaultEnterActive,
144
+ .defaultLeave {
145
+ display: block;
146
+ }
@@ -1,9 +1,9 @@
1
- .buttonReset {
2
- outline: 0;
3
- font: inherit;
4
- color: inherit;
5
- border: inherit;
6
- background-color: inherit;
7
- padding: 0 ;
8
- text-align: inherit;
9
- }
1
+ .buttonReset {
2
+ outline: 0;
3
+ font: inherit;
4
+ color: inherit;
5
+ border: inherit;
6
+ background-color: inherit;
7
+ padding: 0 ;
8
+ text-align: inherit;
9
+ }
@@ -12,6 +12,7 @@ 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';
15
16
  import style from '../../AppContainer/AppContainer.module.css';
16
17
  import { getLibraryConfig, setLibraryConfig } from '../../Provider/Config';
17
18
  export default function AppContainer(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);
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
  }
@@ -1,4 +1,4 @@
1
- /* $Id$ */
2
- .container {
3
- position: relative;
4
- }
1
+ /* $Id$ */
2
+ .container {
3
+ position: relative;
4
+ }
@@ -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_contrast_outline, 0 -2px 9px var(--zdt_tabs_alpha_box_shadow));
34
+ box-shadow: var(--zd_bs_tabs_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 {