@councilbox/councilbox-ui 2.0.37 → 2.0.38

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.
@@ -25,6 +25,13 @@ a.noStyles:hover{
25
25
  <div>Fix zIndex label InputText y SelectInput</div>
26
26
  </div>
27
27
 
28
+ <h2>v2.0.38</h2>
29
+ <div>Add prefixClass en DrawerPanel</div>
30
+ <div>Fix tooltip MenuLateralRight</div>
31
+
32
+ <h2>v2.0.37</h2>
33
+ <div>Fix InputAutocomplete async</div>
34
+
28
35
  <h2>v2.0.36</h2>
29
36
  <div>Fix IconButton error</div>
30
37
  <div>Fix badge in Tabs</div>
@@ -146,7 +146,7 @@ var DrawerPanel = function DrawerPanel(_ref) {
146
146
 
147
147
  return isOpenRender && /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react.default.createElement("div", _extends({
148
148
  id: id,
149
- className: "".concat(classNameDialog, " cbx-drawerPanel-container"),
149
+ className: prefixClass("".concat(classNameDialog, " cbx-drawerPanel-container")),
150
150
  style: _objectSpread(_objectSpread(_objectSpread({}, styles), style), stylesInLine)
151
151
  }, props), /*#__PURE__*/_react.default.createElement("div", {
152
152
  className: "".concat(prefixClass('cbx-drawerPanel-block'), " ").concat(direction === 'left' ? prefixClass('cbx-drawerPanel-block-left') : '', " ").concat(isOpen && !isClosing ? prefixClass('cbx-drawerPanel-block-open') : ''),
@@ -90,6 +90,8 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
90
90
  onClick: buttonVideo.action,
91
91
  badge: buttonVideo.badge,
92
92
  sx: buttonVideo.sx,
93
+ tooltip: !mobile && buttonVideo.text,
94
+ placementTooltip: 'left',
93
95
  text: mobile && textVisibleMenuMobile && buttonVideo.text,
94
96
  variant: mobile && textVisibleMenuMobile && 'M',
95
97
  fontWeight: mobile && textVisibleMenuMobile && '700',
@@ -106,6 +108,8 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
106
108
  active: buttonVideo.active ? false : item.active,
107
109
  onClick: item.action,
108
110
  sx: item.sx,
111
+ tooltip: !mobile && item.text,
112
+ placementTooltip: 'left',
109
113
  badge: item.badge,
110
114
  text: mobile && textVisibleMenuMobile && item.text,
111
115
  variant: mobile && textVisibleMenuMobile && 'M',
@@ -123,6 +127,8 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
123
127
  onClick: iconSelectDropDown().action,
124
128
  badge: iconSelectDropDown().badge,
125
129
  sx: iconSelectDropDown().sx,
130
+ tooltip: !mobile && iconSelectDropDown().text,
131
+ placementTooltip: 'left',
126
132
  text: mobile && textVisibleMenuMobile && iconSelectDropDown().text,
127
133
  variant: mobile && textVisibleMenuMobile && 'M',
128
134
  fontWeight: mobile && textVisibleMenuMobile && '700',
@@ -182,7 +188,7 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
182
188
  }, /*#__PURE__*/_react.default.createElement(_IconButtonSquare.default, {
183
189
  icon: expanded ? item.active ? item.iconActive || item.icon : item.icon : item.icon,
184
190
  text: !mobile && item.text,
185
- tooltip: item.text,
191
+ tooltip: !mobile && item.text,
186
192
  active: item.active,
187
193
  onClick: item.action,
188
194
  badge: item.badge,
@@ -218,7 +224,7 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
218
224
  onClick: item.actionDisabled
219
225
  }), /*#__PURE__*/_react.default.createElement(_IconButton.default, {
220
226
  disabled: item.disabled,
221
- tooltip: item.text,
227
+ tooltip: !mobile && item.text,
222
228
  icon: item.icon,
223
229
  badge: item.badge,
224
230
  onClick: item.action,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@councilbox/councilbox-ui",
3
- "version": "2.0.37",
3
+ "version": "2.0.38",
4
4
  "main": "dist/build-index.js",
5
5
  "files": [
6
6
  "dist",