@widergy/utilitygo-smart-bill-web 1.13.2 → 1.13.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 (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/Advice/styles.module.scss +1 -1
  3. package/dist/components/Amount/styles.module.scss +5 -2
  4. package/dist/components/BarChart/index.js +1 -1
  5. package/dist/components/BillCalculation/components/ConceptCard/index.js +1 -1
  6. package/dist/components/BillCalculation/components/ConceptCard/styles.module.scss +5 -2
  7. package/dist/components/BillSummary/components/BilledConcepts/components/PieChartContainer/index.js +1 -1
  8. package/dist/components/ConsumptionComparison/components/ConsumptionAdvice/styles.module.scss +4 -1
  9. package/dist/components/ConsumptionComparison/components/PercentageComparison/styles.module.scss +7 -2
  10. package/dist/components/ConsumptionComparison/styles.module.scss +1 -2
  11. package/dist/components/ConsumptionIncluded/components/TimelineRow/index.js +1 -1
  12. package/dist/components/ConsumptionPeriod/components/ConsumptionSummary/components/ReadingRow/index.js +4 -1
  13. package/dist/components/ConsumptionPeriod/components/ConsumptionSummary/components/ReadingRow/styles.module.scss +5 -2
  14. package/dist/components/ConsumptionPeriod/components/Reading/styles.module.scss +14 -1
  15. package/dist/components/ConsumptionPeriod/index.js +1 -1
  16. package/dist/components/ConsumptionPeriod/styles.module.scss +4 -1
  17. package/dist/components/Date/index.js +3 -2
  18. package/dist/components/Magnitude/index.js +1 -1
  19. package/dist/components/MainBillData/components/BillAlert/styles.module.scss +1 -2
  20. package/dist/components/MainBillData/components/BillBody/styles.module.scss +2 -4
  21. package/dist/components/MainBillData/components/BillHeader/components/TypeAndNumber/index.js +9 -3
  22. package/dist/components/MainBillData/components/BillHeader/components/TypeAndNumber/styles.module.scss +1 -2
  23. package/dist/components/MainBillData/components/BillHeader/index.js +8 -3
  24. package/dist/components/MainBillData/components/BillHeader/styles.module.scss +17 -5
  25. package/dist/components/Period/styles.module.scss +20 -6
  26. package/dist/components/RateAndCategory/styles.module.scss +1 -2
  27. package/dist/components/RatesDefinition/components/BillRate/components/RatePrices/styles.module.scss +5 -2
  28. package/dist/components/RatesDefinition/components/BillRate/styles.module.scss +6 -2
  29. package/dist/components/RatesDefinition/components/CategoryByConsumption/components/Category/styles.module.scss +9 -3
  30. package/dist/components/RatesDefinition/components/CategoryByConsumption/styles.module.scss +0 -8
  31. package/dist/components/RatesDefinition/components/PurchasedRate/styles.module.scss +6 -3
  32. package/dist/components/SmartBillProvider/index.js +2 -2
  33. package/dist/components/WithContextApi/index.js +1 -1
  34. package/dist/components/WithSeason/index.js +1 -1
  35. package/dist/shared/constants/aliases.js +4 -2
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.13.4](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v1.13.3...v1.13.4) (2022-09-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * markdown problem in smarttbill ([#28](https://github.com/widergy/UtilityGO-Smart-Bill-Web/issues/28)) ([13b9b30](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/13b9b30315ae0449dc8009d978ab2cb84d1e11bc))
7
+
8
+ ## [1.13.3](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v1.13.2...v1.13.3) (2022-04-06)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * adjust visual bugs by gap ([#27](https://github.com/widergy/UtilityGO-Smart-Bill-Web/issues/27)) ([c140016](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/c14001678a4881812290da716101d0d9b8666e5d))
14
+
1
15
  ## [1.13.2](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v1.13.1...v1.13.2) (2022-03-14)
2
16
 
3
17
 
@@ -16,7 +16,6 @@
16
16
  .header {
17
17
  align-items: center;
18
18
  display: flex;
19
- gap: 8px;
20
19
  margin-bottom: 24px;
21
20
 
22
21
  @media #{$tablet-mobile} {
@@ -29,6 +28,7 @@
29
28
  }
30
29
 
31
30
  .title {
31
+ margin-left: 8px;
32
32
  @media #{$tablet-mobile} {
33
33
  font-size: $small;
34
34
  }
@@ -8,7 +8,6 @@
8
8
  border-radius: $default-container-border-radius;
9
9
  display: flex;
10
10
  flex-direction: column;
11
- gap: 16px;
12
11
  margin-bottom: $default-spacing;
13
12
  padding: $default-container-padding;
14
13
 
@@ -22,6 +21,7 @@
22
21
  align-items: center;
23
22
  display: flex;
24
23
  justify-content: space-between;
24
+ margin-bottom: 16px;
25
25
 
26
26
  @media #{$tablet-mobile} {
27
27
  align-items: center;
@@ -35,6 +35,10 @@
35
35
  align-items: center;
36
36
  display: flex;
37
37
 
38
+ @media #{$mobile} {
39
+ margin-top: 16px;
40
+ }
41
+
38
42
  @media #{$desktop} {
39
43
  white-space: nowrap;
40
44
  }
@@ -54,7 +58,6 @@
54
58
  display: flex;
55
59
  flex-direction: row;
56
60
  flex-wrap: wrap;
57
- gap: 16px;
58
61
  justify-content: space-between;
59
62
 
60
63
 
@@ -29,7 +29,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
29
29
 
30
30
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
31
31
 
32
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
32
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
33
33
 
34
34
  var BarChartSection = function BarChartSection(_ref) {
35
35
  var _colors$barChart;
@@ -61,7 +61,7 @@ var ConceptCard = function ConceptCard(_ref) {
61
61
  className: _stylesModule.default.lineContainer,
62
62
  key: list.title
63
63
  }, /*#__PURE__*/_react.default.createElement("div", {
64
- className: _stylesModule.default.conceptLineContainer
64
+ className: "".concat(_stylesModule.default.conceptLineContainer, " ").concat(list.description && _stylesModule.default.conceptLineContainerMarginBottom)
65
65
  }, /*#__PURE__*/_react.default.createElement(Label, {
66
66
  alias: _aliases.CONCEPT_TITLE
67
67
  }, list.title), /*#__PURE__*/_react.default.createElement(_StyledAmount.default, {
@@ -18,7 +18,6 @@
18
18
  .lineContainer {
19
19
  display: flex;
20
20
  flex-direction: column;
21
- gap: 12px;
22
21
  justify-content: space-between;
23
22
  padding: $default-spacing 0 0;
24
23
  @media #{$tablet-mobile} {
@@ -32,6 +31,10 @@
32
31
  justify-content: space-between;
33
32
  }
34
33
 
34
+ .conceptLineContainerMarginBottom {
35
+ margin-bottom: 12px;
36
+ }
37
+
35
38
  .container {
36
39
  background: $white;
37
40
  border: 1px solid $borders-gray;
@@ -53,8 +56,8 @@
53
56
  }
54
57
 
55
58
  .expandIcon {
56
- width: 24px;
57
59
  padding: 0;
60
+ width: 24px;
58
61
  }
59
62
 
60
63
  .expandableContent {
@@ -21,7 +21,7 @@ var _stylesModule = _interopRequireDefault(require("./styles.module.scss"));
21
21
 
22
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
23
 
24
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
25
 
26
26
  var PieChartContainer = function PieChartContainer(_ref) {
27
27
  var concepts = _ref.concepts,
@@ -30,8 +30,11 @@
30
30
  .header {
31
31
  align-items: center;
32
32
  display: flex;
33
- gap: 8px;
34
33
  margin-bottom: 16px;
34
+
35
+ > svg {
36
+ margin-right: 18px;
37
+ }
35
38
  }
36
39
 
37
40
  .externalLink {
@@ -14,12 +14,16 @@ $icon-size: 25px;
14
14
  border-radius: $default-container-border-radius;
15
15
  display: flex;
16
16
  flex-flow: column;
17
- gap: 16px;
18
17
  justify-content: center;
19
18
  max-width: 200px;
20
19
  padding: 24px;
21
20
 
21
+ @media #{$desktop} {
22
+ margin-left: 16px;
23
+ }
24
+
22
25
  @media #{$tablet-mobile} {
26
+ margin-top: 16px;
23
27
  max-width: 100%;
24
28
  padding: 24px;
25
29
  text-align: center;
@@ -30,11 +34,12 @@ $icon-size: 25px;
30
34
  .header {
31
35
  align-items: center;
32
36
  display: flex;
37
+ margin-bottom: 16px;
33
38
  }
34
39
 
35
40
  .icon {
36
- margin-right: 10px;
37
41
  height: $icon-size;
42
+ margin-right: 10px;
38
43
  width: $icon-size;
39
44
  }
40
45
 
@@ -16,7 +16,6 @@
16
16
 
17
17
  .comparisonComponentsContainer {
18
18
  display: flex;
19
- gap: 16px;
20
19
  margin-bottom: 16px;
21
20
 
22
21
  @media #{$tablet-mobile} {
@@ -39,8 +38,8 @@
39
38
 
40
39
  @media #{$desktop} {
41
40
  display: flex;
42
- flex-grow: 1;
43
41
  flex-flow: column;
42
+ flex-grow: 1;
44
43
  justify-content: center;
45
44
  width: 75%;
46
45
  }
@@ -25,7 +25,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
25
25
 
26
26
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
27
 
28
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
28
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29
29
 
30
30
  var TimelineRow = function TimelineRow(_ref) {
31
31
  var contextApiInfo = _ref.contextApiInfo,
@@ -39,7 +39,10 @@ var ReadingRow = function ReadingRow(_ref) {
39
39
  unitAlias: unitAlias,
40
40
  value: value,
41
41
  unit: unit,
42
- disableUnit: disableUnit
42
+ disableUnit: disableUnit,
43
+ classes: {
44
+ container: _stylesModule.default.magnitudeContainer
45
+ }
43
46
  }));
44
47
  };
45
48
 
@@ -3,8 +3,11 @@
3
3
  .container {
4
4
  align-items: center;
5
5
  display: flex;
6
- gap: 16px;
7
6
  justify-content: space-between;
8
- width: 100%;
9
7
  padding: 0 24px;
8
+ width: 100%;
9
+ }
10
+
11
+ .magnitudeContainer {
12
+ margin-left: 16px;
10
13
  }
@@ -31,7 +31,6 @@
31
31
  .detailsContainer {
32
32
  display: flex;
33
33
  flex-direction: column;
34
- gap: 16px;
35
34
  padding: 16px 24px;
36
35
 
37
36
  @media #{$tablet-mobile} {
@@ -39,3 +38,17 @@
39
38
  flex-wrap: wrap;
40
39
  }
41
40
  }
41
+
42
+ .iconAndDetailsContainer {
43
+ margin-bottom: 16px;
44
+
45
+ @media #{$mobile} {
46
+ margin-bottom: 0;
47
+ margin-right: 16px;
48
+ }
49
+
50
+ @media #{$small-mobile} {
51
+ margin-bottom: 16px;
52
+ }
53
+
54
+ }
@@ -31,7 +31,7 @@ var _stylesModule = _interopRequireDefault(require("./styles.module.scss"));
31
31
 
32
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
33
33
 
34
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
34
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
35
35
 
36
36
  var ConsumptionPeriod = function ConsumptionPeriod(_ref) {
37
37
  var _currentPeriod$settle, _currentPeriod$settle2;
@@ -13,7 +13,6 @@
13
13
  display: flex;
14
14
  justify-content: space-between;
15
15
  margin-bottom: 16px;
16
- gap: 16px;
17
16
  width: 100%;
18
17
 
19
18
  @media #{$mobile} {
@@ -25,12 +24,14 @@
25
24
  width: 30%;
26
25
 
27
26
  @media #{$mobile} {
27
+ margin-right: 0;
28
28
  width: 100%;
29
29
  }
30
30
  }
31
31
 
32
32
  .initialReadingContainer {
33
33
  justify-content: flex-start;
34
+ margin-right: 16px;
34
35
  }
35
36
 
36
37
  .finalReadingContainer {
@@ -38,10 +39,12 @@
38
39
 
39
40
  @media #{$mobile} {
40
41
  margin-left: 0;
42
+ margin-top: 16px;
41
43
  }
42
44
  }
43
45
 
44
46
  .desktopSummary {
47
+ margin-right: 16px;
45
48
  width: 50%;
46
49
 
47
50
  @media #{$mobile} {
@@ -32,7 +32,7 @@ var Date = function Date(_ref) {
32
32
  className: "".concat(_stylesModule.default.container, " ").concat(classes.container)
33
33
  }, /*#__PURE__*/_react.default.createElement(Label, {
34
34
  alias: mainAlias,
35
- className: _stylesModule.default.valueContainer
35
+ className: "".concat(_stylesModule.default.valueContainer, " ").concat(classes.value)
36
36
  }, (0, _dayjs.default)(date, 'YYYY-MM-DD').format('DD/MM/YYYY')), /*#__PURE__*/_react.default.createElement(Label, {
37
37
  alias: detailAlias
38
38
  }, text));
@@ -45,7 +45,8 @@ Date.propTypes = {
45
45
  mainAlias: _propTypes.string,
46
46
  detailAlias: _propTypes.string,
47
47
  classes: (0, _propTypes.shape)({
48
- container: _propTypes.string
48
+ container: _propTypes.string,
49
+ value: _propTypes.string
49
50
  })
50
51
  };
51
52
 
@@ -23,7 +23,7 @@ var _stylesModule = _interopRequireDefault(require("./styles.module.scss"));
23
23
 
24
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
25
 
26
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
26
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
27
 
28
28
  var Magnitude = function Magnitude(props) {
29
29
  var contextApiInfo = props.contextApiInfo,
@@ -31,11 +31,10 @@
31
31
 
32
32
  .iconAndLabelContainer {
33
33
  align-items: center;
34
- gap: 8px;
35
34
  }
36
35
 
37
36
  .label {
38
- margin-left: 5px;
39
37
  color: $primary;
38
+ margin-left: 13px;
40
39
  text-decoration: underline;
41
40
  }
@@ -5,10 +5,6 @@
5
5
  flex-flow: row;
6
6
  width: 100%;
7
7
 
8
- @media #{$desktop} {
9
- gap: 16px;
10
- }
11
-
12
8
  @media #{$tablet-mobile} {
13
9
  flex-flow: column;
14
10
  }
@@ -26,6 +22,7 @@
26
22
  .amountAndConsumptionLeftContainer {
27
23
  @extend %containers;
28
24
  @media #{$desktop} {
25
+ margin-right: 16px;
29
26
  width: 45%;
30
27
  }
31
28
  }
@@ -33,6 +30,7 @@
33
30
  .periodAndClientDataLeftContainer {
34
31
  @extend %containers;
35
32
  @media #{$desktop} {
33
+ margin-right: 16px;
36
34
  width: 55%;
37
35
  }
38
36
  }
@@ -26,14 +26,16 @@ var TypeAndNumber = function TypeAndNumber(_ref) {
26
26
  billType = _ref.billType,
27
27
  billNumber = _ref.billNumber,
28
28
  mainAlias = _ref.mainAlias,
29
- detailAlias = _ref.detailAlias;
29
+ detailAlias = _ref.detailAlias,
30
+ _ref$classes = _ref.classes,
31
+ classes = _ref$classes === void 0 ? {} : _ref$classes;
30
32
  var config = contextApiInfo.config,
31
33
  Label = contextApiInfo.Label;
32
34
  var texts = config.texts;
33
35
  return /*#__PURE__*/_react.default.createElement("div", {
34
- className: _stylesModule.default.container
36
+ className: "".concat(_stylesModule.default.container, " ").concat(classes.container)
35
37
  }, /*#__PURE__*/_react.default.createElement("div", {
36
- className: _stylesModule.default.billTypeAndNumberContainer
38
+ className: "".concat(_stylesModule.default.billTypeAndNumberContainer, " ").concat(classes.value)
37
39
  }, /*#__PURE__*/_react.default.createElement(Label, {
38
40
  alias: _aliases.TYPE_AND_NUMBER_TYPE,
39
41
  className: _stylesModule.default.billType
@@ -50,6 +52,10 @@ TypeAndNumber.propTypes = {
50
52
  billType: _propTypes.string,
51
53
  billNumber: _propTypes.string,
52
54
  mainAlias: _propTypes.string,
55
+ classes: (0, _propTypes.shape)({
56
+ container: _propTypes.string,
57
+ value: _propTypes.string
58
+ }),
53
59
  detailAlias: _propTypes.string
54
60
  };
55
61
 
@@ -5,7 +5,6 @@
5
5
  align-items: flex-start;
6
6
  display: flex;
7
7
  flex-flow: column;
8
- gap: 8px;
9
8
  }
10
9
 
11
10
  .billTypeAndNumberContainer {
@@ -20,10 +19,10 @@
20
19
 
21
20
  .billType {
22
21
  align-items: center;
23
- display: flex;
24
22
  background-color: $backgrounds-gray;
25
23
  border: 1px solid $borders-dark-gray;
26
24
  border-radius: 3px;
25
+ display: flex;
27
26
  height: 25px;
28
27
  justify-content: center;
29
28
  width: 25px;
@@ -31,7 +31,7 @@ var _stylesModule = _interopRequireDefault(require("./styles.module.scss"));
31
31
 
32
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
33
33
 
34
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
34
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
35
35
 
36
36
  var BillHeader = function BillHeader(_ref) {
37
37
  var _currentPeriod$settle, _currentPeriod$settle2, _currentPeriod$settle3;
@@ -76,12 +76,17 @@ var BillHeader = function BillHeader(_ref) {
76
76
  className: _stylesModule.default.billDataAndDebtStateContainer
77
77
  }, /*#__PURE__*/_react.default.createElement(_TypeAndNumber.default, _extends({}, aliases, {
78
78
  billType: billData.bill_type,
79
- billNumber: billData.bill_number
79
+ billNumber: billData.bill_number,
80
+ classes: {
81
+ value: _stylesModule.default.typeAndNumber,
82
+ container: _stylesModule.default.typeAndNumberContainer
83
+ }
80
84
  })), issuedOnDate && /*#__PURE__*/_react.default.createElement(_Date.default, _extends({}, aliases, {
81
85
  date: issuedOnDate,
82
86
  text: texts.commons.issuedOnDate,
83
87
  classes: {
84
- container: _stylesModule.default.date
88
+ value: _stylesModule.default.date,
89
+ container: isDesktopSize && debtStatusValidation && _stylesModule.default.dateContainer
85
90
  }
86
91
  })), isDesktopSize && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null)), /*#__PURE__*/_react.default.createElement("div", {
87
92
  className: _stylesModule.default.debtStatusLabelMobile
@@ -21,7 +21,15 @@
21
21
  }
22
22
 
23
23
  .date {
24
- gap: 8px;
24
+ margin-bottom: 11px;
25
+ }
26
+
27
+ .dateContainer {
28
+ margin-right: 24px;
29
+ }
30
+
31
+ .typeAndNumber{
32
+ margin-bottom: 11px;
25
33
  }
26
34
 
27
35
  .headerRow {
@@ -36,7 +44,6 @@
36
44
  border-top-right-radius: $default-container-border-radius;
37
45
  display: flex;
38
46
  flex-direction: column;
39
- gap: 16px;
40
47
  padding: 16px;
41
48
  width: 100%;
42
49
  }
@@ -51,6 +58,7 @@
51
58
  @media #{$tablet-mobile} {
52
59
  align-items: flex-start;
53
60
  flex-flow: column;
61
+ margin-bottom: 16px;
54
62
  }
55
63
  }
56
64
 
@@ -58,7 +66,10 @@
58
66
  align-items: center;
59
67
  display: flex;
60
68
  width: 68%;
61
- gap: 24px;
69
+
70
+ > .typeAndNumberContainer:nth-child(1) {
71
+ margin-right: 24px;
72
+ }
62
73
 
63
74
  @media #{$desktop} {
64
75
  justify-content: flex-end;
@@ -68,6 +79,7 @@
68
79
  align-items: flex-end;
69
80
  display: flex;
70
81
  flex-direction: row;
82
+ margin-bottom: 16px;
71
83
  width: 100%;
72
84
  }
73
85
  }
@@ -94,11 +106,11 @@
94
106
  }
95
107
 
96
108
  .periodContainer {
109
+ border: 1px solid $borders-dark-gray;
110
+ border-top: 0;
97
111
  display: flex;
98
112
  flex-flow: column;
99
113
  width: 60%;
100
- border: 1px solid $borders-dark-gray;
101
- border-top: 0;
102
114
  @media #{$desktop} {
103
115
  display: none;
104
116
  }
@@ -9,10 +9,13 @@
9
9
  border-radius: $default-container-border-radius;
10
10
  display: flex;
11
11
  flex-flow: column;
12
- gap: 8px;
13
12
  margin-bottom: 17px;
14
13
  padding: $default-container-padding;
15
14
 
15
+ > .periodHeader {
16
+ margin-bottom: 8px;
17
+ }
18
+
16
19
  @media #{$tablet-mobile} {
17
20
  border: 1px solid $borders-dark-gray;
18
21
  border-radius: $default-container-border-radius;
@@ -26,7 +29,6 @@
26
29
  border: 1px solid $borders-gray;
27
30
  border-radius: $default-container-border-radius;
28
31
  display: flex;
29
- gap: 16px;
30
32
  justify-content: center;
31
33
  margin-bottom: $default-spacing;
32
34
  padding: 16px;
@@ -46,10 +48,13 @@
46
48
 
47
49
  .header {
48
50
  align-items: center;
51
+ align-items: flex-start;
49
52
  display: flex;
50
53
  flex-direction: column;
51
- align-items: flex-start;
52
- gap: 8px;
54
+
55
+ > span {
56
+ margin-bottom: 8px;
57
+ }
53
58
 
54
59
  @media #{$tablet-mobile} {
55
60
  border: 0;
@@ -62,7 +67,9 @@
62
67
 
63
68
  .periodHeader {
64
69
  display: flex;
65
- gap: 16px;
70
+ > svg {
71
+ margin-left: 16px;
72
+ }
66
73
  }
67
74
 
68
75
  .issueDateContainer {
@@ -85,7 +92,10 @@
85
92
  align-items: center;
86
93
  display: flex;
87
94
  flex-direction: row;
88
- grid-gap: 5px;
95
+
96
+ > span {
97
+ margin-left: 5px;
98
+ }
89
99
  }
90
100
 
91
101
  .periodLabel {
@@ -97,6 +107,10 @@
97
107
 
98
108
  .debtState {
99
109
  width: fit-content;
110
+
111
+ @media #{$desktop} {
112
+ margin-top: 8px;
113
+ }
100
114
  }
101
115
 
102
116
  .text {
@@ -5,7 +5,6 @@
5
5
  align-items: center;
6
6
  display: flex;
7
7
  flex-flow: column;
8
- grid-gap: 5px;
9
8
  }
10
9
 
11
10
  .multipleSettlementsContainer {
@@ -15,7 +14,7 @@
15
14
 
16
15
  .purchasedRate {
17
16
  font-size: $purchased-rate-font-size;
18
- margin-bottom: 5px;
17
+ margin-bottom: 10px;
19
18
  }
20
19
 
21
20
  .category {
@@ -4,7 +4,6 @@
4
4
  align-items: center;
5
5
  display: flex;
6
6
  flex-flow: column;
7
- gap: 24px;
8
7
  justify-content: space-between;
9
8
  }
10
9
 
@@ -12,7 +11,11 @@
12
11
  align-items: center;
13
12
  display: flex;
14
13
  flex-flow: column;
15
- gap: 16px;
14
+ margin-bottom: 24px;
15
+
16
+ > .charge:nth-child(1) {
17
+ margin-bottom: 16px;
18
+ }
16
19
  }
17
20
 
18
21
  .charge {
@@ -6,7 +6,6 @@
6
6
  align-items: center;
7
7
  display: flex;
8
8
  flex-flow: column;
9
- gap: 16px;
10
9
  padding: 16px;
11
10
  width: 100%;
12
11
  }
@@ -22,7 +21,12 @@
22
21
 
23
22
  .titleAndIcon {
24
23
  display: flex;
25
- gap: 16px;
26
24
  justify-content: center;
25
+ margin-bottom: 16px;
27
26
  width: 100%;
27
+
28
+ > span {
29
+ margin-right: 16px;
30
+ }
31
+
28
32
  }
@@ -5,15 +5,21 @@
5
5
  .container {
6
6
  align-items: center;
7
7
  display: flex;
8
- gap: 8px;
8
+
9
+ > .title {
10
+ margin-right: 8px;
11
+ }
9
12
  }
10
13
 
11
14
  .containerWrap {
12
15
  align-items: center;
13
16
  display: flex;
14
17
  flex-direction: column;
15
- gap: 16px;
16
- padding: 24px 0 8px
18
+ padding: 24px 0 8px;
19
+
20
+ > .title {
21
+ margin-bottom: 16px;
22
+ }
17
23
  }
18
24
 
19
25
  .title {
@@ -25,14 +25,6 @@
25
25
  }
26
26
  }
27
27
 
28
- .ratesLegend {
29
- display: flex;
30
- flex-direction: column;
31
- border-top: 1px solid $borders-gray;
32
- gap: 24px;
33
- padding: 24px;
34
- }
35
-
36
28
  .content {
37
29
  display: flex;
38
30
 
@@ -8,10 +8,13 @@
8
8
  border-right: 1px solid $borders-gray;
9
9
  display: flex;
10
10
  flex-flow: column;
11
- gap: 16px;
12
- padding: 16px;
13
11
  justify-content: center;
14
12
  min-width: 50%;
13
+ padding: 16px;
14
+
15
+ > span {
16
+ margin-bottom: 16px;
17
+ }
15
18
 
16
19
  @media #{$tablet-mobile} {
17
20
  border-bottom: 1px solid $borders-gray;
@@ -23,13 +26,13 @@
23
26
 
24
27
  .rateAndCategoryContainer {
25
28
  flex-direction: column-reverse;
29
+ margin-bottom: 24px;
26
30
  }
27
31
 
28
32
  .data {
29
33
  align-items: center;
30
34
  display: flex;
31
35
  flex-flow: column;
32
- gap: 24px;
33
36
  height: 100%;
34
37
  justify-content: space-between;
35
38
  }
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
25
25
 
26
26
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
30
30
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
31
31
 
@@ -35,7 +35,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
35
35
 
36
36
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
37
37
 
38
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
40
  var SmartBillProvider = /*#__PURE__*/function (_PureComponent) {
41
41
  _inherits(SmartBillProvider, _PureComponent);
@@ -17,7 +17,7 @@ var _layout = _interopRequireDefault(require("./layout"));
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
20
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
20
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
21
 
22
22
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
23
 
@@ -11,7 +11,7 @@ var _season = require("../../shared/utils/season");
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
14
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
14
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
15
15
 
16
16
  var withSeason = function withSeason() {
17
17
  return function (Component) {
@@ -309,7 +309,8 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
309
309
  variant: 'body'
310
310
  }), _defineProperty(_DEFAULT_PROPS, PERIOD, {
311
311
  weight: 'medium',
312
- variant: 'subtitle1'
312
+ variant: 'subtitle1',
313
+ withMarkdown: true
313
314
  }), _defineProperty(_DEFAULT_PROPS, PERIOD_RESPONSIVE, {
314
315
  weight: 'regular'
315
316
  }), _defineProperty(_DEFAULT_PROPS, AMOUNT, {
@@ -487,7 +488,8 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
487
488
  }), _defineProperty(_DEFAULT_PROPS, SUMMARY_RESULT, {
488
489
  variant: 'subtitle2',
489
490
  weight: 'medium',
490
- color: COLORS.PRIMARY
491
+ color: COLORS.PRIMARY,
492
+ withMarkdown: true
491
493
  }), _defineProperty(_DEFAULT_PROPS, SUMMARY_RESULT_NUMBER, {
492
494
  variant: 'title2',
493
495
  weight: 'medium',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/utilitygo-smart-bill-web",
3
- "version": "1.13.2",
3
+ "version": "1.13.4",
4
4
  "description": "UtilityGO SmartBill Web",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",