@widergy/energy-ui 1.123.1 → 1.125.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## [1.125.1](https://github.com/widergy/energy-ui/compare/v1.125.0...v1.125.1) (2022-06-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * cbu input field ([#296](https://github.com/widergy/energy-ui/issues/296)) ([9109b07](https://github.com/widergy/energy-ui/commit/9109b07a52aab6eee6ca33edd620d5bccd8cab14))
7
+
8
+ # [1.125.0](https://github.com/widergy/energy-ui/compare/v1.124.0...v1.125.0) (2022-06-03)
9
+
10
+
11
+ ### Features
12
+
13
+ * uttable row theme ([#298](https://github.com/widergy/energy-ui/issues/298)) ([2755106](https://github.com/widergy/energy-ui/commit/2755106fedceee9db68d58a8be491a9f2cd873c8))
14
+
15
+ # [1.124.0](https://github.com/widergy/energy-ui/compare/v1.123.1...v1.124.0) (2022-06-03)
16
+
17
+
18
+ ### Features
19
+
20
+ * added theme ([#297](https://github.com/widergy/energy-ui/issues/297)) ([2d7046b](https://github.com/widergy/energy-ui/commit/2d7046b2fa3b438cc16706b4981931c6a564efd8))
21
+
1
22
  ## [1.123.1](https://github.com/widergy/energy-ui/compare/v1.123.0...v1.123.1) (2022-06-03)
2
23
 
3
24
 
@@ -52,7 +52,8 @@ var UTCBUInput = function UTCBUInput(_ref) {
52
52
  title = field.title,
53
53
  configuration = field.configuration;
54
54
  var entities = configuration.entities,
55
- cbuNumberKey = configuration.cbu_number_key;
55
+ cbuNumberKey = configuration.cbu_number_key,
56
+ cbuEntityKey = configuration.cbu_entity_key;
56
57
 
57
58
  var _useState = (0, _react.useState)(''),
58
59
  _useState2 = _slicedToArray(_useState, 2),
@@ -67,13 +68,13 @@ var UTCBUInput = function UTCBUInput(_ref) {
67
68
  });
68
69
  var entityToSet = index === -1 ? '' : entities[index].entity_name;
69
70
  setEntity(entityToSet);
70
- onChange((_onChange = {}, _defineProperty(_onChange, cbuNumberKey, newValue), _defineProperty(_onChange, cbuNumberKey, entityToSet), _onChange));
71
+ onChange((_onChange = {}, _defineProperty(_onChange, cbuNumberKey, newValue), _defineProperty(_onChange, cbuEntityKey, entityToSet), _onChange));
71
72
  };
72
73
 
73
74
  return /*#__PURE__*/_react.default.createElement(_UTTextInput.default, {
74
75
  input: {
75
76
  onChange: onChangeText,
76
- value: (_value = {}, _defineProperty(_value, cbuNumberKey, value[cbuNumberKey]), _defineProperty(_value, cbuNumberKey, entity), _value)
77
+ value: (_value = {}, _defineProperty(_value, cbuNumberKey, value[cbuNumberKey]), _defineProperty(_value, cbuEntityKey, entity), _value)
77
78
  },
78
79
  field: field,
79
80
  placeholder: placeholder,
@@ -101,7 +101,8 @@ var retrieveStyle = function retrieveStyle(theme) {
101
101
  closeIcon: {
102
102
  fontSize: (0, _seamlessImmutable.getIn)(theme, ['UTDialog', 'closeIcon', 'fontSize']),
103
103
  width: (0, _seamlessImmutable.getIn)(theme, ['UTDialog', 'closeIcon', 'width']),
104
- height: (0, _seamlessImmutable.getIn)(theme, ['UTDialog', 'closeIcon', 'height'])
104
+ height: (0, _seamlessImmutable.getIn)(theme, ['UTDialog', 'closeIcon', 'height']),
105
+ fill: (0, _seamlessImmutable.getIn)(theme, ['UTDialog', 'closeIcon', 'fill'])
105
106
  }
106
107
  };
107
108
  };
@@ -104,6 +104,7 @@ var retrieveStyle = function retrieveStyle(theme) {
104
104
  },
105
105
  row: {
106
106
  backgroundColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'backgroundColor'], _colors.default.white),
107
+ boxShadow: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'boxShadow']),
107
108
  borderRadius: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderRadius']),
108
109
  borderColor: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderColor']),
109
110
  borderStyle: (0, _seamlessImmutable.getIn)(theme, ['UTTable', 'row', 'borderStyle'], 'solid')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "1.123.1",
3
+ "version": "1.125.1",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",