@widergy/energy-ui 3.22.3 → 3.22.4

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 (197) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/components/Loading/index.js +2 -2
  3. package/dist/components/UTActionCard/components/AdditionalMessage/index.js +1 -1
  4. package/dist/components/UTActionCard/components/BottomActions/index.js +3 -3
  5. package/dist/components/UTActionCard/components/Header/index.js +3 -3
  6. package/dist/components/UTActionCard/components/Header/utils.js +2 -2
  7. package/dist/components/UTActionCard/components/HeaderActions/index.js +5 -4
  8. package/dist/components/UTActionCard/components/HeaderActions/utils.js +2 -2
  9. package/dist/components/UTActionCard/index.js +6 -6
  10. package/dist/components/UTAlert/index.js +2 -2
  11. package/dist/components/UTAlert/theme.js +5 -4
  12. package/dist/components/UTAttachment/components/Preview/index.js +3 -3
  13. package/dist/components/UTAttachment/index.js +7 -5
  14. package/dist/components/UTAttachment/layout.js +2 -2
  15. package/dist/components/UTAttachment/utils.js +9 -8
  16. package/dist/components/UTAttachmentList/components/Preview/index.js +3 -3
  17. package/dist/components/UTAttachmentList/components/PreviewModal/index.js +3 -3
  18. package/dist/components/UTAttachmentList/index.js +14 -11
  19. package/dist/components/UTAttachmentList/layout.js +5 -5
  20. package/dist/components/UTAttachmentList/theme.js +9 -8
  21. package/dist/components/UTAttachmentList/utils.js +10 -9
  22. package/dist/components/UTAutocomplete/components/ListBox/utils.js +1 -1
  23. package/dist/components/UTAutocomplete/index.js +2 -2
  24. package/dist/components/UTAutocomplete/theme.js +52 -50
  25. package/dist/components/UTBadge/index.js +1 -1
  26. package/dist/components/UTBadge/theme.js +2 -1
  27. package/dist/components/UTBanner/index.js +1 -1
  28. package/dist/components/UTBanner/theme.js +2 -1
  29. package/dist/components/UTBarChart/components/Bars/components/Bar/components/Rect/index.js +5 -5
  30. package/dist/components/UTBarChart/components/Bars/components/Bar/index.js +2 -2
  31. package/dist/components/UTBarChart/components/Bars/index.js +2 -2
  32. package/dist/components/UTBarChart/components/Legend/index.js +6 -6
  33. package/dist/components/UTBarChart/components/Pagination/index.js +2 -1
  34. package/dist/components/UTBarChart/components/XAxis/components/AxisElement/index.js +4 -3
  35. package/dist/components/UTBarChart/components/XAxis/index.js +2 -2
  36. package/dist/components/UTBarChart/components/YAxis/index.js +2 -1
  37. package/dist/components/UTBarChart/hooks/use-dynamic-margins.js +5 -4
  38. package/dist/components/UTBarChart/index.js +3 -3
  39. package/dist/components/UTBarChart/theme.js +7 -6
  40. package/dist/components/UTBarChart/utils.js +26 -20
  41. package/dist/components/UTBreadcrumbs/index.js +3 -3
  42. package/dist/components/UTBreadcrumbs/theme.js +2 -1
  43. package/dist/components/UTButton/index.js +4 -8
  44. package/dist/components/UTButton/theme.js +18 -14
  45. package/dist/components/UTButton/utils.js +1 -6
  46. package/dist/components/UTButtonGroup/index.js +1 -1
  47. package/dist/components/UTButtonGroup/theme.js +2 -1
  48. package/dist/components/UTCard/components/UTCardFooter/index.js +2 -2
  49. package/dist/components/UTCard/index.js +4 -4
  50. package/dist/components/UTCard/theme.js +1 -1
  51. package/dist/components/UTCarousel/components/Button/index.js +2 -2
  52. package/dist/components/UTCarousel/components/Legend/index.js +1 -1
  53. package/dist/components/UTCarousel/components/Slider/component/Slide/index.js +5 -5
  54. package/dist/components/UTCarousel/components/Slider/index.js +9 -8
  55. package/dist/components/UTCarousel/components/Slider/layout.js +6 -6
  56. package/dist/components/UTCheckList/index.js +5 -7
  57. package/dist/components/UTCheckList/theme.js +3 -2
  58. package/dist/components/UTCheckbox/index.js +4 -4
  59. package/dist/components/UTConsumptionBar/components/ConsumptionBarIndicator/index.js +4 -4
  60. package/dist/components/UTConsumptionBar/components/ConsumptionBarIndicatorTop/index.js +2 -2
  61. package/dist/components/UTConsumptionBar/index.js +8 -8
  62. package/dist/components/UTCuit/theme.js +6 -6
  63. package/dist/components/UTDatePicker/components/Day/index.js +1 -5
  64. package/dist/components/UTDatePicker/index.js +6 -5
  65. package/dist/components/UTDatePicker/theme.js +160 -157
  66. package/dist/components/UTDialog/index.js +8 -8
  67. package/dist/components/UTDialog/theme.js +2 -1
  68. package/dist/components/UTEmojiPicker/index.js +6 -11
  69. package/dist/components/UTEmojiPicker/theme.js +24 -23
  70. package/dist/components/UTExternalLink/index.js +1 -1
  71. package/dist/components/UTExternalLink/theme.js +2 -1
  72. package/dist/components/UTFileInput/layout.js +5 -11
  73. package/dist/components/UTGoogleAutocomplete/theme.js +2 -1
  74. package/dist/components/UTHeader/index.js +5 -5
  75. package/dist/components/UTHeader/theme.js +3 -2
  76. package/dist/components/UTIcon/theme.js +11 -9
  77. package/dist/components/UTIconButton/index.js +2 -2
  78. package/dist/components/UTImageRadio/components/ImageRadioCard/index.js +6 -6
  79. package/dist/components/UTImageRadio/index.js +3 -3
  80. package/dist/components/UTImageRadio/theme.js +14 -13
  81. package/dist/components/UTLabel/index.js +1 -1
  82. package/dist/components/UTLabel/theme.js +8 -6
  83. package/dist/components/UTList/index.js +1 -1
  84. package/dist/components/UTMap/components/GoogleMaps/styles.js +2 -2
  85. package/dist/components/UTMenu/index.js +3 -3
  86. package/dist/components/UTMenu/theme.js +31 -27
  87. package/dist/components/UTMenu/utils.js +1 -1
  88. package/dist/components/UTModal/index.js +5 -9
  89. package/dist/components/UTModal/theme.js +2 -1
  90. package/dist/components/UTOnboarding/index.js +24 -16
  91. package/dist/components/UTOnboarding/theme.js +14 -12
  92. package/dist/components/UTPagination/components/PageSizeSelector/index.js +2 -2
  93. package/dist/components/UTPagination/components/Pagination/components/NavigationButton/index.js +1 -4
  94. package/dist/components/UTPagination/components/Pagination/index.js +3 -3
  95. package/dist/components/UTPagination/index.js +2 -2
  96. package/dist/components/UTPagination/theme.js +10 -9
  97. package/dist/components/UTPanel/versions/V0/index.js +5 -5
  98. package/dist/components/UTPanel/versions/V1/components/DataItem/index.js +1 -1
  99. package/dist/components/UTPanel/versions/V1/index.js +6 -8
  100. package/dist/components/UTPanel/versions/V1/theme.js +1 -1
  101. package/dist/components/UTPasswordField/components/PasswordValidations/components/Error/index.js +1 -1
  102. package/dist/components/UTPasswordField/components/PasswordValidations/components/Validation/index.js +2 -2
  103. package/dist/components/UTPasswordField/components/PasswordValidations/index.js +2 -2
  104. package/dist/components/UTPasswordField/theme.js +6 -5
  105. package/dist/components/UTPhoneInput/index.js +11 -10
  106. package/dist/components/UTPhoneInput/theme.js +10 -10
  107. package/dist/components/UTPieChart/components/ArrowLabel/index.js +2 -2
  108. package/dist/components/UTPieChart/components/Legend/index.js +4 -4
  109. package/dist/components/UTPieChart/index.js +5 -5
  110. package/dist/components/UTProductItem/index.js +3 -3
  111. package/dist/components/UTProductItem/theme.js +4 -3
  112. package/dist/components/UTProgressBar/index.js +1 -1
  113. package/dist/components/UTProgressBar/theme.js +12 -11
  114. package/dist/components/UTRadioGroup/index.js +5 -11
  115. package/dist/components/UTRadioGroup/theme.js +17 -17
  116. package/dist/components/UTRating/components/Circle/index.js +5 -5
  117. package/dist/components/UTRating/components/Faces/index.js +4 -8
  118. package/dist/components/UTRating/components/Star/index.js +3 -3
  119. package/dist/components/UTRating/index.js +2 -2
  120. package/dist/components/UTRating/theme.js +21 -21
  121. package/dist/components/UTRipple/Ripple.js +2 -2
  122. package/dist/components/UTSelect/components/Option/index.js +1 -1
  123. package/dist/components/UTSelect/index.js +1 -1
  124. package/dist/components/UTSelect/theme.js +14 -14
  125. package/dist/components/UTSelectableCard/index.js +5 -9
  126. package/dist/components/UTSelectableCard/theme.js +20 -19
  127. package/dist/components/UTSidebar/components/ListOption/index.js +4 -1
  128. package/dist/components/UTSidebar/components/LogosContainer/index.js +3 -3
  129. package/dist/components/UTSidebar/components/Option/index.js +9 -31
  130. package/dist/components/UTSidebar/components/Toggler/index.js +2 -2
  131. package/dist/components/UTSidebar/index.js +3 -7
  132. package/dist/components/UTSidebar/theme.js +17 -16
  133. package/dist/components/UTSkeleton/index.js +3 -2
  134. package/dist/components/UTStatus/index.js +2 -2
  135. package/dist/components/UTStepper/components/Connectors/index.js +5 -7
  136. package/dist/components/UTStepper/components/Step/index.js +6 -16
  137. package/dist/components/UTStepper/index.js +1 -1
  138. package/dist/components/UTStepper/theme.js +12 -11
  139. package/dist/components/UTSwitch/index.js +6 -6
  140. package/dist/components/UTSwitch/theme.js +2 -2
  141. package/dist/components/UTTable/components/ActionIcons/index.js +3 -8
  142. package/dist/components/UTTable/components/Cell/components/ActionButton/index.js +2 -1
  143. package/dist/components/UTTable/components/Cell/index.js +2 -2
  144. package/dist/components/UTTable/components/HeaderCell/index.js +5 -16
  145. package/dist/components/UTTable/components/PrimaryAction/index.js +1 -1
  146. package/dist/components/UTTable/components/ResponsiveCell/index.js +4 -4
  147. package/dist/components/UTTable/components/Status/index.js +2 -2
  148. package/dist/components/UTTable/components/TableFooter/components/PageSizeSelector/index.js +2 -2
  149. package/dist/components/UTTable/components/TableFooter/components/Pagination/components/NavigationButton/index.js +1 -6
  150. package/dist/components/UTTable/components/TableFooter/components/Pagination/index.js +2 -6
  151. package/dist/components/UTTable/components/TableFooter/index.js +1 -1
  152. package/dist/components/UTTable/components/TableHeader/index.js +3 -3
  153. package/dist/components/UTTable/components/TableRow/index.js +13 -42
  154. package/dist/components/UTTable/components/TableRow/utils.js +7 -1
  155. package/dist/components/UTTable/hook.js +4 -1
  156. package/dist/components/UTTable/index.js +19 -22
  157. package/dist/components/UTTable/theme.js +33 -32
  158. package/dist/components/UTTable/utils.js +14 -14
  159. package/dist/components/UTTabs/components/TooltipTab/index.js +1 -1
  160. package/dist/components/UTTabs/index.js +7 -7
  161. package/dist/components/UTTabs/theme.js +2 -2
  162. package/dist/components/UTTextArea/index.js +6 -6
  163. package/dist/components/UTTextArea/theme.js +22 -21
  164. package/dist/components/UTTextInput/index.js +6 -10
  165. package/dist/components/UTTextInput/theme.js +12 -12
  166. package/dist/components/UTToggle/components/ToggleOption/index.js +3 -3
  167. package/dist/components/UTToggle/index.js +2 -2
  168. package/dist/components/UTToggle/theme.js +2 -2
  169. package/dist/components/UTTooltip/index.js +2 -2
  170. package/dist/components/UTTooltip/theme.js +10 -9
  171. package/dist/components/UTTopbar/components/Notifications/index.js +1 -1
  172. package/dist/components/UTTopbar/components/UserMenu/index.js +4 -8
  173. package/dist/components/UTTopbar/index.js +3 -3
  174. package/dist/components/UTTopbar/theme.js +41 -40
  175. package/dist/components/UTTouchableWithoutFeedback/index.js +1 -1
  176. package/dist/components/UTTracker/components/Step/index.js +6 -22
  177. package/dist/components/UTTracker/index.js +23 -20
  178. package/dist/components/UTTracker/theme.js +6 -4
  179. package/dist/components/UTVirtualizedList/components/VirtualizedData/components/ListRow/index.js +5 -4
  180. package/dist/components/UTVirtualizedList/components/VirtualizedData/components/ListRow/utils.js +4 -3
  181. package/dist/components/UTVirtualizedList/components/VirtualizedData/hooks/use-ledger.js +1 -1
  182. package/dist/components/UTVirtualizedList/components/VirtualizedData/utils.js +3 -2
  183. package/dist/components/UTVirtualizedList/index.js +1 -1
  184. package/dist/components/UTWizard/index.js +3 -3
  185. package/dist/components/UTWizard/theme.js +2 -2
  186. package/dist/components/UTWorkflowContainer/versions/V0/components/ActionButton/index.js +3 -6
  187. package/dist/components/UTWorkflowContainer/versions/V0/index.js +9 -14
  188. package/dist/components/UTWorkflowContainer/versions/V0/theme.js +5 -4
  189. package/dist/components/UTWorkflowContainer/versions/V1/components/NavActions/index.js +8 -8
  190. package/dist/components/UTWorkflowContainer/versions/V1/index.js +7 -7
  191. package/dist/components/UTWorkflowContainer/versions/V1/theme.js +7 -6
  192. package/dist/components/WithGoogleMaps/index.js +2 -2
  193. package/dist/components/WithTouch/index.js +1 -1
  194. package/dist/utils/classesUtils.js +2 -2
  195. package/dist/utils/componentUtils.js +3 -3
  196. package/dist/utils/shadowUtils.js +1 -1
  197. package/package.json +3 -2
@@ -162,7 +162,10 @@ const UTTable = _ref => {
162
162
  };
163
163
  const showPagination = !disablePagination && !loading && !(0, _array.isEmpty)(currentRows);
164
164
  const rowStyles = (0, _react.useMemo)(() => (0, _utils.createRowStyles)(rowPadding, rowSpacing, headerPadding, isResponsive), [rowPadding, rowSpacing, headerPadding, isResponsive]);
165
- const tableWidth = (0, _react.useMemo)(() => entry?.target?.clientWidth || '100%', [entry]);
165
+ const tableWidth = (0, _react.useMemo)(() => {
166
+ var _entry$target;
167
+ return (entry === null || entry === void 0 || (_entry$target = entry.target) === null || _entry$target === void 0 ? void 0 : _entry$target.clientWidth) || '100%';
168
+ }, [entry]);
166
169
  const handleScrollbarSync = ps => {
167
170
  setTimeout(() => {
168
171
  ps.update();
@@ -172,7 +175,8 @@ const UTTable = _ref => {
172
175
  const CellComponent = isResponsive ? _ResponsiveCell.default : _Cell.default;
173
176
  const totalRowLabel = isResponsive ? '' : totalRowsLabel || (data.length === 1 ? _constants.TOTAL_ROW_LABEL : _constants.TOTAL_ROWS_LABEL);
174
177
  const handleSinchronizeContent = event => {
175
- if (contentRef.current && stickyHeader) contentRef.current.scrollTo(event?.target?.scrollLeft, 0);
178
+ var _event$target;
179
+ if (contentRef.current && stickyHeader) contentRef.current.scrollTo(event === null || event === void 0 || (_event$target = event.target) === null || _event$target === void 0 ? void 0 : _event$target.scrollLeft, 0);
176
180
  };
177
181
  const columnSizes = (0, _react.useMemo)(() => (0, _utils.getColumnsSizes)({
178
182
  columns,
@@ -181,16 +185,16 @@ const UTTable = _ref => {
181
185
  }), [columns, fitColumnsWidth, selectable]);
182
186
  const Content = /*#__PURE__*/_react.default.createElement("div", {
183
187
  ref: contentRef,
184
- className: `${(0, _array.isEmpty)(currentRows) && _stylesModule.default.preventScrolling}`,
188
+ className: "".concat((0, _array.isEmpty)(currentRows) && _stylesModule.default.preventScrolling),
185
189
  style: {
186
190
  overflow: !isResponsive && stickyHeader && 'hidden',
187
191
  width: tableWidth
188
192
  }
189
193
  }, /*#__PURE__*/_react.default.createElement(_UTLoading.default, {
190
194
  loading: loading,
191
- className: `${_stylesModule.default.tableLoading} ${classes.tableLoading}`
195
+ className: "".concat(_stylesModule.default.tableLoading, " ").concat(classes.tableLoading)
192
196
  }, (0, _array.isEmpty)(currentRows) ? /*#__PURE__*/_react.default.createElement("div", {
193
- className: `${_stylesModule.default.noResultsContainer} ${classes.noResultsContainer}`,
197
+ className: "".concat(_stylesModule.default.noResultsContainer, " ").concat(classes.noResultsContainer),
194
198
  style: {
195
199
  width: tableWidth
196
200
  }
@@ -202,7 +206,7 @@ const UTTable = _ref => {
202
206
  const isRowClickable = onRowClick && (!clickableRowValidation || clickableRowValidation(row));
203
207
  const handleRowClick = isRowClickable ? event => onRowClick(event, row) : undefined;
204
208
  return /*#__PURE__*/_react.default.createElement(_TableRow.default, {
205
- key: row[rowKey] && `row_${row[rowKey]}`,
209
+ key: row[rowKey] && "row_".concat(row[rowKey]),
206
210
  CellComponent: CellComponent,
207
211
  cellProps: {
208
212
  defaultNullValue,
@@ -212,11 +216,7 @@ const UTTable = _ref => {
212
216
  },
213
217
  checkBoxOnChange: () => selectRow(row),
214
218
  checkBoxSelected: isSelected,
215
- className: `
216
- ${isResponsive && _stylesModule.default.responsiveRow}
217
- ${isRowClickable && classes.rowContainerClickable}
218
- ${getRowClassName(row)}
219
- `,
219
+ className: "\n ".concat(isResponsive && _stylesModule.default.responsiveRow, "\n ").concat(isRowClickable && classes.rowContainerClickable, "\n ").concat(getRowClassName(row), "\n "),
220
220
  columnsDefinition: columnsDefinition,
221
221
  columnSizes: columnSizes,
222
222
  containerStyle: {
@@ -225,11 +225,11 @@ const UTTable = _ref => {
225
225
  },
226
226
  isResponsive: isResponsive,
227
227
  exclusiveSelection: exclusiveSelection,
228
- fixedRowsLeftClassName: `${classes.fixedRowLeft} ${selectedClassNames} ${isFirstRow(index) && classes.firstFixedRowLeft} ${isLastRow(index) && classes.lastFixedRowLeft}`,
229
- fixedRowsRightClassName: `${classes.fixedRowRight} ${selectedClassNames} ${isFirstRow(index) && classes.firstFixedRowRight} ${isLastRow(index) && classes.lastFixedRowRight}`,
228
+ fixedRowsLeftClassName: "".concat(classes.fixedRowLeft, " ").concat(selectedClassNames, " ").concat(isFirstRow(index) && classes.firstFixedRowLeft, " ").concat(isLastRow(index) && classes.lastFixedRowLeft),
229
+ fixedRowsRightClassName: "".concat(classes.fixedRowRight, " ").concat(selectedClassNames, " ").concat(isFirstRow(index) && classes.firstFixedRowRight, " ").concat(isLastRow(index) && classes.lastFixedRowRight),
230
230
  handleRowClick: handleRowClick,
231
231
  removeFixedRowsDivisors: removeFixedRowsDivisors,
232
- rowClassName: `${classes.row} ${selectedClassNames} ${isLastRow(index) && classes.lastRow} ${isFirstRow(index) && classes.firstRow}`,
232
+ rowClassName: "".concat(classes.row, " ").concat(selectedClassNames, " ").concat(isLastRow(index) && classes.lastRow, " ").concat(isFirstRow(index) && classes.firstRow),
233
233
  rowKey: rowKey,
234
234
  rowStyles: rowStyles,
235
235
  selectable: selectable,
@@ -250,9 +250,9 @@ const UTTable = _ref => {
250
250
  removeDefaultOrderIcon
251
251
  },
252
252
  checkBoxOnChange: selectAllRows,
253
- checkBoxClassName: `${exclusiveSelection && _stylesModule.default.hideCheckBox}`,
253
+ checkBoxClassName: "".concat(exclusiveSelection && _stylesModule.default.hideCheckBox),
254
254
  checkBoxSelected: selectedAll,
255
- className: `${(0, _array.isEmpty)(currentRows) && _stylesModule.default.disableHeader}`,
255
+ className: "".concat((0, _array.isEmpty)(currentRows) && _stylesModule.default.disableHeader),
256
256
  columnsDefinition: columnsDefinition,
257
257
  columnSizes: columnSizes,
258
258
  containerStyle: {
@@ -274,7 +274,7 @@ const UTTable = _ref => {
274
274
  });
275
275
  return /*#__PURE__*/_react.default.createElement("div", {
276
276
  ref: ref,
277
- className: `${_stylesModule.default.table} ${classes.table}`
277
+ className: "".concat(_stylesModule.default.table, " ").concat(classes.table)
278
278
  }, (tableTitle || GeneralActions) && /*#__PURE__*/_react.default.createElement(_TableHeader.default, {
279
279
  classes: classes,
280
280
  title: tableTitle,
@@ -282,15 +282,12 @@ const UTTable = _ref => {
282
282
  GeneralActions: GeneralActions,
283
283
  disabled: disableReloadRows
284
284
  }), Filters, !isResponsive && /*#__PURE__*/_react.default.createElement("div", {
285
- className: stickyHeader && `${_stylesModule.default.stickyHeader} ${classes.stickyHeader || ''}`
285
+ className: stickyHeader && "".concat(_stylesModule.default.stickyHeader, " ").concat(classes.stickyHeader || '')
286
286
  }, /*#__PURE__*/_react.default.createElement(_reactPerfectScrollbar.default, {
287
287
  containerRef: el => scrollRef.current = el,
288
288
  onSync: handleScrollbarSync,
289
289
  onScroll: handleSinchronizeContent,
290
- className: `
291
- ${_stylesModule.default.scrollbar}
292
- ${classes.scrollbar}
293
- ${loading && _stylesModule.default.disableHeader}`,
290
+ className: "\n ".concat(_stylesModule.default.scrollbar, "\n ").concat(classes.scrollbar, "\n ").concat(loading && _stylesModule.default.disableHeader),
294
291
  options: {
295
292
  suppressScrollY: true,
296
293
  suppressScrollX: fitColumnsWidth
@@ -9,6 +9,7 @@ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.
9
9
  var _classesUtils = require("../../utils/classesUtils");
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
11
  const retrieveStyle = _ref => {
12
+ var _theme$UTTable, _theme$UTTable2, _theme$UTTable3, _theme$UTTable4, _theme$UTTable5, _theme$UTTable6, _theme$UTTable7, _theme$UTTable8, _theme$UTTable9, _theme$UTTable10, _theme$UTTable11, _theme$UTTable12, _theme$UTTable13, _theme$UTTable14, _theme$UTTable15, _theme$UTTable16, _theme$UTTable17, _theme$UTTable18, _theme$UTTable19, _theme$UTTable20, _theme$UTTable21, _theme$UTTable22, _theme$UTTable23, _theme$UTTable24, _theme$UTTable25, _theme$UTTable26, _theme$UTTable27, _theme$Palette$action, _theme$Palette$action2, _theme$Palette$action3;
12
13
  let {
13
14
  theme
14
15
  } = _ref;
@@ -52,15 +53,15 @@ const retrieveStyle = _ref => {
52
53
  }
53
54
  },
54
55
  headerCellCategoryName: {
55
- color: (0, _classesUtils.withImportant)(theme?.UTTable?.headerCellCategoryName?.color),
56
- fontSize: (0, _classesUtils.withImportant)(theme?.UTTable?.headerCellCategoryName?.fontSize || '12px'),
57
- fontWeight: (0, _classesUtils.withImportant)(theme?.UTTable?.headerCellCategoryName?.fontWeight),
56
+ color: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable = theme.UTTable) === null || _theme$UTTable === void 0 || (_theme$UTTable = _theme$UTTable.headerCellCategoryName) === null || _theme$UTTable === void 0 ? void 0 : _theme$UTTable.color),
57
+ fontSize: (0, _classesUtils.withImportant)((theme === null || theme === void 0 || (_theme$UTTable2 = theme.UTTable) === null || _theme$UTTable2 === void 0 || (_theme$UTTable2 = _theme$UTTable2.headerCellCategoryName) === null || _theme$UTTable2 === void 0 ? void 0 : _theme$UTTable2.fontSize) || '12px'),
58
+ fontWeight: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable3 = theme.UTTable) === null || _theme$UTTable3 === void 0 || (_theme$UTTable3 = _theme$UTTable3.headerCellCategoryName) === null || _theme$UTTable3 === void 0 ? void 0 : _theme$UTTable3.fontWeight),
58
59
  marginBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'headerCellCategoryName', 'marginBottom'], 5)
59
60
  },
60
61
  headerCellUnit: {
61
- color: (0, _classesUtils.withImportant)(theme?.UTTable?.headerCellUnit?.color),
62
- fontSize: (0, _classesUtils.withImportant)(theme?.UTTable?.headerCellUnit?.fontSize || '14px'),
63
- fontWeight: (0, _classesUtils.withImportant)(theme?.UTTable?.headerCellUnit?.fontWeight)
62
+ color: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable4 = theme.UTTable) === null || _theme$UTTable4 === void 0 || (_theme$UTTable4 = _theme$UTTable4.headerCellUnit) === null || _theme$UTTable4 === void 0 ? void 0 : _theme$UTTable4.color),
63
+ fontSize: (0, _classesUtils.withImportant)((theme === null || theme === void 0 || (_theme$UTTable5 = theme.UTTable) === null || _theme$UTTable5 === void 0 || (_theme$UTTable5 = _theme$UTTable5.headerCellUnit) === null || _theme$UTTable5 === void 0 ? void 0 : _theme$UTTable5.fontSize) || '14px'),
64
+ fontWeight: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable6 = theme.UTTable) === null || _theme$UTTable6 === void 0 || (_theme$UTTable6 = _theme$UTTable6.headerCellUnit) === null || _theme$UTTable6 === void 0 ? void 0 : _theme$UTTable6.fontWeight)
64
65
  },
65
66
  orderIcon: {
66
67
  color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'orderIcon', 'color'])
@@ -106,12 +107,12 @@ const retrieveStyle = _ref => {
106
107
  borderStyle: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderStyle'], 'solid')
107
108
  },
108
109
  firstRow: {
109
- borderTopLeftRadius: (0, _classesUtils.withImportant)(theme?.UTTable?.table?.borderRadius),
110
- borderTopRightRadius: (0, _classesUtils.withImportant)(theme?.UTTable?.table?.borderRadius)
110
+ borderTopLeftRadius: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable7 = theme.UTTable) === null || _theme$UTTable7 === void 0 || (_theme$UTTable7 = _theme$UTTable7.table) === null || _theme$UTTable7 === void 0 ? void 0 : _theme$UTTable7.borderRadius),
111
+ borderTopRightRadius: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable8 = theme.UTTable) === null || _theme$UTTable8 === void 0 || (_theme$UTTable8 = _theme$UTTable8.table) === null || _theme$UTTable8 === void 0 ? void 0 : _theme$UTTable8.borderRadius)
111
112
  },
112
113
  lastRow: {
113
- borderBottomRightRadius: (0, _classesUtils.withImportant)(theme?.UTTable?.table?.borderRadius),
114
- borderBottomLeftRadius: (0, _classesUtils.withImportant)(theme?.UTTable?.table?.borderRadius)
114
+ borderBottomRightRadius: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable9 = theme.UTTable) === null || _theme$UTTable9 === void 0 || (_theme$UTTable9 = _theme$UTTable9.table) === null || _theme$UTTable9 === void 0 ? void 0 : _theme$UTTable9.borderRadius),
115
+ borderBottomLeftRadius: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable10 = theme.UTTable) === null || _theme$UTTable10 === void 0 || (_theme$UTTable10 = _theme$UTTable10.table) === null || _theme$UTTable10 === void 0 ? void 0 : _theme$UTTable10.borderRadius)
115
116
  },
116
117
  rowCell: {
117
118
  color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'rowCell', 'color']),
@@ -130,8 +131,8 @@ const retrieveStyle = _ref => {
130
131
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'rowCell', 'tabletMobile', 'fontWeight'])
131
132
  },
132
133
  '&:first-child': {
133
- borderTopLeftRadius: (0, _classesUtils.withImportant)(theme?.UTTable?.responsiveRow?.borderRadius),
134
- borderTopRightRadius: (0, _classesUtils.withImportant)(theme?.UTTable?.responsiveRow?.borderRadius)
134
+ borderTopLeftRadius: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable11 = theme.UTTable) === null || _theme$UTTable11 === void 0 || (_theme$UTTable11 = _theme$UTTable11.responsiveRow) === null || _theme$UTTable11 === void 0 ? void 0 : _theme$UTTable11.borderRadius),
135
+ borderTopRightRadius: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable12 = theme.UTTable) === null || _theme$UTTable12 === void 0 || (_theme$UTTable12 = _theme$UTTable12.responsiveRow) === null || _theme$UTTable12 === void 0 ? void 0 : _theme$UTTable12.borderRadius)
135
136
  }
136
137
  },
137
138
  lastCellContainer: {
@@ -172,7 +173,7 @@ const retrieveStyle = _ref => {
172
173
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'actionCell', 'fontWeight']),
173
174
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'rowCell', 'borderColor']),
174
175
  borderStyle: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'rowCell', 'borderStyle'], 'solid'),
175
- borderWidth: (0, _classesUtils.withImportant)(theme?.UTTable?.rowCell?.borderWidth || '1px')
176
+ borderWidth: (0, _classesUtils.withImportant)((theme === null || theme === void 0 || (_theme$UTTable13 = theme.UTTable) === null || _theme$UTTable13 === void 0 || (_theme$UTTable13 = _theme$UTTable13.rowCell) === null || _theme$UTTable13 === void 0 ? void 0 : _theme$UTTable13.borderWidth) || '1px')
176
177
  },
177
178
  categoryNameCell: {
178
179
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'categoryNameCell', 'backgroundColor'], _colorsModule.default.white),
@@ -180,10 +181,10 @@ const retrieveStyle = _ref => {
180
181
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'categoryNameCell', 'fontWeight'])
181
182
  },
182
183
  firstFixedRowLeft: {
183
- borderTopLeftRadius: (0, _classesUtils.withImportant)(`${theme?.UTTable?.table?.borderRadius}px`)
184
+ borderTopLeftRadius: (0, _classesUtils.withImportant)("".concat(theme === null || theme === void 0 || (_theme$UTTable14 = theme.UTTable) === null || _theme$UTTable14 === void 0 || (_theme$UTTable14 = _theme$UTTable14.table) === null || _theme$UTTable14 === void 0 ? void 0 : _theme$UTTable14.borderRadius, "px"))
184
185
  },
185
186
  lastFixedRowLeft: {
186
- borderBottomLeftRadius: (0, _classesUtils.withImportant)(`${theme?.UTTable?.table?.borderRadius}px`)
187
+ borderBottomLeftRadius: (0, _classesUtils.withImportant)("".concat(theme === null || theme === void 0 || (_theme$UTTable15 = theme.UTTable) === null || _theme$UTTable15 === void 0 || (_theme$UTTable15 = _theme$UTTable15.table) === null || _theme$UTTable15 === void 0 ? void 0 : _theme$UTTable15.borderRadius, "px"))
187
188
  },
188
189
  fixedRowLeft: {
189
190
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowLeft', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colorsModule.default.white)),
@@ -198,10 +199,10 @@ const retrieveStyle = _ref => {
198
199
  boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowLeft', 'boxShadow'])
199
200
  },
200
201
  firstFixedRowRight: {
201
- borderTopRightRadius: (0, _classesUtils.withImportant)(`${theme?.UTTable?.table?.borderRadius}px`)
202
+ borderTopRightRadius: (0, _classesUtils.withImportant)("".concat(theme === null || theme === void 0 || (_theme$UTTable16 = theme.UTTable) === null || _theme$UTTable16 === void 0 || (_theme$UTTable16 = _theme$UTTable16.table) === null || _theme$UTTable16 === void 0 ? void 0 : _theme$UTTable16.borderRadius, "px"))
202
203
  },
203
204
  lastFixedRowRight: {
204
- borderTopRightRadius: (0, _classesUtils.withImportant)(`${theme?.UTTable?.table?.borderRadius}px`)
205
+ borderTopRightRadius: (0, _classesUtils.withImportant)("".concat(theme === null || theme === void 0 || (_theme$UTTable17 = theme.UTTable) === null || _theme$UTTable17 === void 0 || (_theme$UTTable17 = _theme$UTTable17.table) === null || _theme$UTTable17 === void 0 ? void 0 : _theme$UTTable17.borderRadius, "px"))
205
206
  },
206
207
  fixedRowRight: {
207
208
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowRight', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colorsModule.default.white)),
@@ -291,17 +292,17 @@ const retrieveStyle = _ref => {
291
292
  pointerEvents: 'none'
292
293
  },
293
294
  tableTitle: {
294
- color: (0, _classesUtils.withImportant)(theme?.UTTable?.tableTitle?.color),
295
- fontSize: (0, _classesUtils.withImportant)(theme?.UTTable?.tableTitle?.fontSize),
296
- fontWeight: (0, _classesUtils.withImportant)(theme?.UTTable?.tableTitle?.fontWeight)
295
+ color: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable18 = theme.UTTable) === null || _theme$UTTable18 === void 0 || (_theme$UTTable18 = _theme$UTTable18.tableTitle) === null || _theme$UTTable18 === void 0 ? void 0 : _theme$UTTable18.color),
296
+ fontSize: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable19 = theme.UTTable) === null || _theme$UTTable19 === void 0 || (_theme$UTTable19 = _theme$UTTable19.tableTitle) === null || _theme$UTTable19 === void 0 ? void 0 : _theme$UTTable19.fontSize),
297
+ fontWeight: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable20 = theme.UTTable) === null || _theme$UTTable20 === void 0 || (_theme$UTTable20 = _theme$UTTable20.tableTitle) === null || _theme$UTTable20 === void 0 ? void 0 : _theme$UTTable20.fontWeight)
297
298
  },
298
299
  headerContainer: {
299
300
  margin: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'headerContainer', 'margin'])
300
301
  },
301
302
  totalRowsLabel: {
302
- color: (0, _classesUtils.withImportant)(theme?.UTTable?.tableTitle?.color),
303
- fontSize: (0, _classesUtils.withImportant)(theme?.UTTable?.tableTitle?.fontSize || '14px'),
304
- fontWeight: (0, _classesUtils.withImportant)(theme?.UTTable?.tableTitle?.fontWeight)
303
+ color: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable21 = theme.UTTable) === null || _theme$UTTable21 === void 0 || (_theme$UTTable21 = _theme$UTTable21.tableTitle) === null || _theme$UTTable21 === void 0 ? void 0 : _theme$UTTable21.color),
304
+ fontSize: (0, _classesUtils.withImportant)((theme === null || theme === void 0 || (_theme$UTTable22 = theme.UTTable) === null || _theme$UTTable22 === void 0 || (_theme$UTTable22 = _theme$UTTable22.tableTitle) === null || _theme$UTTable22 === void 0 ? void 0 : _theme$UTTable22.fontSize) || '14px'),
305
+ fontWeight: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable23 = theme.UTTable) === null || _theme$UTTable23 === void 0 || (_theme$UTTable23 = _theme$UTTable23.tableTitle) === null || _theme$UTTable23 === void 0 ? void 0 : _theme$UTTable23.fontWeight)
305
306
  },
306
307
  pageSizeSelect: {
307
308
  fontFamily: (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'fontFamily']),
@@ -311,10 +312,10 @@ const retrieveStyle = _ref => {
311
312
  },
312
313
  pageSizeSelectContainer: {
313
314
  '& fieldset': {
314
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'border'], `1px solid ${_colorsModule.default.gray3}`)
315
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'border'], "1px solid ".concat(_colorsModule.default.gray3))
315
316
  },
316
317
  '&:hover fieldset': {
317
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'hover', 'border'], `1px solid ${_colorsModule.default.gray2}`)
318
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'hover', 'border'], "1px solid ".concat(_colorsModule.default.gray2))
318
319
  }
319
320
  },
320
321
  noResultsContainer: {
@@ -324,15 +325,15 @@ const retrieveStyle = _ref => {
324
325
  height: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'noResultsContainer', 'height'], 200)
325
326
  },
326
327
  noResultsLabel: {
327
- color: (0, _classesUtils.withImportant)(theme?.UTTable?.noResultsLabel?.color),
328
- fontSize: (0, _classesUtils.withImportant)(theme?.UTTable?.noResultsLabel?.fontSize || '14px'),
329
- fontWeight: (0, _classesUtils.withImportant)(theme?.UTTable?.noResultsLabel?.fontWeight)
328
+ color: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable24 = theme.UTTable) === null || _theme$UTTable24 === void 0 || (_theme$UTTable24 = _theme$UTTable24.noResultsLabel) === null || _theme$UTTable24 === void 0 ? void 0 : _theme$UTTable24.color),
329
+ fontSize: (0, _classesUtils.withImportant)((theme === null || theme === void 0 || (_theme$UTTable25 = theme.UTTable) === null || _theme$UTTable25 === void 0 || (_theme$UTTable25 = _theme$UTTable25.noResultsLabel) === null || _theme$UTTable25 === void 0 ? void 0 : _theme$UTTable25.fontSize) || '14px'),
330
+ fontWeight: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable26 = theme.UTTable) === null || _theme$UTTable26 === void 0 || (_theme$UTTable26 = _theme$UTTable26.noResultsLabel) === null || _theme$UTTable26 === void 0 ? void 0 : _theme$UTTable26.fontWeight)
330
331
  },
331
332
  checkBoxRoot: {
332
333
  color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'checkbox', 'root', 'color'])
333
334
  },
334
335
  checkboxColorChecked: {
335
- color: (0, _classesUtils.withImportant)(theme?.UTTable?.checkbox?.selected?.color)
336
+ color: (0, _classesUtils.withImportant)(theme === null || theme === void 0 || (_theme$UTTable27 = theme.UTTable) === null || _theme$UTTable27 === void 0 || (_theme$UTTable27 = _theme$UTTable27.checkbox) === null || _theme$UTTable27 === void 0 || (_theme$UTTable27 = _theme$UTTable27.selected) === null || _theme$UTTable27 === void 0 ? void 0 : _theme$UTTable27.color)
336
337
  },
337
338
  tableLoading: {
338
339
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'checkbox', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colorsModule.default.white))
@@ -351,12 +352,12 @@ const retrieveStyle = _ref => {
351
352
  color: (0, _seamlessImmutable.getIn)(theme, ['Loading', 'base', 'color'], _colorsModule.default.loadingBase)
352
353
  },
353
354
  actionIcon: {
354
- color: theme.Palette.actions?.neutral['05'] || theme.Palette.neutral['05'],
355
- fill: theme.Palette.actions?.neutral['05'] || theme.Palette.neutral['05']
355
+ color: ((_theme$Palette$action = theme.Palette.actions) === null || _theme$Palette$action === void 0 ? void 0 : _theme$Palette$action.neutral['05']) || theme.Palette.neutral['05'],
356
+ fill: ((_theme$Palette$action2 = theme.Palette.actions) === null || _theme$Palette$action2 === void 0 ? void 0 : _theme$Palette$action2.neutral['05']) || theme.Palette.neutral['05']
356
357
  },
357
358
  actionIconButton: {
358
359
  '&:hover': {
359
- backgroundColor: theme.Palette.actions?.neutral['01'] || theme.Palette.neutral['01']
360
+ backgroundColor: ((_theme$Palette$action3 = theme.Palette.actions) === null || _theme$Palette$action3 === void 0 ? void 0 : _theme$Palette$action3.neutral['01']) || theme.Palette.neutral['01']
360
361
  }
361
362
  }
362
363
  };
@@ -75,26 +75,26 @@ const createRowStyles = (rowPadding, rowSpacing, headerPadding, isResponsive) =>
75
75
  return {
76
76
  fixedRowsLeft: {
77
77
  borderRadius,
78
- borderWidth: `${_constants.ROWS_BORDER_SIZE}px`,
78
+ borderWidth: "".concat(_constants.ROWS_BORDER_SIZE, "px"),
79
79
  paddingLeft: _constants.CELL_SIDE_PADDING
80
80
  },
81
81
  fixedRowsRight: {
82
82
  borderRadius,
83
- borderWidth: `${_constants.ROWS_BORDER_SIZE}px`,
83
+ borderWidth: "".concat(_constants.ROWS_BORDER_SIZE, "px"),
84
84
  paddingRight: _constants.CELL_SIDE_PADDING
85
85
  },
86
86
  rowBorderTop: {
87
- borderTopWidth: `${_constants.ROWS_BORDER_SIZE}px`,
87
+ borderTopWidth: "".concat(_constants.ROWS_BORDER_SIZE, "px"),
88
88
  left: _constants.ROW_SIDE_PADDING,
89
89
  marginTop: margin,
90
- marginBottom: `-${_constants.ROWS_BORDER_SIZE}px`,
91
- width: `calc(100% - ${_constants.ROW_SIDE_PADDING * 2}px)`
90
+ marginBottom: "-".concat(_constants.ROWS_BORDER_SIZE, "px"),
91
+ width: "calc(100% - ".concat(_constants.ROW_SIDE_PADDING * 2, "px)")
92
92
  },
93
93
  rowBorderBottom: {
94
- borderTopWidth: `${_constants.ROWS_BORDER_SIZE}px`,
94
+ borderTopWidth: "".concat(_constants.ROWS_BORDER_SIZE, "px"),
95
95
  left: _constants.ROW_SIDE_PADDING,
96
- marginTop: `-${_constants.ROWS_BORDER_SIZE}px`,
97
- width: `calc(100% - ${_constants.ROW_SIDE_PADDING * 2}px)`
96
+ marginTop: "-".concat(_constants.ROWS_BORDER_SIZE, "px"),
97
+ width: "calc(100% - ".concat(_constants.ROW_SIDE_PADDING * 2, "px)")
98
98
  },
99
99
  cell: {
100
100
  paddingBottom: paddingValue,
@@ -110,8 +110,8 @@ const createRowStyles = (rowPadding, rowSpacing, headerPadding, isResponsive) =>
110
110
  },
111
111
  rowBackground: {
112
112
  borderRadius,
113
- borderBottomWidth: `${_constants.ROWS_BORDER_SIZE}px`,
114
- borderTopWidth: `${_constants.ROWS_BORDER_SIZE}px`,
113
+ borderBottomWidth: "".concat(_constants.ROWS_BORDER_SIZE, "px"),
114
+ borderTopWidth: "".concat(_constants.ROWS_BORDER_SIZE, "px"),
115
115
  borderLeftWidth: 0,
116
116
  borderRightWidth: 0
117
117
  },
@@ -178,11 +178,11 @@ const getColumnsSizes = _ref3 => {
178
178
  } = _ref5;
179
179
  const columnSize = _constants.COLUMN_SIZES[size] || _constants.COLUMN_SIZES.medium;
180
180
  const finalSize = columnSize * 100 / (position === _constants.COLUMN_POSITION.LEFT ? leftColumnsSize : position === _constants.COLUMN_POSITION.RIGHT ? rightColumnsSize : secondaryColumnsSize);
181
- columnSizes[key] = `${finalSize}%`;
181
+ columnSizes[key] = "".concat(finalSize, "%");
182
182
  });
183
- columnSizes.leftColumnsSize = `${leftColumnsSize * 100 / columnsFullSize}%`;
184
- columnSizes.secondaryColumnsSize = `${secondaryColumnsSize * 100 / columnsFullSize}%`;
185
- columnSizes.rightColumnsSize = `${rightColumnsSize * 100 / columnsFullSize}%`;
183
+ columnSizes.leftColumnsSize = "".concat(leftColumnsSize * 100 / columnsFullSize, "%");
184
+ columnSizes.secondaryColumnsSize = "".concat(secondaryColumnsSize * 100 / columnsFullSize, "%");
185
+ columnSizes.rightColumnsSize = "".concat(rightColumnsSize * 100 / columnsFullSize, "%");
186
186
  } else {
187
187
  columns.forEach(_ref6 => {
188
188
  let {
@@ -36,7 +36,7 @@ const TooltipTab = _ref => {
36
36
  content: tooltip,
37
37
  tippyProps: tippyProps
38
38
  }, /*#__PURE__*/_react.default.createElement("button", _extends({
39
- className: `${className} ${_stylesModule.default.button}`,
39
+ className: "".concat(className, " ").concat(_stylesModule.default.button),
40
40
  ref: buttonRef,
41
41
  onClick: handleClick
42
42
  }, props), children));
@@ -45,11 +45,11 @@ class UTTabs extends _react.PureComponent {
45
45
  value: this.props.value,
46
46
  onChange: this.handleChange,
47
47
  classes: {
48
- root: `${styles.tabsRoot} ${classes.tabsRoot}`,
48
+ root: "".concat(styles.tabsRoot, " ").concat(classes.tabsRoot),
49
49
  flexContainer: classes.flexContainer
50
50
  },
51
51
  TabIndicatorProps: {
52
- className: `${styles.indicator} ${classes.indicator}`,
52
+ className: "".concat(styles.indicator, " ").concat(classes.indicator),
53
53
  children: /*#__PURE__*/_react.default.createElement("div", null)
54
54
  }
55
55
  }, tabsProps), options.map(opt => {
@@ -61,10 +61,10 @@ class UTTabs extends _react.PureComponent {
61
61
  }))) : _constants.DEFAULT_TAB_COMPONENT;
62
62
  return /*#__PURE__*/_react.default.createElement(_Tab.default, _extends({
63
63
  classes: {
64
- root: `${styles.tabRoot} ${classes.tabRoot}`,
65
- selected: `${styles.selected} ${classes.selected}`,
66
- textColorPrimary: `${styles.textColorPrimary} ${classes.textColorPrimary}`,
67
- wrapper: `${styles.label} ${classes.label}`
64
+ root: "".concat(styles.tabRoot, " ").concat(classes.tabRoot),
65
+ selected: "".concat(styles.selected, " ").concat(classes.selected),
66
+ textColorPrimary: "".concat(styles.textColorPrimary, " ").concat(classes.textColorPrimary),
67
+ wrapper: "".concat(styles.label, " ").concat(classes.label)
68
68
  },
69
69
  key: opt.value,
70
70
  value: opt.value,
@@ -74,7 +74,7 @@ class UTTabs extends _react.PureComponent {
74
74
  component: tabComponent
75
75
  }, tabProps));
76
76
  }), !(0, _array.isEmpty)(badges) && badges.map(badge => /*#__PURE__*/_react.default.createElement("div", {
77
- className: `${badge.styles} ${!badge.show && _stylesModule.default.hiddenBadge}`
77
+ className: "".concat(badge.styles, " ").concat(!badge.show && _stylesModule.default.hiddenBadge)
78
78
  })));
79
79
  }
80
80
  }
@@ -39,7 +39,7 @@ const retrieveStyle = _ref => {
39
39
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'backgroundColor'], 'transparent'),
40
40
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'borderRadius'], 0),
41
41
  opacity: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'opacity']),
42
- transition: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'transition'], `all 350ms cubic-bezier(0.4, 0, 0.2, 1) 0ms`),
42
+ transition: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'transition'], "all 350ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"),
43
43
  willChange: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'willChange']),
44
44
  '&:hover:not($baseSelected)': {
45
45
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', '&:hover:not($baseSelected)', 'backgroundColor'], 'transparent'),
@@ -63,7 +63,7 @@ const retrieveStyle = _ref => {
63
63
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'backgroundColor'], 'transparent'),
64
64
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'borderRadius'], 0),
65
65
  opacity: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'opacity']),
66
- transition: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'transition'], `all 350ms cubic-bezier(0.4, 0, 0.2, 1) 0ms`),
66
+ transition: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'transition'], "all 350ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"),
67
67
  willChange: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'willChange']),
68
68
  '&:hover:not($secondarySelected)': {
69
69
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', '&:hover:not($secondarySelected)', 'backgroundColor'], 'transparent'),
@@ -42,7 +42,7 @@ const UTTextArea = _ref => {
42
42
  } = classNames;
43
43
  const {
44
44
  character_count_limit: characterCountLimit
45
- } = field?.configuration || {};
45
+ } = (field === null || field === void 0 ? void 0 : field.configuration) || {};
46
46
  const handleOnChange = _ref2 => {
47
47
  let {
48
48
  target
@@ -54,14 +54,14 @@ const UTTextArea = _ref => {
54
54
  }, /*#__PURE__*/_react.default.createElement("div", {
55
55
  className: _stylesModule.default.titleContainer
56
56
  }, /*#__PURE__*/_react.default.createElement(_UTLabel.default, {
57
- className: `${label} ${_stylesModule.default.label}`,
57
+ className: "".concat(label, " ").concat(_stylesModule.default.label),
58
58
  withMarkdown: true
59
59
  }, title)), /*#__PURE__*/_react.default.createElement("div", {
60
- className: `${_stylesModule.default.textAreaContainer} ${textAreaContainer}`
60
+ className: "".concat(_stylesModule.default.textAreaContainer, " ").concat(textAreaContainer)
61
61
  }, /*#__PURE__*/_react.default.createElement("div", {
62
62
  className: _stylesModule.default.componentWrapper
63
63
  }, /*#__PURE__*/_react.default.createElement("textarea", _extends({}, inputProps, {
64
- className: `${_stylesModule.default.textarea} ${textarea} ${classes.textarea}`,
64
+ className: "".concat(_stylesModule.default.textarea, " ").concat(textarea, " ").concat(classes.textarea),
65
65
  onChange: handleOnChange,
66
66
  onBlur: onBlur,
67
67
  onFocus: onFocus,
@@ -71,11 +71,11 @@ const UTTextArea = _ref => {
71
71
  })), characterCountLimit && /*#__PURE__*/_react.default.createElement(_UTLabel.default, {
72
72
  className: _stylesModule.default.characterCount,
73
73
  colorTheme: value.length === characterCountLimit ? 'error' : value.length >= characterCountLimit * _constants.LIMIT_WARNING_FACTOR ? 'warning' : 'dark'
74
- }, `${value.length}/${characterCountLimit}`)), tooltip && /*#__PURE__*/_react.default.createElement(_UTTooltip.default, {
74
+ }, "".concat(value.length, "/").concat(characterCountLimit))), tooltip && /*#__PURE__*/_react.default.createElement(_UTTooltip.default, {
75
75
  content: tooltip,
76
76
  tippyProps: _constants.tippyProps
77
77
  }, /*#__PURE__*/_react.default.createElement("div", null, HelpIcon || /*#__PURE__*/_react.default.createElement(_HelpOutline.default, {
78
- className: `${icon} ${classes.icon}`
78
+ className: "".concat(icon, " ").concat(classes.icon)
79
79
  })))));
80
80
  };
81
81
  UTTextArea.propTypes = {
@@ -7,40 +7,41 @@ exports.retrieveStyle = void 0;
7
7
  var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
8
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
9
  const retrieveStyle = _ref => {
10
+ var _theme$UTTextArea, _theme$UTTextArea2, _theme$UTTextArea3, _theme$UTTextArea4, _theme$Fonts, _theme$UTTextArea5, _theme$UTTextArea6, _theme$UTTextArea7, _theme$UTTextArea8, _theme$UTTextArea9, _theme$UTTextArea10, _theme$UTTextArea11, _theme$UTTextArea12, _theme$UTTextArea13, _theme$UTTextArea14, _theme$UTTextArea15, _theme$UTTextArea16, _theme$UTTextArea17, _theme$UTTextArea18, _theme$UTTextArea19, _theme$UTTextArea20;
10
11
  let {
11
12
  theme
12
13
  } = _ref;
13
14
  return {
14
15
  textarea: {
15
- background: theme?.UTTextArea?.textarea?.background,
16
- border: theme?.UTTextArea?.textarea?.border,
17
- borderRadius: theme?.UTTextArea?.textarea?.borderRadius,
18
- color: theme?.UTTextArea?.textarea?.color || _colorsModule.default.black,
19
- fontFamily: theme?.Fonts?.fontFamily,
20
- fontSize: theme?.UTTextArea?.textarea?.fontSize || 14,
21
- fontWeight: theme?.UTTextArea?.textarea?.fontWeight,
22
- height: theme?.UTTextArea?.textarea?.height,
23
- padding: theme?.UTTextArea?.textarea?.padding,
24
- resize: theme?.UTTextArea?.textarea?.resize || 'vertical',
16
+ background: theme === null || theme === void 0 || (_theme$UTTextArea = theme.UTTextArea) === null || _theme$UTTextArea === void 0 || (_theme$UTTextArea = _theme$UTTextArea.textarea) === null || _theme$UTTextArea === void 0 ? void 0 : _theme$UTTextArea.background,
17
+ border: theme === null || theme === void 0 || (_theme$UTTextArea2 = theme.UTTextArea) === null || _theme$UTTextArea2 === void 0 || (_theme$UTTextArea2 = _theme$UTTextArea2.textarea) === null || _theme$UTTextArea2 === void 0 ? void 0 : _theme$UTTextArea2.border,
18
+ borderRadius: theme === null || theme === void 0 || (_theme$UTTextArea3 = theme.UTTextArea) === null || _theme$UTTextArea3 === void 0 || (_theme$UTTextArea3 = _theme$UTTextArea3.textarea) === null || _theme$UTTextArea3 === void 0 ? void 0 : _theme$UTTextArea3.borderRadius,
19
+ color: (theme === null || theme === void 0 || (_theme$UTTextArea4 = theme.UTTextArea) === null || _theme$UTTextArea4 === void 0 || (_theme$UTTextArea4 = _theme$UTTextArea4.textarea) === null || _theme$UTTextArea4 === void 0 ? void 0 : _theme$UTTextArea4.color) || _colorsModule.default.black,
20
+ fontFamily: theme === null || theme === void 0 || (_theme$Fonts = theme.Fonts) === null || _theme$Fonts === void 0 ? void 0 : _theme$Fonts.fontFamily,
21
+ fontSize: (theme === null || theme === void 0 || (_theme$UTTextArea5 = theme.UTTextArea) === null || _theme$UTTextArea5 === void 0 || (_theme$UTTextArea5 = _theme$UTTextArea5.textarea) === null || _theme$UTTextArea5 === void 0 ? void 0 : _theme$UTTextArea5.fontSize) || 14,
22
+ fontWeight: theme === null || theme === void 0 || (_theme$UTTextArea6 = theme.UTTextArea) === null || _theme$UTTextArea6 === void 0 || (_theme$UTTextArea6 = _theme$UTTextArea6.textarea) === null || _theme$UTTextArea6 === void 0 ? void 0 : _theme$UTTextArea6.fontWeight,
23
+ height: theme === null || theme === void 0 || (_theme$UTTextArea7 = theme.UTTextArea) === null || _theme$UTTextArea7 === void 0 || (_theme$UTTextArea7 = _theme$UTTextArea7.textarea) === null || _theme$UTTextArea7 === void 0 ? void 0 : _theme$UTTextArea7.height,
24
+ padding: theme === null || theme === void 0 || (_theme$UTTextArea8 = theme.UTTextArea) === null || _theme$UTTextArea8 === void 0 || (_theme$UTTextArea8 = _theme$UTTextArea8.textarea) === null || _theme$UTTextArea8 === void 0 ? void 0 : _theme$UTTextArea8.padding,
25
+ resize: (theme === null || theme === void 0 || (_theme$UTTextArea9 = theme.UTTextArea) === null || _theme$UTTextArea9 === void 0 || (_theme$UTTextArea9 = _theme$UTTextArea9.textarea) === null || _theme$UTTextArea9 === void 0 ? void 0 : _theme$UTTextArea9.resize) || 'vertical',
25
26
  '&:hover': {
26
- background: theme?.UTTextArea?.textarea?.hover?.background,
27
- border: theme?.UTTextArea?.textarea?.hover?.border,
28
- color: theme?.UTTextArea?.textarea?.hover?.color
27
+ background: theme === null || theme === void 0 || (_theme$UTTextArea10 = theme.UTTextArea) === null || _theme$UTTextArea10 === void 0 || (_theme$UTTextArea10 = _theme$UTTextArea10.textarea) === null || _theme$UTTextArea10 === void 0 || (_theme$UTTextArea10 = _theme$UTTextArea10.hover) === null || _theme$UTTextArea10 === void 0 ? void 0 : _theme$UTTextArea10.background,
28
+ border: theme === null || theme === void 0 || (_theme$UTTextArea11 = theme.UTTextArea) === null || _theme$UTTextArea11 === void 0 || (_theme$UTTextArea11 = _theme$UTTextArea11.textarea) === null || _theme$UTTextArea11 === void 0 || (_theme$UTTextArea11 = _theme$UTTextArea11.hover) === null || _theme$UTTextArea11 === void 0 ? void 0 : _theme$UTTextArea11.border,
29
+ color: theme === null || theme === void 0 || (_theme$UTTextArea12 = theme.UTTextArea) === null || _theme$UTTextArea12 === void 0 || (_theme$UTTextArea12 = _theme$UTTextArea12.textarea) === null || _theme$UTTextArea12 === void 0 || (_theme$UTTextArea12 = _theme$UTTextArea12.hover) === null || _theme$UTTextArea12 === void 0 ? void 0 : _theme$UTTextArea12.color
29
30
  },
30
31
  '&:focus, &focus-visible': {
31
- background: theme?.UTTextArea?.textarea?.focus?.background,
32
- border: theme?.UTTextArea?.textarea?.focus?.border,
33
- color: theme?.UTTextArea?.textarea?.focus?.color,
34
- outline: theme?.UTTextArea?.textarea?.focus?.outline
32
+ background: theme === null || theme === void 0 || (_theme$UTTextArea13 = theme.UTTextArea) === null || _theme$UTTextArea13 === void 0 || (_theme$UTTextArea13 = _theme$UTTextArea13.textarea) === null || _theme$UTTextArea13 === void 0 || (_theme$UTTextArea13 = _theme$UTTextArea13.focus) === null || _theme$UTTextArea13 === void 0 ? void 0 : _theme$UTTextArea13.background,
33
+ border: theme === null || theme === void 0 || (_theme$UTTextArea14 = theme.UTTextArea) === null || _theme$UTTextArea14 === void 0 || (_theme$UTTextArea14 = _theme$UTTextArea14.textarea) === null || _theme$UTTextArea14 === void 0 || (_theme$UTTextArea14 = _theme$UTTextArea14.focus) === null || _theme$UTTextArea14 === void 0 ? void 0 : _theme$UTTextArea14.border,
34
+ color: theme === null || theme === void 0 || (_theme$UTTextArea15 = theme.UTTextArea) === null || _theme$UTTextArea15 === void 0 || (_theme$UTTextArea15 = _theme$UTTextArea15.textarea) === null || _theme$UTTextArea15 === void 0 || (_theme$UTTextArea15 = _theme$UTTextArea15.focus) === null || _theme$UTTextArea15 === void 0 ? void 0 : _theme$UTTextArea15.color,
35
+ outline: theme === null || theme === void 0 || (_theme$UTTextArea16 = theme.UTTextArea) === null || _theme$UTTextArea16 === void 0 || (_theme$UTTextArea16 = _theme$UTTextArea16.textarea) === null || _theme$UTTextArea16 === void 0 || (_theme$UTTextArea16 = _theme$UTTextArea16.focus) === null || _theme$UTTextArea16 === void 0 ? void 0 : _theme$UTTextArea16.outline
35
36
  },
36
37
  '&:disabled': {
37
- background: theme?.UTTextArea?.textarea?.disabled?.background,
38
- border: theme?.UTTextArea?.textarea?.disabled?.border,
39
- color: theme?.UTTextArea?.textarea?.disabled?.color
38
+ background: theme === null || theme === void 0 || (_theme$UTTextArea17 = theme.UTTextArea) === null || _theme$UTTextArea17 === void 0 || (_theme$UTTextArea17 = _theme$UTTextArea17.textarea) === null || _theme$UTTextArea17 === void 0 || (_theme$UTTextArea17 = _theme$UTTextArea17.disabled) === null || _theme$UTTextArea17 === void 0 ? void 0 : _theme$UTTextArea17.background,
39
+ border: theme === null || theme === void 0 || (_theme$UTTextArea18 = theme.UTTextArea) === null || _theme$UTTextArea18 === void 0 || (_theme$UTTextArea18 = _theme$UTTextArea18.textarea) === null || _theme$UTTextArea18 === void 0 || (_theme$UTTextArea18 = _theme$UTTextArea18.disabled) === null || _theme$UTTextArea18 === void 0 ? void 0 : _theme$UTTextArea18.border,
40
+ color: theme === null || theme === void 0 || (_theme$UTTextArea19 = theme.UTTextArea) === null || _theme$UTTextArea19 === void 0 || (_theme$UTTextArea19 = _theme$UTTextArea19.textarea) === null || _theme$UTTextArea19 === void 0 || (_theme$UTTextArea19 = _theme$UTTextArea19.disabled) === null || _theme$UTTextArea19 === void 0 ? void 0 : _theme$UTTextArea19.color
40
41
  }
41
42
  },
42
43
  icon: {
43
- color: theme?.UTTextArea?.icon?.color
44
+ color: theme === null || theme === void 0 || (_theme$UTTextArea20 = theme.UTTextArea) === null || _theme$UTTextArea20 === void 0 || (_theme$UTTextArea20 = _theme$UTTextArea20.icon) === null || _theme$UTTextArea20 === void 0 ? void 0 : _theme$UTTextArea20.color
44
45
  }
45
46
  };
46
47
  };
@@ -88,7 +88,7 @@ class UTTextInput extends _react.PureComponent {
88
88
  outsideIcon,
89
89
  adornment,
90
90
  helperText
91
- } = field?.configuration || {};
91
+ } = (field === null || field === void 0 ? void 0 : field.configuration) || {};
92
92
 
93
93
  // TODO. These props were forwarded to the inner dom element and they were
94
94
  // causing errors and warnings. I quit them from the "..." spread to TextField.
@@ -110,7 +110,7 @@ class UTTextInput extends _react.PureComponent {
110
110
  }) : adornment;
111
111
  const value = inputObjectKey ? input.value[inputObjectKey] : input.value;
112
112
  const errorMessage = (0, _form.shouldShowErrors)(meta) && meta.error || captionLabel || '';
113
- const fieldId = id || field?.id ? `${id || field.id}` : undefined;
113
+ const fieldId = id || field !== null && field !== void 0 && field.id ? "".concat(id || field.id) : undefined;
114
114
  const TextInput = /*#__PURE__*/_react.default.createElement(_TextField.default, _extends({
115
115
  id: fieldId,
116
116
  placeholder: placeholder,
@@ -143,15 +143,11 @@ class UTTextInput extends _react.PureComponent {
143
143
  id: fieldId,
144
144
  endAdornment: endAction && /*#__PURE__*/_react.default.createElement(_InputAdornment.default, {
145
145
  position: "end",
146
- className: `${adornmentInside && _stylesModule.default.adornmentInside}`
146
+ className: "".concat(adornmentInside && _stylesModule.default.adornmentInside)
147
147
  }, endAction),
148
148
  type: type === _constants.INPUT_TYPES.PASSWORD ? !this.state.visible ? _constants.INPUT_TYPES.PASSWORD : _constants.INPUT_TYPES.TEXT : type || _constants.INPUT_TYPES.TEXT,
149
149
  classes: {
150
- input: `
151
- ${bigInput && classes.bigInput}
152
- ${type === _constants.INPUT_TYPES.NUMBER && _stylesModule.default.numberType}
153
- ${inputClassName}
154
- `
150
+ input: "\n ".concat(bigInput && classes.bigInput, "\n ").concat(type === _constants.INPUT_TYPES.NUMBER && _stylesModule.default.numberType, "\n ").concat(inputClassName, "\n ")
155
151
  }
156
152
  },
157
153
  InputLabelProps: {
@@ -162,14 +158,14 @@ class UTTextInput extends _react.PureComponent {
162
158
  }
163
159
  }, textFieldPropsToForward));
164
160
  return /*#__PURE__*/_react.default.createElement("div", {
165
- className: `${classes.container} ${containerClassName} ${tooltip && _stylesModule.default.containerWithTooltip}`
161
+ className: "".concat(classes.container, " ").concat(containerClassName, " ").concat(tooltip && _stylesModule.default.containerWithTooltip)
166
162
  }, tooltip ? /*#__PURE__*/_react.default.createElement(_react.Fragment, null, TextInput, /*#__PURE__*/_react.default.createElement(_UTTooltip.default, {
167
163
  tippyProps: tippyProps,
168
164
  content: tooltip
169
165
  }, /*#__PURE__*/_react.default.createElement("span", {
170
166
  className: _stylesModule.default.tooltipIconContainer
171
167
  }, /*#__PURE__*/_react.default.createElement(_HelpOutline.default, {
172
- className: `${classes.tooltipIcon} ${_stylesModule.default.tooltipIcon}`
168
+ className: "".concat(classes.tooltipIcon, " ").concat(_stylesModule.default.tooltipIcon)
173
169
  })))) : /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/(0, _react.isValidElement)(outsideIcon) && /*#__PURE__*/_react.default.createElement("div", {
174
170
  className: _stylesModule.default.iconContainer
175
171
  }, outsideIcon), TextInput));