@j2inn/fin5-ui-utils 6.0.0 → 6.0.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.
Files changed (51) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.js +4 -0
  3. package/dist/index.js.map +1 -1
  4. package/dist/react/components/charts/QRCode.d.ts +2 -2
  5. package/dist/react/components/charts/QRCode.js +2 -1
  6. package/dist/react/components/charts/QRCode.js.map +1 -1
  7. package/dist/react/components/charts/line-bar/Chart.d.ts +166 -0
  8. package/dist/react/components/charts/line-bar/Chart.js +443 -0
  9. package/dist/react/components/charts/line-bar/Chart.js.map +1 -0
  10. package/dist/react/components/charts/line-bar/HGridChart.d.ts +58 -0
  11. package/dist/react/components/charts/line-bar/HGridChart.js +286 -0
  12. package/dist/react/components/charts/line-bar/HGridChart.js.map +1 -0
  13. package/dist/react/components/charts/pie/PieChart.d.ts +3 -2
  14. package/dist/react/components/charts/pie/PieChart.js +3 -1
  15. package/dist/react/components/charts/pie/PieChart.js.map +1 -1
  16. package/dist/react/components/charts/pie/SimplePieChart.d.ts +3 -2
  17. package/dist/react/components/charts/pie/SimplePieChart.js.map +1 -1
  18. package/dist/react/components/makeCustomElement.d.ts +16 -0
  19. package/dist/react/components/makeCustomElement.js +151 -0
  20. package/dist/react/components/makeCustomElement.js.map +1 -0
  21. package/dist/react/hooks/useFin5ColorScheme.js +30 -23
  22. package/dist/react/hooks/useFin5ColorScheme.js.map +1 -1
  23. package/dist/react/hooks/useScreenSize.d.ts +7 -0
  24. package/dist/react/hooks/useScreenSize.js +32 -0
  25. package/dist/react/hooks/useScreenSize.js.map +1 -0
  26. package/dist_es/index.d.ts +4 -0
  27. package/dist_es/index.js +4 -0
  28. package/dist_es/index.js.map +1 -1
  29. package/dist_es/react/components/charts/QRCode.d.ts +2 -2
  30. package/dist_es/react/components/charts/QRCode.js +1 -2
  31. package/dist_es/react/components/charts/QRCode.js.map +1 -1
  32. package/dist_es/react/components/charts/line-bar/Chart.d.ts +166 -0
  33. package/dist_es/react/components/charts/line-bar/Chart.js +416 -0
  34. package/dist_es/react/components/charts/line-bar/Chart.js.map +1 -0
  35. package/dist_es/react/components/charts/line-bar/HGridChart.d.ts +58 -0
  36. package/dist_es/react/components/charts/line-bar/HGridChart.js +251 -0
  37. package/dist_es/react/components/charts/line-bar/HGridChart.js.map +1 -0
  38. package/dist_es/react/components/charts/pie/PieChart.d.ts +3 -2
  39. package/dist_es/react/components/charts/pie/PieChart.js +3 -1
  40. package/dist_es/react/components/charts/pie/PieChart.js.map +1 -1
  41. package/dist_es/react/components/charts/pie/SimplePieChart.d.ts +3 -2
  42. package/dist_es/react/components/charts/pie/SimplePieChart.js.map +1 -1
  43. package/dist_es/react/components/makeCustomElement.d.ts +16 -0
  44. package/dist_es/react/components/makeCustomElement.js +143 -0
  45. package/dist_es/react/components/makeCustomElement.js.map +1 -0
  46. package/dist_es/react/hooks/useFin5ColorScheme.js +30 -23
  47. package/dist_es/react/hooks/useFin5ColorScheme.js.map +1 -1
  48. package/dist_es/react/hooks/useScreenSize.d.ts +7 -0
  49. package/dist_es/react/hooks/useScreenSize.js +28 -0
  50. package/dist_es/react/hooks/useScreenSize.js.map +1 -0
  51. package/package.json +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@j2inn/fin5-ui-utils",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "A set of useful client-side utilities useful for creating UI applications on top of FIN 5",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "qrious": "^4.0.2"
33
33
  },
34
34
  "peerDependencies": {
35
- "@amcharts/amcharts5": "^5.4.4",
35
+ "@amcharts/amcharts5": "^5.9.13",
36
36
  "@j2inn/app": "^6.0.0",
37
37
  "@j2inn/app-react": "^2.0.0",
38
38
  "@j2inn/i18n": "^1.0.0",
@@ -43,6 +43,7 @@
43
43
  "haystack-nclient": "^4.0.0",
44
44
  "haystack-react": "^4.0.0",
45
45
  "haystack-units": "^2.0.0",
46
+ "lodash": "^4.17.21",
46
47
  "react": "^18.2.0",
47
48
  "react-dom": "^18.2.0",
48
49
  "react-jss": "^10.9.2",
@@ -68,8 +69,10 @@
68
69
  "@babel/runtime": "^7.19.0",
69
70
  "@types/jest": "^29.0.3",
70
71
  "@types/js-yaml": "^4.0.5",
72
+ "@types/lodash": "^4.17.19",
71
73
  "@types/node": "^18.7.18",
72
74
  "@types/react": "^18.0.20",
75
+ "@types/react-dom": "^18.0.20",
73
76
  "@typescript-eslint/eslint-plugin": "^5.37.0",
74
77
  "@typescript-eslint/parser": "^5.37.0",
75
78
  "babel-eslint": "^10.1.0",