@make-software/csprclick-ui 1.2.1 → 1.3.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 (33) hide show
  1. package/dist/cjs/lib/assets/icons/ic-no-provider.png +0 -0
  2. package/dist/cjs/lib/assets/icons/rate.svg +3 -0
  3. package/dist/cjs/lib/assets/logos/logo.svg +4 -0
  4. package/dist/cjs/lib/index.js +5 -5
  5. package/dist/cjs/lib/lib/BuyCspr/BuyCSPRContainer.d.ts +9 -0
  6. package/dist/cjs/lib/lib/BuyCspr/api/onRampApi.d.ts +9 -0
  7. package/dist/cjs/lib/lib/BuyCspr/api/useOnRamApi.d.ts +14 -0
  8. package/dist/cjs/lib/lib/BuyCspr/components/BuyCSPRForm.d.ts +2 -0
  9. package/dist/cjs/lib/lib/BuyCspr/components/ChooseProvider.d.ts +12 -0
  10. package/dist/cjs/lib/lib/BuyCspr/components/NoAvailableProviders.d.ts +11 -0
  11. package/dist/cjs/lib/lib/BuyCspr/components/ProviderRow.d.ts +3 -0
  12. package/dist/cjs/lib/lib/BuyCspr/components/RedirectionBlocked.d.ts +6 -0
  13. package/dist/cjs/lib/lib/BuyCspr/types.d.ts +113 -0
  14. package/dist/cjs/lib/lib/ClickModal.d.ts +1 -0
  15. package/dist/cjs/lib/lib/{ClickTopBar.d.ts → ClickUI.d.ts} +9 -4
  16. package/dist/cjs/lib/lib/InfoPopup/InfoPopup.d.ts +10 -0
  17. package/dist/cjs/lib/lib/OneClickSignIn/OneClickSignIn.d.ts +12 -0
  18. package/dist/cjs/lib/lib/{TopBar/components → SkeletonLoader}/SkeletonLoader.d.ts +1 -1
  19. package/dist/cjs/lib/lib/TopBar/components/BuyCSPRMenuItem.d.ts +1 -1
  20. package/dist/cjs/lib/lib/components/ScrollContainer.d.ts +5 -2
  21. package/dist/cjs/lib/lib/constants/index.d.ts +1 -0
  22. package/dist/cjs/lib/lib/index.d.ts +2 -2
  23. package/dist/cjs/lib/lib/types/theme.d.ts +17 -0
  24. package/dist/index.d.ts +31 -7
  25. package/dist/lib/assets/icons/ic-no-provider.png +0 -0
  26. package/dist/lib/assets/icons/rate.svg +3 -0
  27. package/dist/lib/assets/logos/logo.svg +4 -0
  28. package/dist/lib/index.js +6 -6
  29. package/package.json +4 -4
  30. package/package.json.local +2 -2
  31. package/dist/cjs/lib/lib/ChooseAccount/ChooseAccount.d.ts +0 -12
  32. package/dist/cjs/lib/lib/WarningNoticePopup/WarningNoticePopup.d.ts +0 -10
  33. /package/dist/cjs/lib/lib/{ChooseAccount → OneClickSignIn}/ChooseAccountModal.d.ts +0 -0
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@make-software/csprclick-ui",
3
- "version": "1.2.1",
3
+ "version": "1.3.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
  "peerDependencies": {
10
- "@make-software/csprclick-core-client": "^1.2.0",
11
- "@make-software/csprclick-core-types": "^1.2.0",
10
+ "@make-software/csprclick-core-client": "^1.3.0",
11
+ "@make-software/csprclick-core-types": "^1.3.0",
12
12
  "react": ">=17.0.2",
13
13
  "react-country-flag": "^3.1.0",
14
14
  "react-dom": ">=17.0.2",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/plugin-proposal-private-property-in-object": "^7.21.0",
52
- "@make-software/cspr-ui": "github:make-software/cspr-ui-library#3596c664fcbb25bf03d95fd1af3af68b9c42a967",
52
+ "@make-software/cspr-ui": "github:make-software/cspr-ui-library#c6e4e4d993dafb9046670c5f3283cdb7526289f3",
53
53
  "@rollup/plugin-commonjs": "^25.0.4",
54
54
  "@rollup/plugin-image": "^3.0.2",
55
55
  "@rollup/plugin-json": "^6.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@make-software/csprclick-ui",
3
- "version": "1.1.0",
3
+ "version": "1.3.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",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/plugin-proposal-private-property-in-object": "^7.21.0",
52
- "@make-software/cspr-ui": "github:make-software/cspr-ui-library#48f984f2132db201b4551382214c87d10404117e",
52
+ "@make-software/cspr-ui": "github:make-software/cspr-ui-library#c6e4e4d993dafb9046670c5f3283cdb7526289f3",
53
53
  "@rollup/plugin-commonjs": "^25.0.4",
54
54
  "@rollup/plugin-image": "^3.0.2",
55
55
  "@rollup/plugin-json": "^6.0.0",
@@ -1,12 +0,0 @@
1
- import { AccountType } from '@make-software/csprclick-core-types';
2
- import { ThemeModeType } from "../types";
3
- interface ChooseAccountProps {
4
- accounts: AccountType[];
5
- onAccountClick: (acc: AccountType | null) => Promise<void>;
6
- handleClose: () => void;
7
- onChooseAccount: () => void;
8
- themeMode?: ThemeModeType;
9
- }
10
- export declare const ChooseAccountInner: (props: ChooseAccountProps) => import("react/jsx-runtime").JSX.Element;
11
- declare const ChooseAccount: (props: ChooseAccountProps) => import("react/jsx-runtime").JSX.Element;
12
- export default ChooseAccount;
@@ -1,10 +0,0 @@
1
- import { ThemeModeType } from '@make-software/cspr-ui';
2
- import React from "react";
3
- export interface WarningNoticePopupRef {
4
- hide: () => void;
5
- }
6
- interface WarningNoticePopupProps {
7
- themeMode?: ThemeModeType;
8
- }
9
- export declare const WarningNoticePopup: React.ForwardRefExoticComponent<WarningNoticePopupProps & React.RefAttributes<WarningNoticePopupRef>>;
10
- export default WarningNoticePopup;