@widergy/utilitygo-smart-bill-web 3.24.4 → 3.25.0

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,10 @@
1
+ # [3.25.0](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.24.4...v3.25.0) (2026-04-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * add more data in second header ([#91](https://github.com/widergy/UtilityGO-Smart-Bill-Web/issues/91)) ([114f053](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/114f053f7e9a8f57754484de2c36f6ced1ecca5f))
7
+
1
8
  ## [3.24.4](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.24.3...v3.24.4) (2026-04-22)
2
9
 
3
10
 
@@ -170,7 +170,11 @@ const SmartBillSummary = _ref => {
170
170
  city: smartBill.client?.city,
171
171
  district: smartBill.client?.district,
172
172
  supplyAddressHelpText: translations.billingTab.secondHeader?.supplyAddressHelpText,
173
- clientNumberFormatter: utils?.formatters?.clientNumberFormatter
173
+ clientNumberFormatter: utils?.formatters?.clientNumberFormatter,
174
+ rate: smartBill.client?.rate?.description,
175
+ rateHelpText: translations.billingTab.secondHeader?.rateHelpText,
176
+ ivaCondition: smartBill.client?.iva_condition,
177
+ ivaConditionHelpText: translations.billingTab.secondHeader?.ivaConditionHelpText
174
178
  }), _constants.TAB_COMPONENT_MAPPER?.[currentTab]?.({
175
179
  assets,
176
180
  billingLayout,
@@ -17,7 +17,11 @@ const SecondHeader = _ref => {
17
17
  city,
18
18
  district,
19
19
  supplyAddressHelpText,
20
- clientNumberFormatter
20
+ clientNumberFormatter,
21
+ rate,
22
+ rateHelpText,
23
+ ivaCondition,
24
+ ivaConditionHelpText
21
25
  } = _ref;
22
26
  return /*#__PURE__*/_react.default.createElement("div", {
23
27
  className: _stylesModule.default.secondHeader
@@ -39,7 +43,23 @@ const SecondHeader = _ref => {
39
43
  }, `${city} - ${district}`), /*#__PURE__*/_react.default.createElement(_energyUi.UTLabel, {
40
44
  colorTheme: "gray",
41
45
  variant: "small"
42
- }, supplyAddressHelpText)));
46
+ }, supplyAddressHelpText)), /*#__PURE__*/_react.default.createElement("div", {
47
+ className: _stylesModule.default.rateIva
48
+ }, /*#__PURE__*/_react.default.createElement(_energyUi.UTLabel, {
49
+ variant: "small",
50
+ weight: "bold"
51
+ }, rate), /*#__PURE__*/_react.default.createElement(_energyUi.UTLabel, {
52
+ colorTheme: "gray",
53
+ variant: "small"
54
+ }, rateHelpText)), /*#__PURE__*/_react.default.createElement("div", {
55
+ className: _stylesModule.default.rateIva
56
+ }, /*#__PURE__*/_react.default.createElement(_energyUi.UTLabel, {
57
+ variant: "small",
58
+ weight: "bold"
59
+ }, ivaCondition), /*#__PURE__*/_react.default.createElement(_energyUi.UTLabel, {
60
+ colorTheme: "gray",
61
+ variant: "small"
62
+ }, ivaConditionHelpText)));
43
63
  };
44
64
  SecondHeader.propTypes = {
45
65
  accountNumber: _propTypes.string,
@@ -48,6 +68,10 @@ SecondHeader.propTypes = {
48
68
  city: _propTypes.string,
49
69
  district: _propTypes.string,
50
70
  supplyAddressHelpText: _propTypes.string,
51
- clientNumberFormatter: _propTypes.func
71
+ clientNumberFormatter: _propTypes.func,
72
+ rate: _propTypes.string,
73
+ rateHelpText: _propTypes.string,
74
+ ivaCondition: _propTypes.string,
75
+ ivaConditionHelpText: _propTypes.string
52
76
  };
53
77
  var _default = exports.default = SecondHeader;
@@ -7,8 +7,8 @@
7
7
  box-shadow: var(--shadowGrayBottom1);
8
8
  display: flex;
9
9
  flex-wrap: wrap;
10
- grid-gap: 50%;
11
- justify-content: flex-start;
10
+ gap: 16px;
11
+ justify-content: space-between;
12
12
  padding: 24px 48px;
13
13
  margin: 16px 32px 0 32px;
14
14
 
@@ -38,3 +38,10 @@
38
38
  text-align: left;
39
39
  }
40
40
  }
41
+
42
+ .rateIva {
43
+ display: flex;
44
+ flex-direction: column;
45
+ align-items: flex-start;
46
+ grid-gap: 4px;
47
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/utilitygo-smart-bill-web",
3
- "version": "3.24.4",
3
+ "version": "3.25.0",
4
4
  "description": "UtilityGO SmartBill Web",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",