@widergy/energy-ui 2.6.1 → 2.7.1

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 (65) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/Loading/styles.module.scss +1 -1
  3. package/dist/components/Loading/theme.js +3 -3
  4. package/dist/components/UTAlert/theme.js +5 -5
  5. package/dist/components/UTAttachment/index.js +9 -14
  6. package/dist/components/UTAttachment/styles.module.scss +1 -1
  7. package/dist/components/UTAttachment/utils.js +14 -21
  8. package/dist/components/UTAutocomplete/theme.js +15 -15
  9. package/dist/components/UTButton/constants.js +9 -2
  10. package/dist/components/UTButton/styles.module.scss +1 -1
  11. package/dist/components/UTButton/theme.js +20 -12
  12. package/dist/components/UTCard/theme.js +4 -4
  13. package/dist/components/UTCarousel/index.js +2 -2
  14. package/dist/components/UTCarousel/theme.js +14 -14
  15. package/dist/components/UTCheckList/theme.js +7 -7
  16. package/dist/components/UTCheckbox/theme.js +9 -9
  17. package/dist/components/UTConsumptionBar/components/ConsumptionBarIndicator/styles.module.scss +2 -2
  18. package/dist/components/UTConsumptionBar/styles.module.scss +3 -3
  19. package/dist/components/UTCuit/theme.js +10 -10
  20. package/dist/components/UTDatePicker/theme.js +32 -32
  21. package/dist/components/UTDialog/theme.js +3 -3
  22. package/dist/components/UTEmojiPicker/styles.module.scss +2 -2
  23. package/dist/components/UTEmojiPicker/theme.js +2 -2
  24. package/dist/components/UTFileInput/styles.module.scss +2 -2
  25. package/dist/components/UTImageRadio/components/ImageRadioCard/styles.module.scss +2 -2
  26. package/dist/components/UTImageRadio/theme.js +7 -7
  27. package/dist/components/UTLabel/theme.js +2 -2
  28. package/dist/components/UTMap/components/GoogleMaps/constants.js +3 -3
  29. package/dist/components/UTModal/index.js +1 -1
  30. package/dist/components/UTModal/theme.js +13 -2
  31. package/dist/components/UTPagination/theme.js +3 -3
  32. package/dist/components/UTPhoneInput/styles.module.scss +2 -2
  33. package/dist/components/UTPhoneInput/theme.js +17 -17
  34. package/dist/components/UTProgressBar/theme.js +3 -3
  35. package/dist/components/UTRadioGroup/theme.js +13 -13
  36. package/dist/components/UTRating/components/Circle/styles.module.scss +4 -4
  37. package/dist/components/UTRating/components/Star/styles.module.scss +3 -3
  38. package/dist/components/UTRating/index.js +2 -2
  39. package/dist/components/UTRating/styles.module.scss +1 -1
  40. package/dist/components/UTRating/theme.js +2 -2
  41. package/dist/components/UTSelect/stylesJS.js +2 -2
  42. package/dist/components/UTSelect/theme.js +21 -21
  43. package/dist/components/UTSidebar/styles.module.scss +1 -1
  44. package/dist/components/UTSidebar/theme.js +11 -11
  45. package/dist/components/UTSkeleton/styles.module.scss +1 -1
  46. package/dist/components/UTSwitch/theme.js +15 -15
  47. package/dist/components/UTTable/components/ActionIcons/styles.module.scss +1 -1
  48. package/dist/components/UTTable/components/TableRow/styles.module.scss +1 -1
  49. package/dist/components/UTTable/styles.module.scss +2 -2
  50. package/dist/components/UTTable/theme.js +17 -17
  51. package/dist/components/UTTabs/theme.js +7 -7
  52. package/dist/components/UTTextArea/theme.js +2 -2
  53. package/dist/components/UTTextInput/styles.module.scss +1 -1
  54. package/dist/components/UTTextInput/theme.js +16 -16
  55. package/dist/components/UTToggle/theme.js +3 -3
  56. package/dist/components/UTTooltip/styles.module.scss +1 -1
  57. package/dist/components/UTTopbar/theme.js +2 -2
  58. package/dist/components/UTWorkflowContainer/theme.js +3 -3
  59. package/dist/utils/shadowUtils.js +1 -1
  60. package/package.json +4 -4
  61. package/dist/scss/variables/_fontFamilies.scss +0 -1
  62. /package/dist/scss/variables/{_colors.scss → colors.module.scss} +0 -0
  63. /package/dist/scss/variables/{_fontSizes.scss → fontSizes.module.scss} +0 -0
  64. /package/dist/scss/variables/{_mediaQueries.scss → mediaQueries.module.scss} +0 -0
  65. /package/dist/scss/variables/{_sizes.scss → sizes.module.scss} +0 -0
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
7
  var _seamlessImmutable = require("seamless-immutable");
8
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
8
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  var retrieveStyle = function retrieveStyle(_ref) {
11
11
  var theme = _ref.theme;
@@ -29,16 +29,16 @@ var retrieveStyle = function retrieveStyle(_ref) {
29
29
  padding: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'container', 'padding']),
30
30
  margin: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'container', 'margin']),
31
31
  '&:hover > $sliderContainer > $sliderBack': {
32
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'hover', 'backgroundColor'], _colors.default.switchGrayHover)
32
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'hover', 'backgroundColor'], _colorsModule.default.switchGrayHover)
33
33
  },
34
34
  '&:hover > $sliderContainer > $sliderHover': {
35
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'hover', 'backgroundColor'], _colors.default.switchHover)
35
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'hover', 'backgroundColor'], _colorsModule.default.switchHover)
36
36
  },
37
37
  '&:hover > $sliderContainer > $slider': {
38
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'hover', 'backgroundColor'], (0, _seamlessImmutable.getIn)(['UTSwitch', 'slider', 'backgroundColor'], _colors.default.switchGrayHover))
38
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'hover', 'backgroundColor'], (0, _seamlessImmutable.getIn)(['UTSwitch', 'slider', 'backgroundColor'], _colorsModule.default.switchGrayHover))
39
39
  },
40
40
  '&:Active > $sliderContainer > $sliderHover': {
41
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'active', 'backgroundColor'], _colors.default.switchActive)
41
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'active', 'backgroundColor'], _colorsModule.default.switchActive)
42
42
  }
43
43
  },
44
44
  textContainer: {
@@ -53,14 +53,14 @@ var retrieveStyle = function retrieveStyle(_ref) {
53
53
  },
54
54
  checkedText: {
55
55
  opacity: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'checkedText', 'opacity'], '0'),
56
- color: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'checkedText', 'color'], _colors.default.white),
56
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'checkedText', 'color'], _colorsModule.default.white),
57
57
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'checkedText', 'fontSize'], (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'small'])),
58
58
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'checkedText', 'fontWeight'], 500)
59
59
  },
60
60
  uncheckedText: {
61
61
  transition: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'uncheckedText', 'transition'], 'all 0.3s ease'),
62
62
  opacity: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'uncheckedText', 'opacity'], '1'),
63
- color: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'uncheckedText', 'color'], _colors.default.gray2),
63
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'uncheckedText', 'color'], _colorsModule.default.gray2),
64
64
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'uncheckedText', 'fontSize'], (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'small'])),
65
65
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'uncheckedText', 'fontWeight'], 500)
66
66
  },
@@ -76,7 +76,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
76
76
  pointerEvents: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'disabled', 'pointerEvents'], 'none')
77
77
  },
78
78
  slider: {
79
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'backgroundColor'], _colors.default.switchGray),
79
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'backgroundColor'], _colorsModule.default.switchGray),
80
80
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'borderRadius'], '26px'),
81
81
  height: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'height'], '18px'),
82
82
  width: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'width'], '18px'),
@@ -87,7 +87,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
87
87
  transition: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'transition'], 'all 0.3s ease-in-out')
88
88
  },
89
89
  sliderHover: {
90
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'backgroundColor'], _colors.default.transparent),
90
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'backgroundColor'], _colorsModule.default.transparent),
91
91
  transition: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'transition'], 'all 0.3s ease-in-out'),
92
92
  position: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'position'], 'absolute'),
93
93
  width: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'width'], '40px'),
@@ -96,9 +96,9 @@ var retrieveStyle = function retrieveStyle(_ref) {
96
96
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderHover', 'borderRadius'], '50%')
97
97
  },
98
98
  sliderBack: {
99
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'backgroundColor'], _colors.default.white),
99
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'backgroundColor'], _colorsModule.default.white),
100
100
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'borderRadius'], '26px'),
101
- border: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'border'], "1px solid ".concat(_colors.default.switchGray)),
101
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'border'], "1px solid ".concat(_colorsModule.default.switchGray)),
102
102
  height: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'height'], '100%'),
103
103
  width: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'width'], '100%'),
104
104
  position: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'position'], 'absolute'),
@@ -111,11 +111,11 @@ var retrieveStyle = function retrieveStyle(_ref) {
111
111
  width: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'input', 'width'], '0'),
112
112
  position: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'input', 'position'], 'absolute'),
113
113
  '&:checked ~ $sliderContainer > $sliderBack': {
114
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'backgroundColor'], _colors.default.blue),
115
- border: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'border'], "1px solid ".concat(_colors.default.blue))
114
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'backgroundColor'], _colorsModule.default.blue),
115
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'border'], "1px solid ".concat(_colorsModule.default.blue))
116
116
  },
117
117
  '&:checked ~ $sliderContainer:hover > $sliderBack': {
118
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'hover', 'backgroundColor'], _colors.default.darkBlue),
118
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'hover', 'backgroundColor'], _colorsModule.default.darkBlue),
119
119
  border: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'sliderBack', 'checkedSlider', 'hover', 'border'])
120
120
  },
121
121
  '&:checked ~ $sliderContainer > $sliderHover': {
@@ -123,7 +123,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
123
123
  },
124
124
  '&:checked ~ $sliderContainer > $slider': {
125
125
  transform: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'checkedSlider', 'transform'], 'translateX(27px)'),
126
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'checkedSlider', 'backgroundColor'], _colors.default.switchGray)
126
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'slider', 'checkedSlider', 'backgroundColor'], _colorsModule.default.switchGray)
127
127
  },
128
128
  '&:checked ~ $sliderContainer > $textContainer > $checkedText': {
129
129
  transition: (0, _seamlessImmutable.getIn)(theme, ['UTSwitch', 'checkedText', 'checked', 'transition'], 'all 0.3s ease'),
@@ -1,4 +1,4 @@
1
- @import '../../../../scss//variables/colors';
1
+ @import '../../../../scss/variables/colors.module.scss';
2
2
 
3
3
  .iconButton {
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- @import '../../../../scss/variables/mediaQueries';
1
+ @import '../../../../scss/variables/mediaQueries.module.scss';
2
2
 
3
3
  $selection-element-size: 42px;
4
4
 
@@ -1,5 +1,5 @@
1
- @import '../../scss/variables/_colors.scss';
2
- @import '../../scss/variables/mediaQueries';
1
+ @import '../../scss/variables/colors.module.scss';
2
+ @import '../../scss/variables/mediaQueries.module.scss';
3
3
 
4
4
  .table {
5
5
  position: relative;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
7
  var _seamlessImmutable = require("seamless-immutable");
8
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
8
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
9
9
  var _classesUtils = require("../../utils/classesUtils");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -21,7 +21,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
21
21
  fontFamily: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'table', 'fontFamily'], (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'fontFamily']))
22
22
  },
23
23
  header: {
24
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colors.default.white),
24
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colorsModule.default.white),
25
25
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'borderRadius']),
26
26
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'borderColor']),
27
27
  borderBottomStyle: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'borderStyle'], 'solid'),
@@ -93,7 +93,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
93
93
  boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedHeaderRowLeft', 'boxShadow'])
94
94
  },
95
95
  fixedHeaderRowRight: {
96
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedHeaderRowRight', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colors.default.white)),
96
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedHeaderRowRight', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colorsModule.default.white)),
97
97
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'borderColor']),
98
98
  borderLeftColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'fixedHeaderDivisorColor']),
99
99
  borderBottomRightRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'borderRadius']),
@@ -102,7 +102,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
102
102
  boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedHeaderRowRight', 'boxShadow'])
103
103
  },
104
104
  row: {
105
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colors.default.white),
105
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colorsModule.default.white),
106
106
  boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'boxShadow']),
107
107
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderRadius']),
108
108
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderColor']),
@@ -176,7 +176,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
176
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')
177
177
  },
178
178
  categoryNameCell: {
179
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'categoryNameCell', 'backgroundColor'], _colors.default.white),
179
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'categoryNameCell', 'backgroundColor'], _colorsModule.default.white),
180
180
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'categoryNameCell', 'fontSize'], (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'medium'])),
181
181
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'categoryNameCell', 'fontWeight'])
182
182
  },
@@ -187,7 +187,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
187
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"))
188
188
  },
189
189
  fixedRowLeft: {
190
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowLeft', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colors.default.white)),
190
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowLeft', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colorsModule.default.white)),
191
191
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderColor']),
192
192
  borderBottomLeftRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderRadius']),
193
193
  borderTopLeftRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderRadius']),
@@ -205,7 +205,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
205
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"))
206
206
  },
207
207
  fixedRowRight: {
208
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowRight', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colors.default.white)),
208
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'fixedRowRight', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colorsModule.default.white)),
209
209
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderColor']),
210
210
  borderBottomRightRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderRadius']),
211
211
  borderTopRightRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderRadius']),
@@ -221,10 +221,10 @@ var retrieveStyle = function retrieveStyle(_ref) {
221
221
  borderBottomColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'selectedRow', 'borderBottomColor'])
222
222
  },
223
223
  navigationButton: {
224
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'backgroundColor'], _colors.default.lightBlue),
224
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'backgroundColor'], _colorsModule.default.lightBlue),
225
225
  border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'border']),
226
226
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'borderRadius']),
227
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'color'], _colors.default.white),
227
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'color'], _colorsModule.default.white),
228
228
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'fontSize'], (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'medium'])),
229
229
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'fontWeight']),
230
230
  height: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'navigationButton', 'height'], '30px'),
@@ -261,13 +261,13 @@ var retrieveStyle = function retrieveStyle(_ref) {
261
261
  transition: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButton', 'transition'], 'all .4s'),
262
262
  width: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButton', 'width'], '30px'),
263
263
  '&:hover': {
264
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButton', 'hover', 'backgroundColor'], _colors.default.disabledGray),
264
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButton', 'hover', 'backgroundColor'], _colorsModule.default.disabledGray),
265
265
  color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButton', 'hover', 'color']),
266
266
  border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButton', 'hover', 'border'])
267
267
  }
268
268
  },
269
269
  pageButtonSelected: {
270
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButtonSelected', 'backgroundColor'], _colors.default.disabledGray),
270
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButtonSelected', 'backgroundColor'], _colorsModule.default.disabledGray),
271
271
  border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButtonSelected', 'border']),
272
272
  color: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButtonSelected', 'color']),
273
273
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageButtonSelected', 'fontSize']),
@@ -313,14 +313,14 @@ var retrieveStyle = function retrieveStyle(_ref) {
313
313
  },
314
314
  pageSizeSelectContainer: {
315
315
  '& fieldset': {
316
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'border'], "1px solid ".concat(_colors.default.gray3))
316
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'border'], "1px solid ".concat(_colorsModule.default.gray3))
317
317
  },
318
318
  '&:hover fieldset': {
319
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'hover', 'border'], "1px solid ".concat(_colors.default.gray2))
319
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'pageSizeSelect', 'hover', 'border'], "1px solid ".concat(_colorsModule.default.gray2))
320
320
  }
321
321
  },
322
322
  noResultsContainer: {
323
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'noResultsContainer', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colors.default.gray3)),
323
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'noResultsContainer', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colorsModule.default.gray3)),
324
324
  border: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'noResultsContainer', 'border']),
325
325
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'noResultsContainer', 'borderRadius'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'borderRadius'])),
326
326
  height: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'noResultsContainer', 'height'], 200)
@@ -337,7 +337,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
337
337
  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)
338
338
  },
339
339
  tableLoading: {
340
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'checkbox', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colors.default.white))
340
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'checkbox', 'backgroundColor'], (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'header', 'backgroundColor'], _colorsModule.default.white))
341
341
  },
342
342
  headerDecoratorSelected: {
343
343
  '&:before': {
@@ -346,11 +346,11 @@ var retrieveStyle = function retrieveStyle(_ref) {
346
346
  },
347
347
  headerDecoratorUnselected: {
348
348
  '&:before': {
349
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'headerDecorator', 'unSelected', 'color'], _colors.default.gray3)
349
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'headerDecorator', 'unSelected', 'color'], _colorsModule.default.gray3)
350
350
  }
351
351
  },
352
352
  actionLoading: {
353
- color: (0, _seamlessImmutable.getIn)(theme, ['Loading', 'base', 'color'], _colors.default.loadingBase)
353
+ color: (0, _seamlessImmutable.getIn)(theme, ['Loading', 'base', 'color'], _colorsModule.default.loadingBase)
354
354
  }
355
355
  };
356
356
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
7
  var _seamlessImmutable = require("seamless-immutable");
8
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
8
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  var retrieveStyle = function retrieveStyle(_ref) {
11
11
  var theme = _ref.theme;
@@ -33,7 +33,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
33
33
  minWidth: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'minWidth']),
34
34
  width: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'width']),
35
35
  height: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'height']),
36
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'color'], _colors.default.black),
36
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'color'], _colorsModule.default.black),
37
37
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'backgroundColor'], 'transparent'),
38
38
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'borderRadius'], 0),
39
39
  opacity: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseTabRoot', 'opacity']),
@@ -57,7 +57,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
57
57
  minWidth: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'minWidth']),
58
58
  width: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'width']),
59
59
  height: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'height']),
60
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'color'], _colors.default.black),
60
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'color'], _colorsModule.default.black),
61
61
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'backgroundColor'], 'transparent'),
62
62
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'borderRadius'], 0),
63
63
  opacity: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryTabRoot', 'opacity']),
@@ -70,12 +70,12 @@ var retrieveStyle = function retrieveStyle(_ref) {
70
70
  },
71
71
  baseSelected: {
72
72
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseSelected', 'fontWeight'], 'normal'),
73
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseSelected', 'color'], _colors.default.black),
73
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseSelected', 'color'], _colorsModule.default.black),
74
74
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseSelected', 'backgroundColor'], 'transparent')
75
75
  },
76
76
  secondarySelected: {
77
77
  fontWeight: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondarySelected', 'fontWeight'], 'normal'),
78
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondarySelected', 'color'], _colors.default.black),
78
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondarySelected', 'color'], _colorsModule.default.black),
79
79
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondarySelected', 'backgroundColor'], 'transparent')
80
80
  },
81
81
  baseIndicator: {
@@ -89,7 +89,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
89
89
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseIndicator', '& > div', 'borderRadius'], 0),
90
90
  maxWidth: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseIndicator', '& > div', 'maxWidth'], '100%'),
91
91
  width: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseIndicator', '& > div', 'width'], '100%'),
92
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseIndicator', '& > div', 'backgroundColor'], _colors.default.black)
92
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseIndicator', '& > div', 'backgroundColor'], _colorsModule.default.black)
93
93
  },
94
94
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'baseIndicator', 'borderRadius'])
95
95
  },
@@ -104,7 +104,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
104
104
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryIndicator', '& > div', 'borderRadius'], 0),
105
105
  maxWidth: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryIndicator', '& > div', 'maxWidth'], '100%'),
106
106
  width: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryIndicator', '& > div', 'width'], '100%'),
107
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryIndicator', '& > div', 'backgroundColor'], _colors.default.black)
107
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryIndicator', '& > div', 'backgroundColor'], _colorsModule.default.black)
108
108
  },
109
109
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTabs', 'secondaryIndicator', 'borderRadius'])
110
110
  },
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
7
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
9
  var retrieveStyle = function retrieveStyle(_ref) {
10
10
  var _theme$UTTextArea, _theme$UTTextArea2, _theme$UTTextArea3, _theme$UTTextArea4, _theme$Fonts, _theme$UTTextArea5, _theme$Fonts2, _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;
@@ -14,7 +14,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
14
14
  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,
15
15
  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,
16
16
  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,
17
- 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) || _colors.default.black,
17
+ 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,
18
18
  fontFamily: theme === null || theme === void 0 || (_theme$Fonts = theme.Fonts) === null || _theme$Fonts === void 0 ? void 0 : _theme$Fonts.fontFamily,
19
19
  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) || (theme === null || theme === void 0 || (_theme$Fonts2 = theme.Fonts) === null || _theme$Fonts2 === void 0 ? void 0 : _theme$Fonts2.medium) || 14,
20
20
  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,
@@ -1,5 +1,5 @@
1
1
  // sass-lint:disable no-vendor-prefixes
2
- @import '../../scss/variables/_colors.scss';
2
+ @import '../../scss/variables/colors.module.scss';
3
3
 
4
4
  .iconContainer {
5
5
  align-items: center;
@@ -7,7 +7,7 @@ exports.retrieveStyle = exports.retrieveMuiTheme = void 0;
7
7
  var _seamlessImmutable = require("seamless-immutable");
8
8
  var _styles = require("@material-ui/core/styles");
9
9
  var _lodash = _interopRequireDefault(require("lodash"));
10
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
10
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
12
  var retrieveStyle = function retrieveStyle(_ref) {
13
13
  var theme = _ref.theme;
@@ -28,7 +28,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
28
28
  labelIcon: {
29
29
  height: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'inputIcon', 'height'], '12px'),
30
30
  width: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'inputIcon', 'width'], 'auto'),
31
- fill: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'inputIcon', 'fill'], "".concat(_colors.default.gray)),
31
+ fill: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'inputIcon', 'fill'], "".concat(_colorsModule.default.gray)),
32
32
  padding: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'inputIcon', 'padding'], '0px 5px 0px 0px')
33
33
  },
34
34
  labelContainer: {
@@ -52,20 +52,20 @@ var retrieveMuiTheme = function retrieveMuiTheme(theme, muiTheme) {
52
52
  },
53
53
  root: {
54
54
  '&:hover:not($disabled):not($focused):not($error) $notchedOutline': {
55
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'hover', 'border'], "1px solid ".concat(_colors.default.gray)),
55
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'hover', 'border'], "1px solid ".concat(_colorsModule.default.gray)),
56
56
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'hover', 'borderColor'], 'none')
57
57
  },
58
58
  '&$focused $notchedOutline': {
59
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'focused', 'border'], "2px solid ".concat(_colors.default.primary)),
59
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'focused', 'border'], "2px solid ".concat(_colorsModule.default.primary)),
60
60
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'hover', 'borderColor'], 'none')
61
61
  },
62
62
  '&$disabled $notchedOutline': {
63
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'disabled', 'border'], "1px solid ".concat(_colors.default.gray)),
63
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'disabled', 'border'], "1px solid ".concat(_colorsModule.default.gray)),
64
64
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'hover', 'borderColor'], 'none')
65
65
  }
66
66
  },
67
67
  notchedOutline: {
68
- border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'unfocused', 'border'], "1px solid ".concat(_colors.default.error)),
68
+ border: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'unfocused', 'border'], "1px solid ".concat(_colorsModule.default.error)),
69
69
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'notchedOutline', 'hover', 'borderColor'], 'none')
70
70
  }
71
71
  },
@@ -79,22 +79,22 @@ var retrieveMuiTheme = function retrieveMuiTheme(theme, muiTheme) {
79
79
  },
80
80
  underline: {
81
81
  '&:hover:not($disabled):not($focused):not($error):before': {
82
- borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'hover', 'borderBottom'], "1px solid ".concat(_colors.default.gray))
82
+ borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'hover', 'borderBottom'], "1px solid ".concat(_colorsModule.default.gray))
83
83
  },
84
84
  '&:hover:not($disabled):before': {
85
- borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'hover', 'borderBottom'], "1px solid ".concat(_colors.default.gray))
85
+ borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'hover', 'borderBottom'], "1px solid ".concat(_colorsModule.default.gray))
86
86
  },
87
87
  '&$disabled:before': {
88
- borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'disabled', 'borderBottom'], "1px solid ".concat(_colors.default.gray))
88
+ borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'disabled', 'borderBottom'], "1px solid ".concat(_colorsModule.default.gray))
89
89
  },
90
90
  '&:before': {
91
- borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'unfocused', 'borderBottom'], "1px solid ".concat(_colors.default.gray))
91
+ borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'unfocused', 'borderBottom'], "1px solid ".concat(_colorsModule.default.gray))
92
92
  },
93
93
  '&$focused:after': {
94
- borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'focused', 'borderBottom'], "2px solid ".concat(_colors.default.primary))
94
+ borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'focused', 'borderBottom'], "2px solid ".concat(_colorsModule.default.primary))
95
95
  },
96
96
  '&:after': {
97
- borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'base', 'borderBottom'], "2px solid ".concat(_colors.default.primary))
97
+ borderBottom: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'underline', 'base', 'borderBottom'], "2px solid ".concat(_colorsModule.default.primary))
98
98
  },
99
99
  '&$error:after': {
100
100
  borderBottom: "2px solid ".concat(theme.Palette.error['05']),
@@ -106,12 +106,12 @@ var retrieveMuiTheme = function retrieveMuiTheme(theme, muiTheme) {
106
106
  root: {
107
107
  color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'color']),
108
108
  '&$error': {
109
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'errorColor'], _colors.default.gray)
109
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'errorColor'], _colorsModule.default.gray)
110
110
  },
111
111
  '&$focused': {
112
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'focusedColor'], _colors.default.primary),
112
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'focusedColor'], _colorsModule.default.primary),
113
113
  '&$error': {
114
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'focusedErrorColor'], _colors.default.error)
114
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'formLabel', 'focusedErrorColor'], _colorsModule.default.error)
115
115
  }
116
116
  },
117
117
  fontFamily: (0, _seamlessImmutable.getIn)(theme, ['Fonts', 'fontFamily']),
@@ -122,7 +122,7 @@ var retrieveMuiTheme = function retrieveMuiTheme(theme, muiTheme) {
122
122
  MuiFormHelperText: {
123
123
  root: {
124
124
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'helperText', 'fontSize'], 12),
125
- color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'helperText', 'color'], _colors.default.error)
125
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTTextInput', 'helperText', 'color'], _colorsModule.default.error)
126
126
  }
127
127
  }
128
128
  }
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
7
  var _seamlessImmutable = require("seamless-immutable");
8
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
8
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  var retrieveStyle = function retrieveStyle(_ref) {
11
11
  var theme = _ref.theme;
@@ -40,7 +40,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
40
40
  pointerEvents: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'selectedOption', 'pointerEvents'], 'none')
41
41
  },
42
42
  selectedLabel: {
43
- color: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'selectedLabel', 'color'], "".concat(_colors.default.white))
43
+ color: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'selectedLabel', 'color'], "".concat(_colorsModule.default.white))
44
44
  },
45
45
  unSelectedLabel: {
46
46
  color: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'unSelectedLabel', 'color'])
@@ -53,7 +53,7 @@ var retrieveStyle = function retrieveStyle(_ref) {
53
53
  fill: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'unselectedIcon', 'fill'])
54
54
  },
55
55
  selectedIcon: {
56
- fill: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'selectedIcon', 'fill'], "".concat(_colors.default.white))
56
+ fill: (0, _seamlessImmutable.getIn)(theme, ['UTToggle', 'selectedIcon', 'fill'], "".concat(_colorsModule.default.white))
57
57
  }
58
58
  };
59
59
  };
@@ -1,4 +1,4 @@
1
- @import '../../scss/variables/_colors.scss';
1
+ @import '../../scss/variables/colors.module.scss';
2
2
 
3
3
  .baseContent {
4
4
  text-align: left;
@@ -4,14 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
7
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
9
  var retrieveStyle = function retrieveStyle(_ref) {
10
10
  var _theme$UTTopbar, _theme$UTTopbar2, _theme$UTTopbar3, _theme$UTTopbar4, _theme$UTTopbar5, _theme$UTTopbar6, _theme$UTTopbar7, _theme$UTTopbar8, _theme$UTTopbar9, _theme$UTTopbar10, _theme$UTTopbar11, _theme$UTTopbar12, _theme$UTTopbar13, _theme$UTTopbar14, _theme$UTTopbar15, _theme$UTTopbar16, _theme$UTTopbar17, _theme$UTTopbar18, _theme$UTTopbar19, _theme$UTTopbar20, _theme$UTTopbar21, _theme$UTTopbar22, _theme$UTTopbar23, _theme$UTTopbar24, _theme$UTTopbar25, _theme$UTTopbar26, _theme$UTTopbar27, _theme$UTTopbar28, _theme$UTTopbar29, _theme$UTTopbar30, _theme$UTTopbar31, _theme$UTTopbar32, _theme$UTTopbar33, _theme$UTTopbar34, _theme$UTTopbar35, _theme$UTTopbar36, _theme$UTTopbar37, _theme$UTTopbar38, _theme$UTTopbar39, _theme$UTTopbar40, _theme$UTTopbar41, _theme$UTTopbar42, _theme$UTTopbar43, _theme$UTTopbar44, _theme$UTTopbar45, _theme$UTTopbar46;
11
11
  var theme = _ref.theme;
12
12
  return {
13
13
  container: {
14
- background: (theme === null || theme === void 0 || (_theme$UTTopbar = theme.UTTopbar) === null || _theme$UTTopbar === void 0 || (_theme$UTTopbar = _theme$UTTopbar.container) === null || _theme$UTTopbar === void 0 ? void 0 : _theme$UTTopbar.background) || _colors.default.white,
14
+ background: (theme === null || theme === void 0 || (_theme$UTTopbar = theme.UTTopbar) === null || _theme$UTTopbar === void 0 || (_theme$UTTopbar = _theme$UTTopbar.container) === null || _theme$UTTopbar === void 0 ? void 0 : _theme$UTTopbar.background) || _colorsModule.default.white,
15
15
  borderBottom: theme === null || theme === void 0 || (_theme$UTTopbar2 = theme.UTTopbar) === null || _theme$UTTopbar2 === void 0 || (_theme$UTTopbar2 = _theme$UTTopbar2.container) === null || _theme$UTTopbar2 === void 0 ? void 0 : _theme$UTTopbar2.borderBottom,
16
16
  height: theme === null || theme === void 0 || (_theme$UTTopbar3 = theme.UTTopbar) === null || _theme$UTTopbar3 === void 0 || (_theme$UTTopbar3 = _theme$UTTopbar3.container) === null || _theme$UTTopbar3 === void 0 ? void 0 : _theme$UTTopbar3.height,
17
17
  padding: (theme === null || theme === void 0 || (_theme$UTTopbar4 = theme.UTTopbar) === null || _theme$UTTopbar4 === void 0 || (_theme$UTTopbar4 = _theme$UTTopbar4.container) === null || _theme$UTTopbar4 === void 0 ? void 0 : _theme$UTTopbar4.padding) || '10px 20px',
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.retrieveStyle = void 0;
7
7
  var _seamlessImmutable = require("seamless-immutable");
8
- var _colors = _interopRequireDefault(require("../../scss/variables/_colors.scss"));
8
+ var _colorsModule = _interopRequireDefault(require("../../scss/variables/colors.module.scss"));
9
9
  var _classesUtils = require("../../utils/classesUtils");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -22,8 +22,8 @@ var retrieveStyle = function retrieveStyle(_ref) {
22
22
  container: (_container = {
23
23
  border: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'border'], 0),
24
24
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'borderRadius'], '4px'),
25
- backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'backgroundColor'], _colors.default.cardBackground),
26
- boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'boxShadow'], "1px 1px 3px 0 ".concat(_colors.default.cardShadow1, ", -0.5px -0.5px 2px 0 ").concat(_colors.default.cardShadow2)),
25
+ backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'backgroundColor'], _colorsModule.default.cardBackground),
26
+ boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'boxShadow'], "1px 1px 3px 0 ".concat(_colorsModule.default.cardShadow1, ", -0.5px -0.5px 2px 0 ").concat(_colorsModule.default.cardShadow2)),
27
27
  boxSizing: 'border-box',
28
28
  display: 'flex',
29
29
  margin: (0, _seamlessImmutable.getIn)(theme, ['UTWorkflowContainer', 'container', 'margin']),
@@ -35,6 +35,6 @@ var getShadow = function getShadow(_ref) {
35
35
  var shadowLevel = levels[level] || levels[defaultLevel];
36
36
  var shadowOrientation = orientations[orientation] || orientations[defaultOrientation];
37
37
  var shadowOrientationLevel = shadowOrientation[level] || shadowOrientation[defaultLevel];
38
- return "0 ".concat(shadowOrientationLevel, "px ").concat(shadowLevel, "px 0 ").concat(color, "1a");
38
+ return "0 ".concat(shadowOrientationLevel, "px ").concat(shadowLevel, "px 0 ").concat(color);
39
39
  };
40
40
  exports.getShadow = getShadow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "2.6.1",
3
+ "version": "2.7.1",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "d3": "^7.0.1",
39
39
  "dayjs": "^1.10.7",
40
40
  "emojilib": "3.0.5",
41
- "node-sass": "^4.9.0",
41
+ "node-sass": "^8.0.0",
42
42
  "numeral": "^2.0.6",
43
43
  "object-hash": "^3.0.0",
44
44
  "react-google-maps": ">=9.2.2",
@@ -50,7 +50,7 @@
50
50
  "react-window": "^1.8.5",
51
51
  "rehype-raw": "^6.1.0",
52
52
  "remark-breaks": "^3.0.2",
53
- "sass-loader": "^7.0.3",
53
+ "sass-loader": "^10.0.5",
54
54
  "seamless-immutable": "^7.1.4"
55
55
  },
56
56
  "devDependencies": {
@@ -79,7 +79,7 @@
79
79
  "prop-types": ">=15.5.10",
80
80
  "react": "^16.4.0",
81
81
  "react-dom": "^16.4.0",
82
- "react-scripts": "^2.0.0",
82
+ "react-scripts": "^4.0.0",
83
83
  "sass-lint": "^1.12.1",
84
84
  "semantic-release": "^15.13.31"
85
85
  },
@@ -1 +0,0 @@
1
- $nunito: 'Nunito';