@make-software/csprclick-ui 1.9.0 → 1.10.1

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 (33) hide show
  1. package/dist/cjs/lib/assets/icons/ic-csprlive.svg +6 -0
  2. package/dist/cjs/lib/assets/icons/website-link.svg +10 -0
  3. package/dist/cjs/lib/assets/logos/cspr-name-logo-small.svg +5 -0
  4. package/dist/cjs/lib/index.js +64 -8
  5. package/dist/cjs/lib/lib/BuyCspr/styles.d.ts +3 -1
  6. package/dist/cjs/lib/lib/ClickUI.d.ts +2 -1
  7. package/dist/cjs/lib/lib/CrossNavigationMenu/StandWithUkraineBadge.d.ts +1 -1
  8. package/dist/cjs/lib/lib/InfoPopup/InfoPopup.d.ts +1 -1
  9. package/dist/cjs/lib/lib/SignIn/components/SignInWithEmail.d.ts +3 -3
  10. package/dist/cjs/lib/lib/SignIn/components/SocialLogin.d.ts +2 -2
  11. package/dist/cjs/lib/lib/ThemeSwitch/ThemeSwitch.d.ts +1 -1
  12. package/dist/cjs/lib/lib/TopBar/TopBar.d.ts +1 -0
  13. package/dist/cjs/lib/lib/TopBar/components/AccountCardMenuItem.d.ts +8 -0
  14. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/AccountTokensCarousel.d.ts +1 -0
  15. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/AccountTokensCarouselItem.d.ts +2 -0
  16. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/styles.d.ts +7 -0
  17. package/dist/cjs/lib/lib/TopBar/components/AccountTokensCarousel/types.d.ts +10 -0
  18. package/dist/cjs/lib/lib/TopBar/components/MobileDropdownContainer.d.ts +3 -3
  19. package/dist/cjs/lib/lib/TopBar/utils.d.ts +2 -0
  20. package/dist/cjs/lib/lib/components/IdentIconAvatar.d.ts +1 -1
  21. package/dist/cjs/lib/lib/components/ListContainers.d.ts +5 -5
  22. package/dist/cjs/lib/lib/components/ScrollContainer.d.ts +1 -1
  23. package/dist/cjs/lib/lib/components/WalletLogo.d.ts +1 -1
  24. package/dist/cjs/lib/lib/constants/modalStyles.d.ts +1 -1
  25. package/dist/cjs/lib/lib/index.d.ts +1 -0
  26. package/dist/cjs/lib/lib/types/theme.d.ts +177 -3
  27. package/dist/index.d.ts +193 -6
  28. package/dist/lib/assets/icons/ic-csprlive.svg +6 -0
  29. package/dist/lib/assets/icons/website-link.svg +10 -0
  30. package/dist/lib/assets/logos/cspr-name-logo-small.svg +5 -0
  31. package/dist/lib/index.js +64 -8
  32. package/package.json +12 -12
  33. 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.9.0",
3
+ "version": "1.10.1",
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.9.0",
16
- "@make-software/csprclick-core-types": "^1.9.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,95 +0,0 @@
1
- {
2
- "name": "@make-software/csprclick-ui",
3
- "version": "1.8.2",
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
- }