@tenancy.nz/feature-ui 1.8.2 → 1.8.5

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.
@@ -10,9 +10,8 @@ var general = require('../utils/helpers/general.cjs');
10
10
 
11
11
  var _excluded = ["allhouseCount", "bookMeCount", "oneRoofCount", "realEstateCount", "tradeMeCount", "manualCount", "websiteCount", "heading"];
12
12
  function AnalyticsDoughnutChart(_ref) {
13
- var _ref$allhouseCount = _ref.allhouseCount,
14
- allhouseCount = _ref$allhouseCount === void 0 ? 0 : _ref$allhouseCount,
15
- _ref$bookMeCount = _ref.bookMeCount,
13
+ _ref.allhouseCount;
14
+ var _ref$bookMeCount = _ref.bookMeCount,
16
15
  bookMeCount = _ref$bookMeCount === void 0 ? 0 : _ref$bookMeCount,
17
16
  _ref$oneRoofCount = _ref.oneRoofCount,
18
17
  oneRoofCount = _ref$oneRoofCount === void 0 ? 0 : _ref$oneRoofCount,
@@ -32,23 +31,21 @@ function AnalyticsDoughnutChart(_ref) {
32
31
  count: general.parseChartCount(bookMeCount),
33
32
  slug: "bookme",
34
33
  title: "Tenant Portal"
35
- }, {
36
- color: "#000000",
37
- count: general.parseChartCount(allhouseCount),
38
- slug: "allhouse",
39
- title: "Allhouse",
40
- logo: /* @__PURE__ */React.createElement(partnerLogo.default, {
41
- name: "allhouse",
42
- width: {
43
- xs: "48px",
44
- md: "59px"
45
- },
46
- height: {
47
- xs: "12px",
48
- md: "14px"
49
- }
50
- })
51
- }, {
34
+ },
35
+ // {
36
+ // color: '#000000',
37
+ // count: parseChartCount(allhouseCount),
38
+ // slug: 'allhouse',
39
+ // title: 'Allhouse',
40
+ // logo: (
41
+ // <PartnerLogo
42
+ // name="allhouse"
43
+ // width={{xs: '48px', md: '59px'}}
44
+ // height={{xs: '12px', md: '14px'}}
45
+ // />
46
+ // ),
47
+ // },
48
+ {
52
49
  color: "#FF8500",
53
50
  count: general.parseChartCount(oneRoofCount),
54
51
  slug: "oneroof",
@@ -6,9 +6,8 @@ import { parseChartCount } from '../utils/helpers/general.js';
6
6
 
7
7
  var _excluded = ["allhouseCount", "bookMeCount", "oneRoofCount", "realEstateCount", "tradeMeCount", "manualCount", "websiteCount", "heading"];
8
8
  function AnalyticsDoughnutChart(_ref) {
9
- var _ref$allhouseCount = _ref.allhouseCount,
10
- allhouseCount = _ref$allhouseCount === void 0 ? 0 : _ref$allhouseCount,
11
- _ref$bookMeCount = _ref.bookMeCount,
9
+ _ref.allhouseCount;
10
+ var _ref$bookMeCount = _ref.bookMeCount,
12
11
  bookMeCount = _ref$bookMeCount === void 0 ? 0 : _ref$bookMeCount,
13
12
  _ref$oneRoofCount = _ref.oneRoofCount,
14
13
  oneRoofCount = _ref$oneRoofCount === void 0 ? 0 : _ref$oneRoofCount,
@@ -28,23 +27,21 @@ function AnalyticsDoughnutChart(_ref) {
28
27
  count: parseChartCount(bookMeCount),
29
28
  slug: "bookme",
30
29
  title: "Tenant Portal"
31
- }, {
32
- color: "#000000",
33
- count: parseChartCount(allhouseCount),
34
- slug: "allhouse",
35
- title: "Allhouse",
36
- logo: /* @__PURE__ */React.createElement(PartnerLogo, {
37
- name: "allhouse",
38
- width: {
39
- xs: "48px",
40
- md: "59px"
41
- },
42
- height: {
43
- xs: "12px",
44
- md: "14px"
45
- }
46
- })
47
- }, {
30
+ },
31
+ // {
32
+ // color: '#000000',
33
+ // count: parseChartCount(allhouseCount),
34
+ // slug: 'allhouse',
35
+ // title: 'Allhouse',
36
+ // logo: (
37
+ // <PartnerLogo
38
+ // name="allhouse"
39
+ // width={{xs: '48px', md: '59px'}}
40
+ // height={{xs: '12px', md: '14px'}}
41
+ // />
42
+ // ),
43
+ // },
44
+ {
48
45
  color: "#FF8500",
49
46
  count: parseChartCount(oneRoofCount),
50
47
  slug: "oneroof",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tenancy.nz/feature-ui",
3
3
  "description": "React UI feature components.",
4
- "version": "1.8.2",
4
+ "version": "1.8.5",
5
5
  "author": "TPS <https://www.tenancy.co.nz>",
6
6
  "type": "module",
7
7
  "main": "dist/cjs/index.cjs",
@@ -20,14 +20,14 @@
20
20
  "primereact": "3.1.3",
21
21
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
22
22
  "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
23
- "@tenancy.nz/ui": "1.8.2"
23
+ "@tenancy.nz/ui": "1.8.4"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@emotion/react": "^11.14.0",
27
27
  "@emotion/styled": "^11.14.1",
28
28
  "@mui/icons-material": "^7.2.0",
29
29
  "@mui/material": "^7.3.1",
30
- "@tenancy.nz/ui": "1.8.2"
30
+ "@tenancy.nz/ui": "1.8.4"
31
31
  },
32
32
  "dependencies": {
33
33
  "react-uid": "^2.4.0"