@make-software/csprclick-ui 1.0.2 → 1.1.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 (28) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/lib/assets/icons/ic-info-important.svg +10 -0
  3. package/dist/cjs/lib/assets/logos/apple-logo.svg +3 -0
  4. package/dist/cjs/lib/assets/logos/discord-logo.svg +3 -0
  5. package/dist/cjs/lib/assets/logos/facebook-logo.svg +9 -0
  6. package/dist/cjs/lib/assets/logos/google-logo.svg +6 -0
  7. package/dist/cjs/lib/assets/logos/x-logo.svg +3 -0
  8. package/dist/cjs/lib/index.js +3 -3
  9. package/dist/cjs/lib/lib/ProviderConnection/components/ListAccounts.d.ts +4 -2
  10. package/dist/cjs/lib/lib/SignIn/components/SignInWithEmail.d.ts +5 -2
  11. package/dist/cjs/lib/lib/SignIn/components/SocialLogin.d.ts +5 -2
  12. package/dist/cjs/lib/lib/SwitchCurrency/components/CurrencyItemContainer.d.ts +7 -1
  13. package/dist/cjs/lib/lib/TopBar/AccountDropdown.d.ts +1 -0
  14. package/dist/cjs/lib/lib/TopBar/components/BuyCSPRMenuItem.d.ts +1 -4
  15. package/dist/cjs/lib/lib/TopBar/hooks/useClickBadge.d.ts +5 -0
  16. package/dist/cjs/lib/lib/index.d.ts +1 -0
  17. package/dist/index.d.ts +9 -8
  18. package/dist/lib/assets/icons/ic-info-important.svg +10 -0
  19. package/dist/lib/assets/logos/apple-logo.svg +3 -0
  20. package/dist/lib/assets/logos/discord-logo.svg +3 -0
  21. package/dist/lib/assets/logos/facebook-logo.svg +9 -0
  22. package/dist/lib/assets/logos/google-logo.svg +6 -0
  23. package/dist/lib/assets/logos/x-logo.svg +3 -0
  24. package/dist/lib/index.js +6 -6
  25. package/package.json +4 -4
  26. package/package.json.local +90 -0
  27. package/dist/cjs/lib/assets/logos/google-social-logo.svg +0 -1
  28. package/dist/lib/assets/logos/google-social-logo.svg +0 -1
package/README.md CHANGED
@@ -8,3 +8,4 @@ template for `create-react-app`. Check it out here: https://github.com/make-soft
8
8
  ## Integrating CSPR.click
9
9
 
10
10
  If you want to add CSPR.click to an existing application or you can't use the CRA template for any reason, then check our guide [Integrating the UI SDK into your application](https://docs.cspr.click/ui-sdk/integrating-the-ui-sdk-into-your-application).
11
+
@@ -0,0 +1,10 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_970_4792)">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8ZM8.72455 3.91047L7.26956 3.91047V9.00128H8.72455L8.72455 3.91047ZM7.99925 12C7.59746 12 7.27175 11.6744 7.27175 11.2727C7.27175 10.8711 7.59746 10.5455 7.99925 10.5455C8.40103 10.5455 8.72675 10.8711 8.72675 11.2727C8.72675 11.6744 8.40103 12 7.99925 12Z" fill="#7490FF"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_970_4792">
7
+ <rect width="16" height="16" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19.3839 7.50055C19.2563 7.59956 17.0032 8.86909 17.0032 11.692C17.0032 14.9571 19.8701 16.1122 19.9559 16.1408C19.9427 16.2112 19.5005 17.7228 18.4444 19.2629C17.5027 20.6183 16.5192 21.9714 15.023 21.9714C13.5269 21.9714 13.1419 21.1023 11.4147 21.1023C9.73151 21.1023 9.13305 22 7.76452 22C6.39598 22 5.44108 20.7459 4.34317 19.2057C3.07145 17.3971 2.04395 14.5875 2.04395 11.9208C2.04395 7.64356 4.82502 5.37514 7.5621 5.37514C9.01644 5.37514 10.2288 6.33003 11.1419 6.33003C12.0109 6.33003 13.3663 5.31793 15.0208 5.31793C15.6479 5.31793 17.9009 5.37514 19.3839 7.50055ZM14.2354 3.50715C14.9196 2.69527 15.4037 1.56876 15.4037 0.442244C15.4037 0.286029 15.3905 0.127613 15.3619 0C14.2486 0.0418042 12.924 0.741474 12.1254 1.66777C11.4983 2.38064 10.913 3.50715 10.913 4.64906C10.913 4.82068 10.9416 4.9923 10.9548 5.0473C11.0252 5.06051 11.1397 5.07591 11.2541 5.07591C12.253 5.07591 13.5093 4.40704 14.2354 3.50715Z" fill="black"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18.6361 3.91119C17.212 3.24489 15.6893 2.76065 14.0973 2.48492C13.9018 2.8384 13.6734 3.31383 13.5159 3.69204C11.8236 3.43754 10.1469 3.43754 8.48573 3.69204C8.32828 3.31383 8.09467 2.8384 7.89741 2.48492C6.30374 2.76065 4.77928 3.24667 3.35518 3.91472C0.482756 8.25533 -0.29591 12.4881 0.0934236 16.6608C1.99856 18.0835 3.84487 18.9478 5.66003 19.5133C6.1082 18.8965 6.50791 18.2408 6.85224 17.5498C6.19644 17.3006 5.56832 16.9931 4.97482 16.6361C5.13227 16.5194 5.28628 16.3975 5.43508 16.272C9.05501 17.9651 12.9882 17.9651 16.5648 16.272C16.7154 16.3975 16.8694 16.5194 17.0251 16.6361C16.4299 16.9948 15.8 17.3023 15.1442 17.5516C15.4885 18.2408 15.8865 18.8983 16.3364 19.5151C18.1533 18.9495 20.0014 18.0853 21.9065 16.6608C22.3633 11.8236 21.1261 7.62968 18.6361 3.91119ZM7.34541 14.0946C6.25874 14.0946 5.36759 13.0802 5.36759 11.8448C5.36759 10.6094 6.23972 9.59321 7.34541 9.59321C8.45114 9.59321 9.34226 10.6076 9.32323 11.8448C9.32495 13.0802 8.45114 14.0946 7.34541 14.0946ZM14.6545 14.0946C13.5678 14.0946 12.6767 13.0802 12.6767 11.8448C12.6767 10.6094 13.5488 9.59321 14.6545 9.59321C15.7602 9.59321 16.6514 10.6076 16.6323 11.8448C16.6323 13.0802 15.7602 14.0946 14.6545 14.0946Z" fill="#5865F2"/>
3
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11 0.0668335C17.0751 0.0668335 22 4.99174 22 11.0668C22 16.5573 17.9774 21.108 12.7188 21.9332V14.2465H15.2818L15.7695 11.0668H12.7188V9.00347C12.7188 8.13353 13.1448 7.28558 14.5114 7.28558H15.8984V4.57855C15.8984 4.57855 14.6396 4.36371 13.4361 4.36371C10.9235 4.36371 9.28125 5.88652 9.28125 8.64339V11.0668H6.48828V14.2465H9.28125V21.9332C4.02255 21.108 0 16.5572 0 11.0668C0 4.99165 4.9249 0.0668335 11 0.0668335Z" fill="url(#paint0_linear_933_13493)"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear_933_13493" x1="11" y1="0.0668335" x2="11" y2="21.9332" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#19ADFE"/>
6
+ <stop offset="1" stop-color="#0063E0"/>
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20.8053 9.04142H19.9998L10.9999 8.99992V12.9999H16.6513C15.8269 15.3284 13.6114 16.9998 10.9999 16.9998C7.68643 16.9998 4.99996 14.3134 4.99996 10.9999C4.99996 7.68643 7.68643 4.99996 10.9999 4.99996C12.5294 4.99996 13.9209 5.57695 14.9804 6.51944L17.8088 3.69097C16.0229 2.02649 13.6339 1 10.9999 1C5.47746 1 1 5.47746 1 10.9999C1 16.5223 5.47746 20.9998 10.9999 20.9998C16.5223 20.9998 20.9998 16.5223 20.9998 10.9999C20.9998 10.3294 20.9308 9.67491 20.8053 9.04142Z" fill="#FFC107"/>
3
+ <path d="M2.15332 6.34545L5.43879 8.75492C6.32778 6.55394 8.48043 4.99996 10.9999 4.99996C12.5294 4.99996 13.9209 5.57695 14.9804 6.51944L17.8088 3.69097C16.0229 2.02649 13.6339 1 10.9999 1C7.15894 1 3.8283 3.16848 2.15332 6.34545Z" fill="#FF3D00"/>
4
+ <path d="M10.9999 20.9998C13.5829 20.9998 15.9305 20.0114 17.705 18.4039L14.61 15.7849C13.5723 16.5741 12.3036 17.0009 10.9999 16.9998C8.39893 16.9998 6.1911 15.3415 5.35911 13.027L2.09814 15.5395C3.75313 18.7779 7.11344 20.9998 10.9999 20.9998Z" fill="#4CAF50"/>
5
+ <path d="M20.8053 9.04142H19.9998L10.9999 8.99992V12.9999H16.6513C16.257 14.1081 15.5471 15.0764 14.6085 15.7853L14.61 15.7849L17.705 18.4039C17.486 18.6029 20.9998 15.9999 20.9998 10.9999C20.9998 10.3294 20.9308 9.67491 20.8053 9.04142Z" fill="#1976D2"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.04876 1.64038L8.77054 11.9651L1 20.3596H2.74884L9.55193 13.0101L15.0486 20.3596H21L12.8438 9.45409L20.0765 1.64038H18.3277L12.0624 8.4091L7.00012 1.64038H1.04876ZM3.62056 2.92858H6.35462L18.4278 19.0712H15.6937L3.62056 2.92858Z" fill="black"/>
3
+ </svg>