@reef-chain/react-lib 2.6.5 → 3.0.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.
Files changed (52) hide show
  1. package/dist/components/AccountSelector/AccountInlineInfo.d.ts +1 -0
  2. package/dist/components/AccountSelector/AccountSelector.d.ts +1 -0
  3. package/dist/components/AddLiquidity/index.d.ts +1 -0
  4. package/dist/components/EvmBind/EvmBindComponent.d.ts +1 -0
  5. package/dist/components/OverlayAction/index.d.ts +1 -1
  6. package/dist/components/Overlays/OverlayNFT.d.ts +1 -0
  7. package/dist/components/Overlays/OverlaySendNft.d.ts +1 -0
  8. package/dist/components/Overlays/OverlaySwap.d.ts +1 -0
  9. package/dist/components/PoolActions/ConfirmPopups/Address.d.ts +1 -0
  10. package/dist/components/PoolActions/ConfirmPopups/Bond.d.ts +1 -0
  11. package/dist/components/PoolActions/ConfirmPopups/Provide.d.ts +1 -0
  12. package/dist/components/PoolActions/ConfirmPopups/Send.d.ts +1 -0
  13. package/dist/components/PoolActions/ConfirmPopups/SummaryItem.d.ts +1 -0
  14. package/dist/components/PoolActions/ConfirmPopups/Token.d.ts +1 -0
  15. package/dist/components/PoolActions/ConfirmPopups/Trade.d.ts +1 -0
  16. package/dist/components/PoolActions/ConfirmPopups/Withdraw.d.ts +1 -0
  17. package/dist/components/PoolActions/Finalizing.d.ts +1 -0
  18. package/dist/components/PoolActions/Provide.d.ts +1 -0
  19. package/dist/components/PoolActions/TokenDropdown.d.ts +1 -0
  20. package/dist/components/PoolActions/TokenField.d.ts +1 -0
  21. package/dist/components/PoolActions/Trade.d.ts +1 -0
  22. package/dist/components/PoolActions/UsdAmountField.d.ts +1 -0
  23. package/dist/components/PoolActions/Withdraw.d.ts +1 -0
  24. package/dist/components/RemoveLiquidity/RemoveConfirmationModal.d.ts +1 -0
  25. package/dist/components/RemoveLiquidity/index.d.ts +1 -0
  26. package/dist/components/SelectToken/index.d.ts +1 -0
  27. package/dist/components/SwapComponent/SwapConfirmationModal.d.ts +1 -0
  28. package/dist/components/SwapComponent/index.d.ts +1 -0
  29. package/dist/components/TokenFields/TokenAmountField.d.ts +2 -2
  30. package/dist/components/TokenFields/TokenAmountView.d.ts +1 -0
  31. package/dist/components/Transfer/Send.d.ts +1 -0
  32. package/dist/components/Transfer/SendConfirmationModal.d.ts +1 -0
  33. package/dist/components/Transfer/TransferComponent.d.ts +1 -0
  34. package/dist/components/WalletSelector/WalletSelector.d.ts +1 -0
  35. package/dist/components/common/Alert/index.d.ts +1 -1
  36. package/dist/components/common/Button/index.d.ts +5 -5
  37. package/dist/components/common/Card/index.d.ts +3 -3
  38. package/dist/components/common/Display/index.d.ts +12 -12
  39. package/dist/components/common/Dropdown/index.d.ts +2 -2
  40. package/dist/components/common/Icons/index.d.ts +1 -1
  41. package/dist/components/common/Input/index.d.ts +2 -2
  42. package/dist/components/common/Label/index.d.ts +3 -3
  43. package/dist/components/common/List/index.d.ts +2 -2
  44. package/dist/components/common/Loading/index.d.ts +1 -0
  45. package/dist/components/common/Logos/MetaMaskLogo.d.ts +1 -0
  46. package/dist/components/common/Logos/WalletConnectLogo.d.ts +1 -0
  47. package/dist/components/common/Modal/index.d.ts +7 -7
  48. package/dist/components/common/Text/index.d.ts +6 -6
  49. package/dist/components/common/Tooltip/index.d.ts +1 -1
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.modern.js.map +1 -1
  52. package/package.json +9 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reef-chain/react-lib",
3
- "version": "2.6.5",
3
+ "version": "3.0.0",
4
4
  "description": "Reef React Library",
5
5
  "author": "Reef chain",
6
6
  "license": "MIT",
@@ -14,7 +14,8 @@
14
14
  "scripts": {
15
15
  "mb": "microbundle --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx --format modern,cjs",
16
16
  "build": "yarn run mb",
17
- "build:clean": "rm -rf node_modules&&rm -f yarn.lock&&yarn install&&yarn build",
17
+ "clean": "rm -rf node_modules&&rm -f yarn.lock&&yarn install",
18
+ "build:clean": "yarn clean&&yarn build",
18
19
  "start": "yarn run mb watch --no-compress",
19
20
  "prepare": "run-s build",
20
21
  "test": "run-s test:unit test:lint test:build",
@@ -31,7 +32,7 @@
31
32
  "@fortawesome/react-fontawesome": "^0.2.0",
32
33
  "@polkadot/react-identicon": "^3.6.6",
33
34
  "@reef-chain/evm-provider": "^2.0.3",
34
- "@reef-chain/ui-kit": "^2.0.7",
35
+ "@reef-chain/ui-kit": "^3.0.0",
35
36
  "@reef-chain/util-lib": "^2.5.7",
36
37
  "@types/react-router-dom": "^5.3.0",
37
38
  "axios": "^1.6.5",
@@ -48,12 +49,10 @@
48
49
  "rxjs": "^7.5.4"
49
50
  },
50
51
  "resolutions": {
51
- "@types/react": "17.0.2",
52
- "@types/react-dom": "17.0.2",
53
52
  "ethers": "^5.7.0"
54
53
  },
55
54
  "peerDependencies": {
56
- "react": "^17.0.2"
55
+ "react": "^18.2.0"
57
56
  },
58
57
  "devDependencies": {
59
58
  "@testing-library/jest-dom": "^4.2.4",
@@ -62,9 +61,9 @@
62
61
  "@types/bootstrap": "^5.1.12",
63
62
  "@types/jest": "^25.1.4",
64
63
  "@types/node": "^12.12.38",
65
- "@types/react": "^17.0.2",
64
+ "@types/react": "^18.2.45",
66
65
  "@types/react-copy-to-clipboard": "^5.0.1",
67
- "@types/react-dom": "^17.0.2",
66
+ "@types/react-dom": "^18.2.18",
68
67
  "@types/react-tooltip": "^4.2.4",
69
68
  "@types/validator": "^13.1.0",
70
69
  "@typescript-eslint/eslint-plugin": "^6.11.0",
@@ -75,8 +74,8 @@
75
74
  "eslint-config-airbnb": "^18.2.1",
76
75
  "eslint-plugin-import": "^2.23.4",
77
76
  "eslint-plugin-jsx-a11y": "^6.4.1",
78
- "eslint-plugin-react": "^7.24.0",
79
- "eslint-plugin-react-hooks": "^4.2.0",
77
+ "eslint-plugin-react": "^7.33.2",
78
+ "eslint-plugin-react-hooks": "^4.6.0",
80
79
  "gh-pages": "^2.2.0",
81
80
  "microbundle": "^0.14.2",
82
81
  "npm-run-all": "^4.1.5",