@widergy/utilitygo-smart-bill-web 3.5.0 → 3.5.2

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,18 @@
1
+ ## [3.5.2](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.5.1...v3.5.2) (2025-04-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [AUT-657] key fixes ([1bfa01e](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/1bfa01e2d1cc495d63d7f62a1ebf27c6d848f697))
7
+ * [AUT-657] test ids fixes ([afc08f6](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/afc08f61d10843974d70d044c8993dcdcd9254a6))
8
+
9
+ ## [3.5.1](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.5.0...v3.5.1) (2025-04-30)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * download bill icon smartbill ([#47](https://github.com/widergy/UtilityGO-Smart-Bill-Web/issues/47)) ([d10ec3c](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/d10ec3cb2930dafe5df11361158eb78fc4ffc505))
15
+
1
16
  # [3.5.0](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.4.0...v3.5.0) (2025-04-21)
2
17
 
3
18
 
@@ -39,7 +39,7 @@ const ClientData = _ref => {
39
39
  }, /*#__PURE__*/_react.default.createElement(Label, {
40
40
  alias: _aliases.TITLE,
41
41
  className: _stylesModule.default.title,
42
- dataTestId: _testsIds.smartBill
42
+ dataTestId: _testsIds.smartBill.clientData.clientDataTitle
43
43
  }, texts.mainBillData.clientDataTitle), /*#__PURE__*/_react.default.createElement(_IconAndDetails.default, {
44
44
  classes: {
45
45
  container: _stylesModule.default.iconAndDetailsContainer
@@ -61,7 +61,7 @@ const ReadingDetails = _ref => {
61
61
  classes: {
62
62
  container: _stylesModule.default.iconDetail
63
63
  },
64
- dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.meterNumber,
64
+ dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.readingType,
65
65
  descriptionText: texts.mainBillData.readingType,
66
66
  Icon: assets.ReadingTypeGenericIcon,
67
67
  mainAlias: _aliases.MAIN_LIGHT,
@@ -74,7 +74,7 @@ const ReadingDetails = _ref => {
74
74
  classes: {
75
75
  container: _stylesModule.default.leftItems
76
76
  },
77
- dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.meterNumber,
77
+ dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.transformationCenter,
78
78
  descriptionText: texts.mainBillData.transformationCenter,
79
79
  Icon: assets.TransformationAndFeederCenterIcon,
80
80
  mainAlias: _aliases.MAIN_LIGHT,
@@ -85,7 +85,7 @@ const ReadingDetails = _ref => {
85
85
  classes: {
86
86
  container: _stylesModule.default.iconDetail
87
87
  },
88
- dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.meterNumber,
88
+ dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.feederLine,
89
89
  descriptionText: texts.mainBillData.feederCenter,
90
90
  Icon: assets.TransformationAndFeederCenterIcon,
91
91
  mainAlias: _aliases.MAIN_LIGHT,
@@ -79,7 +79,7 @@ const BillHeader = _ref => {
79
79
  text: texts.Base.issuedOnDate
80
80
  })), isDesktopSize && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null)), /*#__PURE__*/_react.default.createElement("div", {
81
81
  className: _stylesModule.default.debtStatusLabelMobile
82
- }, isMobileOrTablet && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null))), /*#__PURE__*/_react.default.createElement("div", {
82
+ }, isMobileOrTablet && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null))), !isDesktopSize && /*#__PURE__*/_react.default.createElement("div", {
83
83
  className: _stylesModule.default.periodContainer
84
84
  }, /*#__PURE__*/_react.default.createElement(_Period.default, {
85
85
  currentPeriod: currentPeriod,
@@ -113,9 +113,6 @@
113
113
  display: flex;
114
114
  flex-flow: column;
115
115
  width: 60%;
116
- @media #{$desktop} {
117
- display: none;
118
- }
119
116
 
120
117
  @media #{$tablet-mobile} {
121
118
  border-bottom-left-radius: $default-container-border-radius;
@@ -95,7 +95,7 @@ const Period = _ref => {
95
95
  content: texts.mainBillData.periodTooltip,
96
96
  dataTestId: _testsIds.smartBill.period.periodTooltip
97
97
  }, /*#__PURE__*/_react.default.createElement(assets.QuestionsIcon, {
98
- dataTestId: _testsIds.smartBill.period.tooltipIcon,
98
+ "data-testid": _testsIds.smartBill.period.tooltipIcon,
99
99
  style: {
100
100
  fill: colors.tooltipIcon
101
101
  }
@@ -130,6 +130,7 @@ const Period = _ref => {
130
130
  }, `${(0, _utils.stringOrDash)(year)} - ${period} ${(0, _utils.numberOrDash)(currentSettlement)}`), issuedOnDateLabel)), debtStatusValidation && /*#__PURE__*/_react.default.createElement("div", {
131
131
  className: _stylesModule.default.debtState
132
132
  }, /*#__PURE__*/_react.default.createElement(_DebtState.default, {
133
+ dataTestId: _testsIds.smartBill.period.debtState,
133
134
  debtStatusLabel: debtStatusLabel,
134
135
  isWarning: billData?.warning
135
136
  }))) : /*#__PURE__*/_react.default.createElement("div", {
@@ -152,7 +153,7 @@ const Period = _ref => {
152
153
  content: texts.mainBillData.periodTooltip,
153
154
  dataTestId: _testsIds.smartBill.period.periodTooltip
154
155
  }, /*#__PURE__*/_react.default.createElement(assets.QuestionsIcon, {
155
- dataTestId: _testsIds.smartBill.period.tooltipIcon,
156
+ "data-testid": _testsIds.smartBill.period.tooltipIcon,
156
157
  style: {
157
158
  fill: colors.tooltipIcon
158
159
  }
@@ -127,7 +127,7 @@ const Billing = _ref => {
127
127
  showStatus: true,
128
128
  title: automaticDebitTitle
129
129
  }, {
130
- leftIcon: 'IconInfoCircle',
130
+ leftIcon: 'IconReceipt2',
131
131
  leftIconProps: {
132
132
  area: true,
133
133
  size: 28
@@ -124,6 +124,7 @@ const smartBill = exports.smartBill = {
124
124
  }
125
125
  },
126
126
  period: {
127
+ debtState: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.debtState`,
127
128
  periodLabel: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.periodLabel`,
128
129
  periodTooltip: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.periodTooltip`,
129
130
  tooltipIcon: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.tooltipIcon`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/utilitygo-smart-bill-web",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "UtilityGO SmartBill Web",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",