@make-software/csprclick-ui 1.8.2 → 1.10.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 (36) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/lib/assets/icons/ic-csprlive.svg +6 -0
  3. package/dist/cjs/lib/assets/icons/website-link.svg +10 -0
  4. package/dist/cjs/lib/assets/logos/cspr-name-logo-small.svg +5 -0
  5. package/dist/cjs/lib/index.js +64 -8
  6. package/dist/cjs/lib/lib/BuyCspr/styles.d.ts +3 -1
  7. package/dist/cjs/lib/lib/ClickUI.d.ts +2 -1
  8. package/dist/cjs/lib/lib/CrossNavigationMenu/StandWithUkraineBadge.d.ts +1 -1
  9. package/dist/cjs/lib/lib/InfoPopup/InfoPopup.d.ts +1 -1
  10. package/dist/cjs/lib/lib/SignIn/components/SignInWithEmail.d.ts +3 -3
  11. package/dist/cjs/lib/lib/SignIn/components/SocialLogin.d.ts +2 -2
  12. package/dist/cjs/lib/lib/ThemeSwitch/ThemeSwitch.d.ts +1 -1
  13. package/dist/cjs/lib/lib/TopBar/TopBar.d.ts +1 -0
  14. package/dist/cjs/lib/lib/TopBar/components/AccountCardMenuItem.d.ts +8 -0
  15. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/AccountTokensCarousel.d.ts +1 -0
  16. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/AccountTokensCarouselItem.d.ts +8 -0
  17. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/styles.d.ts +8 -0
  18. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/types.d.ts +10 -0
  19. package/dist/cjs/lib/lib/TopBar/components/MobileDropdownContainer.d.ts +3 -3
  20. package/dist/cjs/lib/lib/TopBar/utils.d.ts +2 -0
  21. package/dist/cjs/lib/lib/components/IdentIconAvatar.d.ts +1 -1
  22. package/dist/cjs/lib/lib/components/ListContainers.d.ts +5 -5
  23. package/dist/cjs/lib/lib/components/ScrollContainer.d.ts +1 -1
  24. package/dist/cjs/lib/lib/components/WalletLogo.d.ts +1 -1
  25. package/dist/cjs/lib/lib/constants/modalStyles.d.ts +1 -1
  26. package/dist/cjs/lib/lib/index.d.ts +1 -0
  27. package/dist/cjs/lib/lib/types/theme.d.ts +177 -3
  28. package/dist/index.d.ts +193 -6
  29. package/dist/lib/assets/icons/ic-csprlive.svg +6 -0
  30. package/dist/lib/assets/icons/website-link.svg +10 -0
  31. package/dist/lib/assets/logos/cspr-name-logo-small.svg +5 -0
  32. package/dist/lib/index.js +64 -8
  33. package/package.json +12 -12
  34. package/dist/cjs/lib/assets/logos/casperdash.svg +0 -9
  35. package/dist/lib/assets/logos/casperdash.svg +0 -9
  36. package/package.json.local +0 -95
package/package.json CHANGED
@@ -1,22 +1,23 @@
1
1
  {
2
2
  "name": "@make-software/csprclick-ui",
3
- "version": "1.8.2",
3
+ "version": "1.10.0",
4
4
  "description": "CSPR.click UI package for React applications",
5
5
  "main": "dist/cjs/lib/index.js",
6
6
  "module": "dist/lib/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "repository": "https://github.com/make-software/casper-click-react",
9
9
  "dependencies": {
10
- "qrcode.react": "^3.1.0",
10
+ "@make-software/cspr-design": "github:make-software/cspr-design#a53a7d2a31fc8a5e0b3dd9272a609422c3d4bedc",
11
+ "qrcode.react": "^4.2.0",
11
12
  "react-loading-skeleton": "^3.3.1",
12
- "react-select": "^5.8.3"
13
+ "react-select": "^5.10.2"
13
14
  },
14
15
  "peerDependencies": {
15
- "@make-software/csprclick-core-client": "^1.8.0",
16
- "@make-software/csprclick-core-types": "^1.8.0",
17
- "react": ">=17.0.2",
16
+ "@make-software/csprclick-core-client": "^1.10.0",
17
+ "@make-software/csprclick-core-types": "^1.10.0",
18
+ "react": "^18.3.1",
18
19
  "react-country-flag": "^3.1.0",
19
- "react-dom": ">=17.0.2",
20
+ "react-dom": "^18.3.1",
20
21
  "react-modal": "^3.16.1",
21
22
  "styled-components": "^5.3.9"
22
23
  },
@@ -54,7 +55,6 @@
54
55
  },
55
56
  "devDependencies": {
56
57
  "@babel/plugin-proposal-private-property-in-object": "^7.21.0",
57
- "@make-software/cspr-ui": "github:make-software/cspr-ui-library#1baeda1b50aeadaf3eacab9c2bb2e4320d563c77",
58
58
  "@rollup/plugin-commonjs": "^25.0.4",
59
59
  "@rollup/plugin-image": "^3.0.2",
60
60
  "@rollup/plugin-json": "^6.0.0",
@@ -63,8 +63,8 @@
63
63
  "@rollup/plugin-terser": "^0.4.3",
64
64
  "@rollup/plugin-typescript": "^11.1.3",
65
65
  "@types/node": "^16.18.21",
66
- "@types/react": "^18.0.30",
67
- "@types/react-dom": "^18.0.11",
66
+ "@types/react": "^18.3.3",
67
+ "@types/react-dom": "^18.3.2",
68
68
  "@types/react-modal": "^3.13.1",
69
69
  "@types/styled-components": "^5.1.26",
70
70
  "@typescript-eslint/eslint-plugin": "^5.57.1",
@@ -77,8 +77,8 @@
77
77
  "eslint-plugin-prettier": "^5.1.3",
78
78
  "gulp": "^5.0.0",
79
79
  "prettier": "^3.2.5",
80
- "react": "18.2.0",
81
- "react-dom": "18.2.0",
80
+ "react": "^18.3.1",
81
+ "react-dom": "^18.3.1",
82
82
  "rollup": "^3.28.1",
83
83
  "rollup-plugin-dts": "^6.0.0",
84
84
  "rollup-plugin-node-externals": "^6.1.1",
@@ -1,9 +0,0 @@
1
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet">
2
-
3
- <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
4
- fill="#d71111" stroke="none">
5
- <path d="M1805 5010 c-98 -25 -290 -102 -415 -166 -355 -181 -667 -459 -883 -789 -76 -117 -206 -382 -252 -515 -52 -150 -100 -343 -127 -510 -20 -130 -23 -179 -23 -465 0 -328 5 -388 47 -605 92 -481 295 -886 613 -1228 214 -230 579 -463 907 -580 155 -55 221 -66 301 -52 216 39 354 239 319 463 -24 152 -103 244 -272 317 -460 199 -770 580 -900 1105 -110 448 -85 980 67 1380 48 126 113 251 185 359 72 106 252 290 352 360 66 47 221 130 353 188 116 52 193 157 214 291 34 219 -103 417 -315 456 -77 14 -87 14 -171 -9z"/>
6
- <path d="M3516 5009 c-78 -13 -168 -63 -225 -124 -82 -91 -116 -219 -92 -347 26 -133 99 -220 250 -297 243 -125 390 -272 534 -534 36 -65 82 -132 110 -160 88 -90 231 -135 386 -122 316 25 509 230 447 475 -39 153 -213 416 -399 603 -154 155 -319 271 -530 372 -246 118 -370 153 -481 134z"/>
7
- <path d="M4409 1847 c-153 -29 -264 -115 -331 -257 -22 -47 -53 -112 -69 -145 -52 -110 -131 -219 -233 -321 -113 -113 -179 -160 -326 -236 -151 -76 -211 -144 -245 -275 -51 -197 34 -387 213 -475 60 -30 75 -33 157 -33 80 0 101 5 190 39 204 78 387 178 555 304 93 69 263 234 340 327 135 165 274 397 336 560 102 271 -91 495 -446 519 -41 3 -105 0 -141 -7z"/>
8
- </g>
9
- </svg>
@@ -1,9 +0,0 @@
1
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet">
2
-
3
- <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
4
- fill="#d71111" stroke="none">
5
- <path d="M1805 5010 c-98 -25 -290 -102 -415 -166 -355 -181 -667 -459 -883 -789 -76 -117 -206 -382 -252 -515 -52 -150 -100 -343 -127 -510 -20 -130 -23 -179 -23 -465 0 -328 5 -388 47 -605 92 -481 295 -886 613 -1228 214 -230 579 -463 907 -580 155 -55 221 -66 301 -52 216 39 354 239 319 463 -24 152 -103 244 -272 317 -460 199 -770 580 -900 1105 -110 448 -85 980 67 1380 48 126 113 251 185 359 72 106 252 290 352 360 66 47 221 130 353 188 116 52 193 157 214 291 34 219 -103 417 -315 456 -77 14 -87 14 -171 -9z"/>
6
- <path d="M3516 5009 c-78 -13 -168 -63 -225 -124 -82 -91 -116 -219 -92 -347 26 -133 99 -220 250 -297 243 -125 390 -272 534 -534 36 -65 82 -132 110 -160 88 -90 231 -135 386 -122 316 25 509 230 447 475 -39 153 -213 416 -399 603 -154 155 -319 271 -530 372 -246 118 -370 153 -481 134z"/>
7
- <path d="M4409 1847 c-153 -29 -264 -115 -331 -257 -22 -47 -53 -112 -69 -145 -52 -110 -131 -219 -233 -321 -113 -113 -179 -160 -326 -236 -151 -76 -211 -144 -245 -275 -51 -197 34 -387 213 -475 60 -30 75 -33 157 -33 80 0 101 5 190 39 204 78 387 178 555 304 93 69 263 234 340 327 135 165 274 397 336 560 102 271 -91 495 -446 519 -41 3 -105 0 -141 -7z"/>
8
- </g>
9
- </svg>
@@ -1,95 +0,0 @@
1
- {
2
- "name": "@make-software/csprclick-ui",
3
- "version": "1.8.1",
4
- "description": "CSPR.click UI package for React applications",
5
- "main": "dist/cjs/lib/index.js",
6
- "module": "dist/lib/index.js",
7
- "types": "dist/index.d.ts",
8
- "repository": "https://github.com/make-software/casper-click-react",
9
- "dependencies": {
10
- "qrcode.react": "^3.1.0",
11
- "react-loading-skeleton": "^3.3.1",
12
- "react-select": "^5.8.3"
13
- },
14
- "peerDependencies": {
15
- "@make-software/csprclick-core-client": "file:../casper-click-websdk/dist/web-sdk",
16
- "@make-software/csprclick-core-types": "file:../casper-click-websdk/dist/types",
17
- "react": ">=17.0.2",
18
- "react-country-flag": "^3.1.0",
19
- "react-dom": ">=17.0.2",
20
- "react-modal": "^3.16.1",
21
- "styled-components": "^5.3.9"
22
- },
23
- "scripts": {
24
- "build:rollup": "shx rm -rf ./dist && cross-env NODE_ENV=production DOTENV_FILE=.env.prod-env rollup -c --bundleConfigAsCjs -e react,react-dom,styled-components && gulp",
25
- "build:rollup:dev": "shx rm -rf ./dist && cross-env DOTENV_FILE=.env.dev-env rollup -c --bundleConfigAsCjs -e react,react-dom,styled-components && gulp",
26
- "build:dist": "shx rm -rf ./dist && npm run build:esm && npm run build:cjs",
27
- "build:esm": "tsc",
28
- "build:cjs": "tsc --module commonjs --outDir dist/cjs",
29
- "lint": "eslint .",
30
- "lint:fix": "eslint --fix",
31
- "format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\" --config ./.prettierrc"
32
- },
33
- "eslintConfig": {
34
- "extends": [
35
- "react-app",
36
- "react-app/jest"
37
- ]
38
- },
39
- "browserslist": {
40
- "production": [
41
- "chrome >= 67",
42
- "edge >= 79",
43
- "firefox >= 68",
44
- "opera >= 54",
45
- "safari >= 14",
46
- "not dead",
47
- "not op_mini all"
48
- ],
49
- "development": [
50
- "last 1 chrome version",
51
- "last 1 firefox version",
52
- "last 1 safari version"
53
- ]
54
- },
55
- "devDependencies": {
56
- "@babel/plugin-proposal-private-property-in-object": "^7.21.0",
57
- "@make-software/cspr-ui": "github:make-software/cspr-ui-library#1baeda1b50aeadaf3eacab9c2bb2e4320d563c77",
58
- "@rollup/plugin-commonjs": "^25.0.4",
59
- "@rollup/plugin-image": "^3.0.2",
60
- "@rollup/plugin-json": "^6.0.0",
61
- "@rollup/plugin-node-resolve": "^15.2.1",
62
- "@rollup/plugin-replace": "^5.0.2",
63
- "@rollup/plugin-terser": "^0.4.3",
64
- "@rollup/plugin-typescript": "^11.1.3",
65
- "@types/node": "^16.18.21",
66
- "@types/react": "^18.0.30",
67
- "@types/react-dom": "^18.0.11",
68
- "@types/react-modal": "^3.13.1",
69
- "@types/styled-components": "^5.1.26",
70
- "@typescript-eslint/eslint-plugin": "^5.57.1",
71
- "@typescript-eslint/parser": "^5.57.1",
72
- "cross-env": "^7.0.3",
73
- "dotenv": "^16.3.1",
74
- "eslint": "^8.37.0",
75
- "eslint-config-prettier": "^8.8.0",
76
- "eslint-plugin-prettier": "^4.2.1",
77
- "eslint-plugin-react": "^7.32.2",
78
- "gulp": "^5.0.0",
79
- "prettier": "^2.8.7",
80
- "react": "18.2.0",
81
- "react-dom": "18.2.0",
82
- "rollup": "^3.28.1",
83
- "rollup-plugin-dts": "^6.0.0",
84
- "rollup-plugin-node-externals": "^6.1.1",
85
- "shx": "^0.3.4",
86
- "typescript": "^4.9.5"
87
- },
88
- "keywords": [
89
- "Casper",
90
- "CSPR.click",
91
- "blockchain",
92
- "wallet",
93
- "react"
94
- ]
95
- }