@councilbox/councilbox-ui 0.2.4 → 0.2.5
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.
|
@@ -48,7 +48,9 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.cbx-menuLateralRight-block-under,
|
|
51
|
-
.cbx-menuLateralRight-icon-burguer-mobile-red-dot
|
|
51
|
+
.cbx-menuLateralRight-icon-burguer-mobile-red-dot,
|
|
52
|
+
.cbx-menuLateralRight-block-tooltip-under,
|
|
53
|
+
.cbx-menuLateralRight-block-tooltip-under-triangle {
|
|
52
54
|
position: absolute;
|
|
53
55
|
}
|
|
54
56
|
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
.cbx-menuLateralRight-container-under,
|
|
65
67
|
.cbx-menuLateralRight-container-under-mobile {
|
|
66
68
|
justify-content: center;
|
|
69
|
+
position: relative;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
.cbx-menuLateralRight-container-under-mobile {
|
|
@@ -74,7 +77,25 @@
|
|
|
74
77
|
width: var(--spacing8);
|
|
75
78
|
height: var(--spacing8);
|
|
76
79
|
top: -0.188rem;
|
|
77
|
-
|
|
80
|
+
right: -0.438rem;
|
|
78
81
|
border-radius: 50rem;
|
|
79
82
|
background: var(--error);
|
|
80
83
|
}
|
|
84
|
+
|
|
85
|
+
.cbx-menuLateralRight-block-tooltip-under {
|
|
86
|
+
background: var(--primary);
|
|
87
|
+
top: -4.688rem;
|
|
88
|
+
right: 0;
|
|
89
|
+
padding: 0.5rem 0.75rem;
|
|
90
|
+
border-radius: 4px;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cbx-menuLateralRight-block-tooltip-under-triangle {
|
|
95
|
+
width: 0;
|
|
96
|
+
height: 0;
|
|
97
|
+
border-left: 0.438rem solid transparent;
|
|
98
|
+
border-right: 0.438rem solid transparent;
|
|
99
|
+
border-top: 0.625rem solid var(--primary);
|
|
100
|
+
bottom: -0.625rem;
|
|
101
|
+
}
|
|
@@ -23,6 +23,8 @@ var _DropDown = _interopRequireDefault(require("../DropDown/DropDown"));
|
|
|
23
23
|
|
|
24
24
|
var _IconButtonSquare = _interopRequireDefault(require("../IconButtonSquare/IconButtonSquare"));
|
|
25
25
|
|
|
26
|
+
var _Typography = _interopRequireDefault(require("../Typography/Typography"));
|
|
27
|
+
|
|
26
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
29
|
|
|
28
30
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -149,7 +151,17 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
|
|
|
149
151
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
150
152
|
key: "under-section-".concat(index),
|
|
151
153
|
className: mobile ? 'cbx-menuLateralRight-container-under-mobile' : 'cbx-menuLateralRight-container-under'
|
|
152
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
154
|
+
}, item.actionTooltip && /*#__PURE__*/_react.default.createElement("div", {
|
|
155
|
+
className: 'cbx-menuLateralRight-block-tooltip-under',
|
|
156
|
+
onClick: item.setActionTooltip
|
|
157
|
+
}, /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
158
|
+
color: 'white'
|
|
159
|
+
}, item.textTooltip), /*#__PURE__*/_react.default.createElement("div", {
|
|
160
|
+
className: 'cbx-menuLateralRight-block-tooltip-under-triangle',
|
|
161
|
+
style: {
|
|
162
|
+
left: mobile ? '4.188rem' : '3.438rem'
|
|
163
|
+
}
|
|
164
|
+
})), /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
153
165
|
tooltip: item.text,
|
|
154
166
|
icon: item.icon,
|
|
155
167
|
badge: item.badge,
|