@councilbox/councilbox-ui 2.0.16 → 2.0.18
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.
- package/dist/components/1.Introduction.stories.mdx +1 -1
- package/dist/components/2.Changelog.stories.mdx +16 -0
- package/dist/components/Accordion/Accordion.js +2 -0
- package/dist/components/Alert/Alert.js +3 -3
- package/dist/components/Checkbox/Checkbox.css +0 -4
- package/dist/components/DrawerPanel/DrawerPanel.js +3 -1
- package/dist/components/DropDown/DropDown.js +20 -8
- package/dist/components/FabButton/FabButton.js +2 -1
- package/dist/components/Header/Header.js +8 -6
- package/dist/components/IconButton/IconButton.js +2 -1
- package/dist/components/InputAutocomplete/InputAutocomplete.css +25 -0
- package/dist/components/InputAutocomplete/InputAutocomplete.js +66 -20
- package/dist/components/InputText/InputText.js +10 -7
- package/dist/components/MenuItem/MenuItem.js +5 -1
- package/dist/components/MenuLateralLeft/MenuLateralLeft.js +3 -2
- package/dist/components/MenuLateralRight/MenuLateralRight.js +1 -1
- package/dist/components/Modal/Modal.css +1 -0
- package/dist/components/Modal/Modal.js +3 -2
- package/dist/components/RadioButton/Radio.js +1 -1
- package/dist/components/SelectInput/SelectInput.css +4 -0
- package/dist/components/Stars/Stars.css +13 -1
- package/dist/components/Stars/Stars.js +7 -6
- package/dist/components/Tag/Tag.js +39 -2
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/styles/colorConsts.css +1 -0
- package/dist/utils/index.js +14 -9
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ a.noStyles:hover{
|
|
|
16
16
|
`}</style>
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
# Librería de componentes ui-councilbox NEW v2.0.
|
|
19
|
+
# Librería de componentes ui-councilbox NEW v2.0.18 🎉
|
|
20
20
|
|
|
21
21
|
<h2>Componentes:</h2>
|
|
22
22
|
<div><a class='noStyles' href='/story/components-accordion--default'>Accordion</a></div>
|
|
@@ -25,6 +25,22 @@ a.noStyles:hover{
|
|
|
25
25
|
<div>Fix zIndex label InputText y SelectInput</div>
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
|
+
<h2>v2.0.18</h2>
|
|
29
|
+
<div>Remove background Checkbox</div>
|
|
30
|
+
<div>Fix click en los MenuItem</div>
|
|
31
|
+
<div>Add Custombuttons en el Modal</div>
|
|
32
|
+
<div>Add aria-label en varios componentes</div>
|
|
33
|
+
<div>Componentes validados AA</div>
|
|
34
|
+
<div>Add Legend en Stars</div>
|
|
35
|
+
<div>Fix Radio toString a getTime</div>
|
|
36
|
+
<div>Fix calcular posicion Dropdown</div>
|
|
37
|
+
|
|
38
|
+
<h2>v2.0.17</h2>
|
|
39
|
+
<div>Fix height Modal en firefox</div>
|
|
40
|
+
<div>Fix error Tooltip</div>
|
|
41
|
+
<div>Fix Tag ellipsis</div>
|
|
42
|
+
<div>Fix Icon Autocomplete</div>
|
|
43
|
+
|
|
28
44
|
<h2>v2.0.16</h2>
|
|
29
45
|
<div>Add disabled MenuItem</div>
|
|
30
46
|
<div>Fix Dropdown close click items</div>
|
|
@@ -133,6 +133,8 @@ var Accordion = function Accordion(_ref) {
|
|
|
133
133
|
}),
|
|
134
134
|
disabled: disabled,
|
|
135
135
|
prefixClass: prefixClass,
|
|
136
|
+
"aria-label": expanded ? 'Close accordion' : 'Open accordion',
|
|
137
|
+
title: 'button accordion expand',
|
|
136
138
|
styles: {
|
|
137
139
|
fontSize: '1.5rem',
|
|
138
140
|
transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
@@ -51,7 +51,7 @@ var Alert = function Alert(_ref) {
|
|
|
51
51
|
var stylesType = {
|
|
52
52
|
info: {
|
|
53
53
|
container: {
|
|
54
|
-
background: 'var(--
|
|
54
|
+
background: 'var(--gray1Contrast)',
|
|
55
55
|
color: 'var(--info)'
|
|
56
56
|
},
|
|
57
57
|
icon: 'ri-information-line',
|
|
@@ -64,7 +64,7 @@ var Alert = function Alert(_ref) {
|
|
|
64
64
|
},
|
|
65
65
|
success: {
|
|
66
66
|
container: {
|
|
67
|
-
background: 'var(--
|
|
67
|
+
background: 'var(--gray1Contrast)',
|
|
68
68
|
color: 'var(--success)'
|
|
69
69
|
},
|
|
70
70
|
icon: 'ri-checkbox-circle-line',
|
|
@@ -77,7 +77,7 @@ var Alert = function Alert(_ref) {
|
|
|
77
77
|
},
|
|
78
78
|
error: {
|
|
79
79
|
container: {
|
|
80
|
-
background: 'var(--
|
|
80
|
+
background: 'var(--gray1Contrast)',
|
|
81
81
|
color: 'var(--error)'
|
|
82
82
|
},
|
|
83
83
|
icon: 'ri-error-warning-line',
|
|
@@ -167,7 +167,9 @@ var DrawerPanel = function DrawerPanel(_ref) {
|
|
|
167
167
|
fontSize: '1.71429rem'
|
|
168
168
|
},
|
|
169
169
|
className: 'ri-close-line'
|
|
170
|
-
})
|
|
170
|
+
}),
|
|
171
|
+
"aria-label": 'Close drawer panel',
|
|
172
|
+
prefixClass: prefixClass
|
|
171
173
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
172
174
|
className: prefixClass('cbx-drawerPanel-title')
|
|
173
175
|
}, !!title && /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
@@ -250,12 +250,6 @@ var DropDown = function DropDown(_ref2) {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
var handleClick = _react.default.useCallback(function (event) {
|
|
254
|
-
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
255
|
-
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
256
|
-
updateIsOpen(true);
|
|
257
|
-
}, [updateIsOpen]);
|
|
258
|
-
|
|
259
253
|
var closeDropdown = _react.default.useCallback(function (event) {
|
|
260
254
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
261
255
|
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
@@ -336,6 +330,15 @@ var DropDown = function DropDown(_ref2) {
|
|
|
336
330
|
};
|
|
337
331
|
}, [isDropdownOpen, debouncedAdjustPopoverPosition]);
|
|
338
332
|
|
|
333
|
+
var handleClick = _react.default.useCallback(function (event) {
|
|
334
|
+
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
335
|
+
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
336
|
+
updateIsOpen(true);
|
|
337
|
+
setTimeout(function () {
|
|
338
|
+
return adjustPopoverPosition();
|
|
339
|
+
}, 0);
|
|
340
|
+
}, [updateIsOpen, adjustPopoverPosition]);
|
|
341
|
+
|
|
339
342
|
var handleOptionClick = _react.default.useCallback(function (option, event) {
|
|
340
343
|
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
341
344
|
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
@@ -351,9 +354,18 @@ var DropDown = function DropDown(_ref2) {
|
|
|
351
354
|
}
|
|
352
355
|
}, [closeOnOptionClick, updateIsOpen]);
|
|
353
356
|
|
|
357
|
+
var handleOptionClickClose = _react.default.useCallback(function (option, event) {
|
|
358
|
+
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
359
|
+
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
360
|
+
|
|
361
|
+
if (closeOnOptionClick) {
|
|
362
|
+
updateIsOpen(false);
|
|
363
|
+
}
|
|
364
|
+
}, [closeOnOptionClick]);
|
|
365
|
+
|
|
354
366
|
var enhancedItems = _react.default.useMemo(function () {
|
|
355
|
-
return (0, _utils.enhanceClickableChildren)(items, handleOptionClick);
|
|
356
|
-
}, [items, handleOptionClick]);
|
|
367
|
+
return (0, _utils.enhanceClickableChildren)(items, handleOptionClick, handleOptionClickClose);
|
|
368
|
+
}, [items, handleOptionClick, handleOptionClickClose]);
|
|
357
369
|
|
|
358
370
|
var isInsideModal = function isInsideModal() {
|
|
359
371
|
var _containerDropdownRef, _containerDropdownRef2;
|
|
@@ -153,6 +153,7 @@ var Header = function Header(_ref) {
|
|
|
153
153
|
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_ButtonBasic.default, _extends({
|
|
154
154
|
id: 'cbx-header-third-dropdown-user',
|
|
155
155
|
variant: 'tertiary',
|
|
156
|
+
"aria-label": 'Actions Button',
|
|
156
157
|
style: {
|
|
157
158
|
paddingRight: '0.125rem'
|
|
158
159
|
},
|
|
@@ -179,7 +180,7 @@ var Header = function Header(_ref) {
|
|
|
179
180
|
var renderlogoAndDropdownSeparated = _react.default.useMemo(function () {
|
|
180
181
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, iconButtonRight && /*#__PURE__*/_react.default.createElement(_IconButton.default, _extends({
|
|
181
182
|
prefixClass: prefixClass,
|
|
182
|
-
"aria-label": "",
|
|
183
|
+
"aria-label": "Button user",
|
|
183
184
|
id: 'cbx-header-third-button-user',
|
|
184
185
|
className: prefixClass('cbx-header-third-button-user cbx-header-button'),
|
|
185
186
|
styles: _objectSpread({}, styleIconButtonRightContainer),
|
|
@@ -232,7 +233,7 @@ var Header = function Header(_ref) {
|
|
|
232
233
|
className: prefixClass('cbx-header-first-container-button-dropdown-left')
|
|
233
234
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, _extends({
|
|
234
235
|
prefixClass: prefixClass,
|
|
235
|
-
"aria-label": "",
|
|
236
|
+
"aria-label": "Button Left",
|
|
236
237
|
id: 'cbx-header-first-button-left',
|
|
237
238
|
className: prefixClass('cbx-header-first-button-left cbx-header-button'),
|
|
238
239
|
onClick: back,
|
|
@@ -247,7 +248,7 @@ var Header = function Header(_ref) {
|
|
|
247
248
|
Component: function Component() {
|
|
248
249
|
return /*#__PURE__*/_react.default.createElement(_IconButton.default, _extends({
|
|
249
250
|
prefixClass: prefixClass,
|
|
250
|
-
"aria-label": "",
|
|
251
|
+
"aria-label": "Drop Down Button Left",
|
|
251
252
|
id: 'cbx-header-button-more',
|
|
252
253
|
className: prefixClass('cbx-header-first-button-left cbx-header-button'),
|
|
253
254
|
icon: dropdownLeftIcon || /*#__PURE__*/_react.default.createElement("i", {
|
|
@@ -313,7 +314,7 @@ var Header = function Header(_ref) {
|
|
|
313
314
|
Component: function Component() {
|
|
314
315
|
return /*#__PURE__*/_react.default.createElement(_IconButton.default, _extends({
|
|
315
316
|
prefixClass: prefixClass,
|
|
316
|
-
"aria-label": "",
|
|
317
|
+
"aria-label": "Drop Down Button More",
|
|
317
318
|
id: 'cbx-header-button-more',
|
|
318
319
|
className: prefixClass('cbx-header-second-button-more cbx-header-button'),
|
|
319
320
|
icon: moreIcon || /*#__PURE__*/_react.default.createElement("i", {
|
|
@@ -343,7 +344,8 @@ var Header = function Header(_ref) {
|
|
|
343
344
|
whiteSpace: 'nowrap'
|
|
344
345
|
},
|
|
345
346
|
text: textFinishButton,
|
|
346
|
-
onClick: finish
|
|
347
|
+
onClick: finish,
|
|
348
|
+
"aria-label": 'Actions Button'
|
|
347
349
|
}, finishButtonBasicProps)))), /*#__PURE__*/_react.default.createElement("div", {
|
|
348
350
|
className: prefixClass('cbx-header-third-block'),
|
|
349
351
|
style: {
|
|
@@ -412,7 +414,7 @@ var Header = function Header(_ref) {
|
|
|
412
414
|
alt: "logo"
|
|
413
415
|
})), !!iconButtonRight && !itemsDropDownUser && /*#__PURE__*/_react.default.createElement(_IconButton.default, _extends({
|
|
414
416
|
prefixClass: prefixClass,
|
|
415
|
-
"aria-label": "",
|
|
417
|
+
"aria-label": "Button user",
|
|
416
418
|
id: 'cbx-header-third-button-user',
|
|
417
419
|
className: prefixClass('cbx-header-third-button-user cbx-header-button'),
|
|
418
420
|
icon: iconButtonRight,
|
|
@@ -213,7 +213,8 @@ var IconButton = function IconButton(_ref) {
|
|
|
213
213
|
backgroundColor: backgroundColor,
|
|
214
214
|
position: 'relative',
|
|
215
215
|
'--hover-color': hoverColor
|
|
216
|
-
}, styles), style), stylesInLine)
|
|
216
|
+
}, styles), style), stylesInLine),
|
|
217
|
+
"aria-label": 'Icon Button'
|
|
217
218
|
}, props), progressAuto ? getProgressAuto() : progress && getProgress(), badge ? /*#__PURE__*/_react.default.createElement("div", {
|
|
218
219
|
className: prefixClass('cbx-IconButton-containerBadge')
|
|
219
220
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -1,6 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
.cbx-inputAutocomplete-endAdornment {
|
|
3
|
+
margin-right: var(--spacing20) !important;
|
|
4
|
+
}
|
|
5
|
+
.cbx-inputAutocomplete-container:after {
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 1.313rem;
|
|
8
|
+
right: 0.575rem;
|
|
9
|
+
width: 0;
|
|
10
|
+
height: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
content: '';
|
|
13
|
+
border-left: 0.375rem solid transparent;
|
|
14
|
+
border-right: 0.375rem solid transparent;
|
|
15
|
+
border-top: 0.375rem solid var(--gray3);
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
transition: .2s;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.cbx-inputAutocomplete-container-open.cbx-inputAutocomplete-container:after{
|
|
21
|
+
transform: rotate(180deg);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
1
25
|
.cbx-inputAutocomplete-icon-button {
|
|
2
26
|
opacity: 0;
|
|
3
27
|
transition: opacity 0.3s ease-in-out;
|
|
28
|
+
margin-right: var(--spacing20);
|
|
4
29
|
}
|
|
5
30
|
|
|
6
31
|
.cbx-inputAutocomplete-container:hover .cbx-inputAutocomplete-icon-button {
|
|
@@ -107,44 +107,49 @@ var InputAutocomplete = function InputAutocomplete(_ref) {
|
|
|
107
107
|
selectOnFocus = _ref$selectOnFocus === void 0 ? !freeSolo : _ref$selectOnFocus,
|
|
108
108
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
109
109
|
|
|
110
|
+
var _React$useState = _react.default.useState(false),
|
|
111
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
112
|
+
isOpen = _React$useState2[0],
|
|
113
|
+
setIsOpen = _React$useState2[1];
|
|
114
|
+
|
|
110
115
|
var _useDynamicStyles = (0, _useDynamicStyles2.default)(sx),
|
|
111
116
|
stylesInLine = _useDynamicStyles.stylesInLine,
|
|
112
117
|
dynamicPrefixClass = _useDynamicStyles.prefixClass;
|
|
113
118
|
|
|
114
119
|
var prefixClass = propPrefixClass || dynamicPrefixClass;
|
|
115
120
|
|
|
116
|
-
var _React$
|
|
121
|
+
var _React$useState3 = _react.default.useState({
|
|
117
122
|
showDropdown: false,
|
|
118
123
|
showSearchInput: false
|
|
119
124
|
}),
|
|
120
|
-
_React$
|
|
121
|
-
uiState = _React$
|
|
122
|
-
setUIstate = _React$
|
|
125
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
126
|
+
uiState = _React$useState4[0],
|
|
127
|
+
setUIstate = _React$useState4[1];
|
|
123
128
|
|
|
124
|
-
var _React$
|
|
129
|
+
var _React$useState5 = _react.default.useState({
|
|
125
130
|
top: null,
|
|
126
131
|
bottom: null,
|
|
127
132
|
left: '0px',
|
|
128
133
|
width: '0px'
|
|
129
134
|
}),
|
|
130
|
-
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
131
|
-
positions = _React$useState4[0],
|
|
132
|
-
setPositions = _React$useState4[1];
|
|
133
|
-
|
|
134
|
-
var _React$useState5 = _react.default.useState(false),
|
|
135
135
|
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
positions = _React$useState6[0],
|
|
137
|
+
setPositions = _React$useState6[1];
|
|
138
138
|
|
|
139
|
-
var _React$useState7 = _react.default.useState(
|
|
139
|
+
var _React$useState7 = _react.default.useState(false),
|
|
140
140
|
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
isClosing = _React$useState8[0],
|
|
142
|
+
setIsClosing = _React$useState8[1];
|
|
143
143
|
|
|
144
|
-
var _React$useState9 = _react.default.useState(
|
|
144
|
+
var _React$useState9 = _react.default.useState(value || null),
|
|
145
145
|
_React$useState10 = _slicedToArray(_React$useState9, 2),
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
internalValue = _React$useState10[0],
|
|
147
|
+
setInternalValue = _React$useState10[1];
|
|
148
|
+
|
|
149
|
+
var _React$useState11 = _react.default.useState(propInputValue || value && getOptionLabel(value) || ''),
|
|
150
|
+
_React$useState12 = _slicedToArray(_React$useState11, 2),
|
|
151
|
+
internalInputValue = _React$useState12[0],
|
|
152
|
+
setInternalInputValue = _React$useState12[1];
|
|
148
153
|
|
|
149
154
|
var searchTextRef = _react.default.useRef(freeSolo ? internalInputValue : '');
|
|
150
155
|
|
|
@@ -193,6 +198,7 @@ var InputAutocomplete = function InputAutocomplete(_ref) {
|
|
|
193
198
|
showDropdown: false,
|
|
194
199
|
showSearchInput: !clearOnBlur
|
|
195
200
|
}));
|
|
201
|
+
setIsOpen(false);
|
|
196
202
|
setIsClosing(false);
|
|
197
203
|
|
|
198
204
|
if (!freeSolo) {
|
|
@@ -303,7 +309,7 @@ var InputAutocomplete = function InputAutocomplete(_ref) {
|
|
|
303
309
|
}, [inputRef.current]);
|
|
304
310
|
|
|
305
311
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
306
|
-
className: prefixClass("cbx-inputAutocomplete-container ".concat(uiState.showSearchInput ? 'cbx-inputAutocomplete-container-open' : '')),
|
|
312
|
+
className: prefixClass("cbx-inputAutocomplete-container ".concat(isOpen ? 'cbx-inputAutocomplete-container-open' : '', " ").concat(uiState.showSearchInput ? 'cbx-inputAutocomplete-container-open' : '')),
|
|
307
313
|
style: _objectSpread(_objectSpread(_objectSpread({
|
|
308
314
|
width: props.fullWidth && '100%'
|
|
309
315
|
}, styles), style), stylesInLine),
|
|
@@ -319,9 +325,48 @@ var InputAutocomplete = function InputAutocomplete(_ref) {
|
|
|
319
325
|
autoComplete: autoComplete,
|
|
320
326
|
disabled: disabled,
|
|
321
327
|
ref: inputRef,
|
|
328
|
+
onFocus: function onFocus() {
|
|
329
|
+
if (!isOpen) setIsOpen(false);
|
|
330
|
+
},
|
|
322
331
|
onKeyDown: function onKeyDown(e) {
|
|
323
332
|
e.stopPropagation();
|
|
324
333
|
|
|
334
|
+
switch (e.key) {
|
|
335
|
+
case 'ArrowDown':
|
|
336
|
+
case 'ArrowUp':
|
|
337
|
+
setIsOpen(true);
|
|
338
|
+
handleKeyDown(e);
|
|
339
|
+
break;
|
|
340
|
+
|
|
341
|
+
case 'Enter':
|
|
342
|
+
case ' ':
|
|
343
|
+
if (!isOpen) {
|
|
344
|
+
setIsOpen(true);
|
|
345
|
+
} else {
|
|
346
|
+
var _optionContainerRef$c;
|
|
347
|
+
|
|
348
|
+
var activeOption = (_optionContainerRef$c = optionContainerRef.current) === null || _optionContainerRef$c === void 0 ? void 0 : _optionContainerRef$c.querySelector('.cbx-selectInput-option-focused');
|
|
349
|
+
|
|
350
|
+
if (activeOption) {
|
|
351
|
+
activeOption.click();
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
e.preventDefault();
|
|
356
|
+
break;
|
|
357
|
+
|
|
358
|
+
case 'Escape':
|
|
359
|
+
if (isOpen) closeDropdown();
|
|
360
|
+
break;
|
|
361
|
+
|
|
362
|
+
case 'Tab':
|
|
363
|
+
if (isOpen) closeDropdown();
|
|
364
|
+
break;
|
|
365
|
+
|
|
366
|
+
default:
|
|
367
|
+
break;
|
|
368
|
+
}
|
|
369
|
+
|
|
325
370
|
if (e.keyCode === 9) {
|
|
326
371
|
closeDropdown();
|
|
327
372
|
}
|
|
@@ -358,7 +403,8 @@ var InputAutocomplete = function InputAutocomplete(_ref) {
|
|
|
358
403
|
tabIndex: "-1"
|
|
359
404
|
}),
|
|
360
405
|
tabIndex: -1
|
|
361
|
-
}))
|
|
406
|
+
})),
|
|
407
|
+
endAdornmentClass: 'cbx-inputAutocomplete-endAdornment'
|
|
362
408
|
}, InputProps)
|
|
363
409
|
}, props, {
|
|
364
410
|
type: 'autocomplete'
|
|
@@ -140,13 +140,13 @@ var InputText = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
140
140
|
|
|
141
141
|
var getIcon = function getIcon() {
|
|
142
142
|
var icon = endAdornment ? /*#__PURE__*/_react.default.createElement("i", {
|
|
143
|
-
className: "cbx-inputText-endAdornment ".concat(endAdornment),
|
|
143
|
+
className: "".concat(InputProps !== null && InputProps !== void 0 && InputProps.endAdornmentClass ? InputProps.endAdornmentClass : '', " cbx-inputText-endAdornment ").concat(endAdornment),
|
|
144
144
|
tabIndex: "-1"
|
|
145
145
|
}) : '';
|
|
146
146
|
|
|
147
147
|
if (success) {
|
|
148
148
|
icon = /*#__PURE__*/_react.default.createElement("i", {
|
|
149
|
-
className: "cbx-inputText-endAdornment ri-check-line",
|
|
149
|
+
className: "".concat(InputProps !== null && InputProps !== void 0 && InputProps.endAdornmentClass ? InputProps.endAdornmentClass : '', " cbx-inputText-endAdornment ri-check-line"),
|
|
150
150
|
style: {
|
|
151
151
|
color: 'var(--success)'
|
|
152
152
|
},
|
|
@@ -156,7 +156,7 @@ var InputText = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
156
156
|
|
|
157
157
|
if (error) {
|
|
158
158
|
icon = /*#__PURE__*/_react.default.createElement("i", {
|
|
159
|
-
className: 'cbx-inputText-endAdornment
|
|
159
|
+
className: "".concat(InputProps !== null && InputProps !== void 0 && InputProps.endAdornmentClass ? InputProps.endAdornmentClass : '', " cbx-inputText-endAdornment ri-information-line"),
|
|
160
160
|
style: {
|
|
161
161
|
color: 'var(--error)'
|
|
162
162
|
},
|
|
@@ -166,7 +166,7 @@ var InputText = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
166
166
|
|
|
167
167
|
if (helper) {
|
|
168
168
|
icon = /*#__PURE__*/_react.default.createElement("i", {
|
|
169
|
-
className: 'cbx-inputText-endAdornment
|
|
169
|
+
className: "".concat(InputProps !== null && InputProps !== void 0 && InputProps.endAdornmentClass ? InputProps.endAdornmentClass : '', " cbx-inputText-endAdornment ri-information-line"),
|
|
170
170
|
tabIndex: "-1"
|
|
171
171
|
});
|
|
172
172
|
}
|
|
@@ -333,7 +333,8 @@ var InputText = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
333
333
|
rows: rows,
|
|
334
334
|
onClick: onClick,
|
|
335
335
|
ref: type === 'textArea' ? textareaRef : ref,
|
|
336
|
-
readOnly: readOnly
|
|
336
|
+
readOnly: readOnly,
|
|
337
|
+
"aria-label": 'Input'
|
|
337
338
|
}, props)), getLabel()) : /*#__PURE__*/_react.default.createElement(Component, _extends({
|
|
338
339
|
className: prefixClass("cbx-input cbx-inputText cbx-inputText-".concat(getVariant(), " cbx-inputText-").concat(type, " ").concat(inputShrink && !isInputFocused ? 'shrink' : '', " ").concat(error ? 'cbx-inputText-error' : '', " ").concat(label ? '' : 'cbx-inputText-notLabel')),
|
|
339
340
|
id: id,
|
|
@@ -350,11 +351,13 @@ var InputText = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
350
351
|
rows: rows,
|
|
351
352
|
onClick: onClick,
|
|
352
353
|
ref: type === 'textArea' ? textareaRef : ref,
|
|
353
|
-
readOnly: readOnly
|
|
354
|
+
readOnly: readOnly,
|
|
355
|
+
"aria-label": 'Input'
|
|
354
356
|
}, props)), (getVariant() === 'filled' || getVariant() === 'standard') && /*#__PURE__*/_react.default.createElement("span", {
|
|
355
357
|
className: prefixClass('cbx-inputText-bar')
|
|
356
358
|
}), !renderValue && getLabel(), /*#__PURE__*/_react.default.createElement("fieldset", {
|
|
357
|
-
className: prefixClass("cbx-inputText-fieldset cbx-inputText-fieldset-".concat(getVariant(), " ").concat(isInputHover ? 'hover' : '', " ").concat(isInputFocused ? 'focused' : '', " ").concat(inputValue && !isInputFocused ? 'focusedNo value' : '', " ").concat(!label ? 'noLabel' : '', " ").concat(inputShrink && !isInputFocused ? 'focusedNo value shrink' : ''))
|
|
359
|
+
className: prefixClass("cbx-inputText-fieldset cbx-inputText-fieldset-".concat(getVariant(), " ").concat(isInputHover ? 'hover' : '', " ").concat(isInputFocused ? 'focused' : '', " ").concat(inputValue && !isInputFocused ? 'focusedNo value' : '', " ").concat(!label ? 'noLabel' : '', " ").concat(inputShrink && !isInputFocused ? 'focusedNo value shrink' : '')),
|
|
360
|
+
"aria-label": 'Input fieldset'
|
|
358
361
|
}, /*#__PURE__*/_react.default.createElement("legend", {
|
|
359
362
|
style: {
|
|
360
363
|
width: "".concat(widthLabel, "px")
|
|
@@ -149,7 +149,7 @@ var MenuLateralLeft = function MenuLateralLeft(_ref) {
|
|
|
149
149
|
}));
|
|
150
150
|
}, [upperIndex]);
|
|
151
151
|
|
|
152
|
-
return /*#__PURE__*/_react.default.createElement("
|
|
152
|
+
return /*#__PURE__*/_react.default.createElement("nav", {
|
|
153
153
|
id: id,
|
|
154
154
|
className: prefixClass(mobile ? 'cbx-menuLateralLeft-block-mobile' : resize() ? 'cbx-menuLateralLeft-block-mini' : 'cbx-menuLateralLeft-block'),
|
|
155
155
|
onMouseEnter: function onMouseEnter() {
|
|
@@ -290,7 +290,8 @@ var MenuLateralLeft = function MenuLateralLeft(_ref) {
|
|
|
290
290
|
src: invlogo ? _cbxLogoInv.default : _cbxLogo.default,
|
|
291
291
|
style: {
|
|
292
292
|
minWidth: '7.75rem'
|
|
293
|
-
}
|
|
293
|
+
},
|
|
294
|
+
alt: 'Icon Councilbox'
|
|
294
295
|
}))));
|
|
295
296
|
};
|
|
296
297
|
|
|
@@ -73,7 +73,7 @@ var MenuLateralRight = function MenuLateralRight(_ref) {
|
|
|
73
73
|
return window.innerHeight < 665 || innerWidth < breakpoints.md;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
return /*#__PURE__*/_react.default.createElement("
|
|
76
|
+
return /*#__PURE__*/_react.default.createElement("nav", {
|
|
77
77
|
id: id,
|
|
78
78
|
className: mobile ? prefixClass('cbx-menuLateralRight-block-mobile') : prefixClass("cbx-menuLateralRight-block ".concat(resize() ? 'cbx-menuLateralRight-block-resize' : '')),
|
|
79
79
|
style: _objectSpread(_objectSpread({}, style), stylesInLine)
|
|
@@ -21,7 +21,7 @@ var _CouncilboxThemeContext = require("../ThemeProvider/CouncilboxThemeContext")
|
|
|
21
21
|
|
|
22
22
|
var _useDynamicStyles2 = _interopRequireDefault(require("../../HOCs/useDynamicStyles"));
|
|
23
23
|
|
|
24
|
-
var _excluded = ["title", "fullWidth", "id", "fullScreen", "buttonAccept", "buttonCancel", "open", "requestClose", "loadingAction", "acceptAction", "cancelAction", "body", "bodyText", "hideAccept", "extraActions", "classNameDialog", "PaperProps", "widthModal", "actions", "sx", "buttonCancelProps", "buttonAcceptProps", "breakpointsButtons", "hasScrollbar", "scrollbarHeight", "prefixClass", "style", "styles", "className"];
|
|
24
|
+
var _excluded = ["title", "fullWidth", "id", "fullScreen", "buttonAccept", "buttonCancel", "open", "requestClose", "loadingAction", "acceptAction", "cancelAction", "body", "bodyText", "hideAccept", "extraActions", "classNameDialog", "PaperProps", "widthModal", "actions", "sx", "buttonCancelProps", "buttonAcceptProps", "breakpointsButtons", "hasScrollbar", "scrollbarHeight", "prefixClass", "style", "styles", "customButtons", "className"];
|
|
25
25
|
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
@@ -79,6 +79,7 @@ var Modal = function Modal(_ref) {
|
|
|
79
79
|
propPrefixClass = _ref.prefixClass,
|
|
80
80
|
style = _ref.style,
|
|
81
81
|
styles = _ref.styles,
|
|
82
|
+
customButtons = _ref.customButtons,
|
|
82
83
|
className = _ref.className,
|
|
83
84
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
84
85
|
|
|
@@ -214,7 +215,7 @@ var Modal = function Modal(_ref) {
|
|
|
214
215
|
minWidth: size === 'sm' || size === 'xs' ? '100%' : '25rem',
|
|
215
216
|
maxWidth: size === 'sm' || size === 'xs' ? '100%' : '37.5rem'
|
|
216
217
|
}
|
|
217
|
-
}, body || bodyText), (!!buttonCancel || !!buttonAccept) && /*#__PURE__*/_react.default.createElement("div", {
|
|
218
|
+
}, body || bodyText), customButtons, (!!buttonCancel || !!buttonAccept) && /*#__PURE__*/_react.default.createElement("div", {
|
|
218
219
|
className: prefixClass('cbx-Modal-buttons')
|
|
219
220
|
}, buttonCancel || buttonAccept ? buttons : null), actions && /*#__PURE__*/_react.default.createElement("div", {
|
|
220
221
|
className: prefixClass('cbx-Modal-buttons')
|
|
@@ -72,7 +72,7 @@ var Radio = function Radio(_ref) {
|
|
|
72
72
|
ripples = _useRipple2[1];
|
|
73
73
|
|
|
74
74
|
var generatedId = _react.default.useMemo(function () {
|
|
75
|
-
return id || Date.now().
|
|
75
|
+
return id || Date.now().getTime();
|
|
76
76
|
}, [id]);
|
|
77
77
|
|
|
78
78
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -133,4 +133,8 @@
|
|
|
133
133
|
|
|
134
134
|
.cbx-selectInput-container.cbx-selectInput-container-disabled .cbx-inputText-fieldset.cbx-inputText-fieldset-outlined{
|
|
135
135
|
border: 0.063rem dashed var(--gray2);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.cbx-inputText-container-select div div {
|
|
139
|
+
padding-right: 1.875rem !important;
|
|
136
140
|
}
|
|
@@ -106,4 +106,16 @@
|
|
|
106
106
|
|
|
107
107
|
.cbx-rating-disabled>input:checked~label {
|
|
108
108
|
color: var(--primary);
|
|
109
|
-
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.cbx-rating-legend-hidden {
|
|
112
|
+
position: absolute;
|
|
113
|
+
width: 1px;
|
|
114
|
+
height: 1px;
|
|
115
|
+
padding: 0;
|
|
116
|
+
margin: -1px;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
clip: rect(0, 0, 0, 0);
|
|
119
|
+
white-space: nowrap;
|
|
120
|
+
border: 0;
|
|
121
|
+
}
|
|
@@ -62,11 +62,12 @@ var Stars = function Stars(_ref) {
|
|
|
62
62
|
fontWeight: '700',
|
|
63
63
|
marginBottom: '1em'
|
|
64
64
|
}
|
|
65
|
-
}, error), /*#__PURE__*/_react.default.createElement("
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
}, error), /*#__PURE__*/_react.default.createElement("fieldset", {
|
|
66
|
+
className: prefixClass(disabled ? 'cbx-rating-disabled' : "cbx-rating ".concat(variant === 'secondary' ? variant : '')),
|
|
67
|
+
"aria-label": "Fieldset stars"
|
|
68
|
+
}, /*#__PURE__*/_react.default.createElement("legend", {
|
|
69
|
+
className: "cbx-rating-legend-hidden"
|
|
70
|
+
}, "Rating for ".concat(name)), _toConsumableArray(new Array(lengthtStars)).map(function (item, index) {
|
|
70
71
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
71
72
|
key: "".concat(index, "_").concat(name)
|
|
72
73
|
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
@@ -88,7 +89,7 @@ var Stars = function Stars(_ref) {
|
|
|
88
89
|
htmlFor: "star".concat(5 - index).concat(name),
|
|
89
90
|
className: prefixClass(lowStars ? 'cbx-lowStars' : '')
|
|
90
91
|
}, "5 stars"));
|
|
91
|
-
})))
|
|
92
|
+
})));
|
|
92
93
|
};
|
|
93
94
|
|
|
94
95
|
Stars.displayName = "Stars";
|
|
@@ -17,6 +17,8 @@ var _Typography = _interopRequireDefault(require("../Typography/Typography"));
|
|
|
17
17
|
|
|
18
18
|
var _useDynamicStyles2 = _interopRequireDefault(require("../../HOCs/useDynamicStyles"));
|
|
19
19
|
|
|
20
|
+
var _Tooltip = _interopRequireDefault(require("../Tooltip/Tooltip"));
|
|
21
|
+
|
|
20
22
|
var _excluded = ["variant", "id", "className", "text", "close", "icon", "iconText", "background", "iconTypographyProps", "textTypographyProps", "styles", "borderColor", "colorText", "sx", "style"];
|
|
21
23
|
|
|
22
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -29,6 +31,18 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
29
31
|
|
|
30
32
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
31
33
|
|
|
34
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
35
|
+
|
|
36
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
37
|
+
|
|
38
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
39
|
+
|
|
40
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
41
|
+
|
|
42
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
43
|
+
|
|
44
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
45
|
+
|
|
32
46
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
33
47
|
|
|
34
48
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -55,6 +69,25 @@ var Tag = function Tag(_ref) {
|
|
|
55
69
|
stylesInLine = _useDynamicStyles.stylesInLine,
|
|
56
70
|
prefixClass = _useDynamicStyles.prefixClass;
|
|
57
71
|
|
|
72
|
+
var typographyRef = _react.default.useRef(null);
|
|
73
|
+
|
|
74
|
+
var _React$useState = _react.default.useState(false),
|
|
75
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
76
|
+
isEllipsisActive = _React$useState2[0],
|
|
77
|
+
setIsEllipsisActive = _React$useState2[1];
|
|
78
|
+
|
|
79
|
+
_react.default.useEffect(function () {
|
|
80
|
+
var timeout = setTimeout(function () {
|
|
81
|
+
if (typographyRef.current) {
|
|
82
|
+
var isEllipsis = typographyRef.current.scrollWidth > typographyRef.current.clientWidth;
|
|
83
|
+
setIsEllipsisActive(isEllipsis);
|
|
84
|
+
}
|
|
85
|
+
}, 0);
|
|
86
|
+
return function () {
|
|
87
|
+
return clearTimeout(timeout);
|
|
88
|
+
};
|
|
89
|
+
}, [text, typographyRef.current]);
|
|
90
|
+
|
|
58
91
|
return /*#__PURE__*/_react.default.createElement("div", _extends({
|
|
59
92
|
id: id,
|
|
60
93
|
className: "".concat(prefixClass('cbx-tag-container'), " ").concat(variant === 'secondary' ? prefixClass('cbx-tag-container-secondary') : '', " ").concat(variant === 'tertiary' ? prefixClass('cbx-tag-container-tertiary') : '', " ").concat(className),
|
|
@@ -81,13 +114,17 @@ var Tag = function Tag(_ref) {
|
|
|
81
114
|
}
|
|
82
115
|
}, iconTypographyProps), iconText)), /*#__PURE__*/_react.default.createElement("div", {
|
|
83
116
|
className: prefixClass('cbx-tag-block-typography')
|
|
117
|
+
}, /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
118
|
+
title: isEllipsisActive ? text : '',
|
|
119
|
+
placement: "right"
|
|
84
120
|
}, /*#__PURE__*/_react.default.createElement(_Typography.default, _extends({
|
|
85
121
|
prefixClass: prefixClass,
|
|
86
122
|
color: colorText || 'var(--white)',
|
|
87
123
|
styles: {
|
|
88
124
|
lineHeight: '1.38rem'
|
|
89
|
-
}
|
|
90
|
-
|
|
125
|
+
},
|
|
126
|
+
ref: typographyRef
|
|
127
|
+
}, textTypographyProps), text))), close && /*#__PURE__*/_react.default.createElement("div", {
|
|
91
128
|
className: prefixClass('cbx-tag-close'),
|
|
92
129
|
onClick: function onClick() {
|
|
93
130
|
return close();
|
|
@@ -206,7 +206,7 @@ var Tooltip = function Tooltip(_ref2) {
|
|
|
206
206
|
|
|
207
207
|
var timeoutRef = _react.default.useRef(null);
|
|
208
208
|
|
|
209
|
-
var childElement = _react.default.Children.only(children);
|
|
209
|
+
var childElement = /*#__PURE__*/_react.default.isValidElement(children) && !Array.isArray(children) ? _react.default.Children.only(children) : /*#__PURE__*/_react.default.createElement("span", null, children);
|
|
210
210
|
|
|
211
211
|
var _React$useState = _react.default.useState(open || false),
|
|
212
212
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
package/dist/utils/index.js
CHANGED
|
@@ -27,34 +27,39 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
27
27
|
|
|
28
28
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
29
29
|
|
|
30
|
-
var enhanceClickableChildren = function enhanceClickableChildren(node, handler) {
|
|
31
|
-
var overrides = arguments.length >
|
|
30
|
+
var enhanceClickableChildren = function enhanceClickableChildren(node, handler, handlerClose) {
|
|
31
|
+
var overrides = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
32
32
|
return _react.default.Children.map(node, function (child, index) {
|
|
33
|
-
return enhanceChild(child, index, handler, overrides);
|
|
33
|
+
return enhanceChild(child, index, handler, handlerClose, overrides);
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
exports.enhanceClickableChildren = enhanceClickableChildren;
|
|
38
38
|
|
|
39
|
-
var enhanceChild = function enhanceChild(child, index, handler, overrides) {
|
|
39
|
+
var enhanceChild = function enhanceChild(child, index, handler, handlerClose, overrides) {
|
|
40
40
|
if ( /*#__PURE__*/_react.default.isValidElement(child)) {
|
|
41
41
|
if (child.type === _react.default.Fragment) {
|
|
42
|
-
return enhanceClickableChildren(child.props.children, handler, overrides);
|
|
42
|
+
return enhanceClickableChildren(child.props.children, handler, handlerClose, overrides);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
var originalOnClick = child.props.onClick;
|
|
46
46
|
return /*#__PURE__*/_react.default.cloneElement(child, _objectSpread({
|
|
47
47
|
key: child.key || index,
|
|
48
|
-
menuItems: child.props.menuItems && enhanceClickableChildren(child.props.menuItems, handler) || null,
|
|
49
|
-
onClick:
|
|
48
|
+
menuItems: child.props.menuItems && enhanceClickableChildren(child.props.menuItems, handler, handlerClose) || null,
|
|
49
|
+
onClick: handlerClose ? function (event) {
|
|
50
|
+
event.preventDefault();
|
|
50
51
|
event.stopPropagation();
|
|
51
52
|
|
|
52
53
|
if (originalOnClick) {
|
|
53
54
|
originalOnClick(event);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
|
-
|
|
57
|
-
} :
|
|
57
|
+
handlerClose(child, event);
|
|
58
|
+
} : function (event) {
|
|
59
|
+
event.preventDefault();
|
|
60
|
+
event.stopPropagation();
|
|
61
|
+
originalOnClick === null || originalOnClick === void 0 ? void 0 : originalOnClick(event);
|
|
62
|
+
}
|
|
58
63
|
}, overrides));
|
|
59
64
|
}
|
|
60
65
|
|