@aurora-is-near/intents-swap-widget 2.9.0 → 2.9.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.
@@ -14,7 +14,7 @@ const s = ({ text: l }) => /* @__PURE__ */ i("div", { className: "flex h-12 w-fu
14
14
  onMsg: r
15
15
  }) => {
16
16
  const { t } = y(), a = l === "error";
17
- return /* @__PURE__ */ i("div", { className: "fixed inset-0 z-50 flex items-center justify-center", children: [
17
+ return /* @__PURE__ */ i("div", { className: "sw fixed inset-0 z-50 flex items-center justify-center", children: [
18
18
  /* @__PURE__ */ e("div", { className: "absolute inset-0 bg-sw-gray-975/70 backdrop-blur-[5px] transition-[backdrop-filter] duration-100" }),
19
19
  /* @__PURE__ */ i("div", { className: "relative z-50 mx-5 w-full max-w-[359px] rounded-3xl bg-sw-modal-bg px-6 pt-3 pb-6 shadow-[0px_0px_40px_0px_rgba(0,0,0,0.5)]", children: [
20
20
  /* @__PURE__ */ e(
@@ -1 +1 @@
1
- {"version":3,"file":"WalletCompatibilityModal.js","sources":["../../../src/features/WalletCompatibilityCheck/WalletCompatibilityModal.tsx"],"sourcesContent":["import {\n Check,\n Minus,\n RotateCw,\n ShieldQuestionMark,\n ShieldX,\n X,\n} from 'lucide-react';\nimport { Button } from '@/components/Button';\nimport { useTypedTranslation } from '@/localisation';\n\ntype ModalState = 'initial' | 'error';\n\ntype Msg =\n | { type: 'on_close' }\n | { type: 'on_check_compatibility' }\n | { type: 'on_try_again' }\n | { type: 'on_sign_out' };\n\ninterface WalletCompatibilityCheckProps {\n state: ModalState;\n isSigning: boolean;\n onMsg: (msg: Msg) => void;\n}\n\nconst FeatureItem = ({ text }: { text: string }) => (\n <div className=\"flex h-12 w-full items-center rounded-xl bg-sw-modal-item px-3\">\n <div className=\"flex h-6 w-6 items-center justify-center rounded-full bg-sw-complete-900\">\n <Check size={13} strokeWidth={4} className=\"text-sw-complete-100\" />\n </div>\n <p className=\"text-label-m ml-sw-md font-medium text-sw-gray-50\">{text}</p>\n </div>\n);\n\nconst ErrorItem = ({ text }: { text: string }) => (\n <div className=\"flex min-h-[56px] w-full items-center rounded-xl bg-sw-modal-item px-3 py-3\">\n <div className=\"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-sw-warn-900\">\n <Minus size={13} className=\"text-sw-warn-100\" strokeWidth={4} />\n </div>\n <p className=\"text-label-m ml-sw-md leading-4 font-medium text-sw-gray-50\">\n {text}\n </p>\n </div>\n);\n\nexport const WalletCompatibilityModal = ({\n state,\n isSigning,\n onMsg,\n}: WalletCompatibilityCheckProps) => {\n const { t } = useTypedTranslation();\n const isErrorState = state === 'error';\n\n return (\n <div className=\"fixed inset-0 z-50 flex items-center justify-center\">\n {/* Backdrop - matches Privy */}\n <div className=\"absolute inset-0 bg-sw-gray-975/70 backdrop-blur-[5px] transition-[backdrop-filter] duration-100\" />\n\n {/* Modal */}\n <div className=\"relative z-50 mx-5 w-full max-w-[359px] rounded-3xl bg-sw-modal-bg px-6 pt-3 pb-6 shadow-[0px_0px_40px_0px_rgba(0,0,0,0.5)]\">\n {/* Close button (matches Privy styles) */}\n <button\n type=\"button\"\n onClick={() => onMsg({ type: 'on_close' })}\n className=\"absolute top-4 right-4 flex h-6 w-6 cursor-pointer items-center justify-center rounded-full bg-sw-gray-975 opacity-60\">\n <X size={16} strokeWidth={2} />\n </button>\n\n {/* Header */}\n <div className=\"mt-[58px] flex flex-col items-center\">\n {/* Icon */}\n <div className=\"relative mb-5 flex h-10 w-10 items-center justify-center\">\n {isErrorState ? (\n <ShieldX size={40} className=\"text-sw-warn-100\" />\n ) : (\n <ShieldQuestionMark size={40} className=\"text-sw-complete-100\" />\n )}\n </div>\n\n {/* Title */}\n <h2 className=\"text-h5 mb-4 text-center font-medium text-sw-gray-50\">\n {t(\n isErrorState\n ? 'walletCompatibility.modal.title.error'\n : 'walletCompatibility.modal.title.initial',\n isErrorState ? 'Unable to verify' : 'Signature check required',\n )}\n </h2>\n\n {/* Description */}\n <p className=\"text-p-s mb-8 max-w-[311px] text-center leading-5 font-normal text-sw-gray-100\">\n {t(\n isErrorState\n ? 'walletCompatibility.modal.description.error'\n : 'walletCompatibility.modal.description.initial',\n isErrorState\n ? \"The check couldn't be completed. Try again or choose another sign-in option to continue.\"\n : 'To keep your account secure, we need to verify that your device is compatible with Calyx.',\n )}\n </p>\n </div>\n\n {/* Content list */}\n <div className=\"mb-8 flex flex-col gap-[10px]\">\n {isErrorState ? (\n <>\n <ErrorItem\n text={t(\n 'walletCompatibility.modal.error.interrupted',\n 'The verification was interrupted or canceled',\n )}\n />\n <ErrorItem\n text={t(\n 'walletCompatibility.modal.error.incompatible',\n 'Some wallets (or devices) are incompatible with the platform',\n )}\n />\n </>\n ) : (\n <>\n <FeatureItem\n text={t(\n 'walletCompatibility.modal.feature.secureTransactions',\n 'Secure transactions and transfers',\n )}\n />\n <FeatureItem\n text={t(\n 'walletCompatibility.modal.feature.fullAccess',\n 'Full access to all Calyx features',\n )}\n />\n <FeatureItem\n text={t(\n 'walletCompatibility.modal.feature.fundProtection',\n 'Protection for your funds',\n )}\n />\n </>\n )}\n </div>\n\n {/* Action buttons */}\n <div className=\"flex flex-col gap-3\">\n {isErrorState ? (\n <Button\n variant=\"primary\"\n size=\"md\"\n onClick={() => onMsg({ type: 'on_try_again' })}\n className=\"h-12 w-full rounded-[10px] bg-sw-gray-50 text-sw-mauve-975 hover:bg-sw-gray-100 hover:text-sw-mauve-975\">\n <RotateCw size={16} strokeWidth={3} />\n {t('walletCompatibility.modal.button.tryAgain', 'Try again')}\n </Button>\n ) : (\n <Button\n variant=\"primary\"\n size=\"md\"\n state={isSigning ? 'loading' : 'default'}\n onClick={() => onMsg({ type: 'on_check_compatibility' })}\n className=\"h-12 w-full rounded-[10px] bg-sw-gray-50 text-sw-mauve-975 hover:bg-sw-gray-100 hover:text-sw-mauve-975\">\n {t(\n 'walletCompatibility.modal.button.checkCompatibility',\n 'Check compatibility',\n )}\n </Button>\n )}\n\n <Button\n variant=\"outlined\"\n size=\"md\"\n onClick={() => onMsg({ type: 'on_sign_out' })}\n className=\"h-10 w-full rounded-[10px] border border-sw-gray-500 bg-transparent text-sw-gray-50 hover:bg-sw-gray-900 hover:text-sw-gray-50\">\n {t('walletCompatibility.modal.button.signOut', 'Sign out')}\n </Button>\n </div>\n </div>\n </div>\n );\n};\n"],"names":["FeatureItem","text","jsxs","jsx","Check","ErrorItem","Minus","WalletCompatibilityModal","state","isSigning","onMsg","useTypedTranslation","isErrorState","X","ShieldX","ShieldQuestionMark","Fragment","Button","RotateCw"],"mappings":";;;;AAyBA,MAAMA,IAAc,CAAC,EAAE,MAAAC,QACrB,gBAAAC,EAAC,OAAA,EAAI,WAAU,kEACb,UAAA;AAAA,EAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,4EACb,UAAA,gBAAAA,EAACC,GAAA,EAAM,MAAM,IAAI,aAAa,GAAG,WAAU,uBAAA,CAAuB,GACpE;AAAA,EACA,gBAAAD,EAAC,KAAA,EAAE,WAAU,qDAAqD,UAAAF,EAAA,CAAK;AAAA,GACzE,GAGII,IAAY,CAAC,EAAE,MAAAJ,QACnB,gBAAAC,EAAC,OAAA,EAAI,WAAU,+EACb,UAAA;AAAA,EAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,iFACb,UAAA,gBAAAA,EAACG,GAAA,EAAM,MAAM,IAAI,WAAU,oBAAmB,aAAa,EAAA,CAAG,GAChE;AAAA,EACA,gBAAAH,EAAC,KAAA,EAAE,WAAU,+DACV,UAAAF,EAAA,CACH;AAAA,GACF,GAGWM,IAA2B,CAAC;AAAA,EACvC,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC;AACF,MAAqC;AACnC,QAAM,EAAE,EAAA,IAAMC,EAAA,GACRC,IAAeJ,MAAU;AAE/B,SACE,gBAAAN,EAAC,OAAA,EAAI,WAAU,uDAEb,UAAA;AAAA,IAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,mGAAA,CAAmG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1
+ {"version":3,"file":"WalletCompatibilityModal.js","sources":["../../../src/features/WalletCompatibilityCheck/WalletCompatibilityModal.tsx"],"sourcesContent":["import {\n Check,\n Minus,\n RotateCw,\n ShieldQuestionMark,\n ShieldX,\n X,\n} from 'lucide-react';\nimport { Button } from '@/components/Button';\nimport { useTypedTranslation } from '@/localisation';\n\ntype ModalState = 'initial' | 'error';\n\ntype Msg =\n | { type: 'on_close' }\n | { type: 'on_check_compatibility' }\n | { type: 'on_try_again' }\n | { type: 'on_sign_out' };\n\ninterface WalletCompatibilityCheckProps {\n state: ModalState;\n isSigning: boolean;\n onMsg: (msg: Msg) => void;\n}\n\nconst FeatureItem = ({ text }: { text: string }) => (\n <div className=\"flex h-12 w-full items-center rounded-xl bg-sw-modal-item px-3\">\n <div className=\"flex h-6 w-6 items-center justify-center rounded-full bg-sw-complete-900\">\n <Check size={13} strokeWidth={4} className=\"text-sw-complete-100\" />\n </div>\n <p className=\"text-label-m ml-sw-md font-medium text-sw-gray-50\">{text}</p>\n </div>\n);\n\nconst ErrorItem = ({ text }: { text: string }) => (\n <div className=\"flex min-h-[56px] w-full items-center rounded-xl bg-sw-modal-item px-3 py-3\">\n <div className=\"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-sw-warn-900\">\n <Minus size={13} className=\"text-sw-warn-100\" strokeWidth={4} />\n </div>\n <p className=\"text-label-m ml-sw-md leading-4 font-medium text-sw-gray-50\">\n {text}\n </p>\n </div>\n);\n\nexport const WalletCompatibilityModal = ({\n state,\n isSigning,\n onMsg,\n}: WalletCompatibilityCheckProps) => {\n const { t } = useTypedTranslation();\n const isErrorState = state === 'error';\n\n return (\n <div className=\"sw fixed inset-0 z-50 flex items-center justify-center\">\n {/* Backdrop - matches Privy */}\n <div className=\"absolute inset-0 bg-sw-gray-975/70 backdrop-blur-[5px] transition-[backdrop-filter] duration-100\" />\n\n {/* Modal */}\n <div className=\"relative z-50 mx-5 w-full max-w-[359px] rounded-3xl bg-sw-modal-bg px-6 pt-3 pb-6 shadow-[0px_0px_40px_0px_rgba(0,0,0,0.5)]\">\n {/* Close button (matches Privy styles) */}\n <button\n type=\"button\"\n onClick={() => onMsg({ type: 'on_close' })}\n className=\"absolute top-4 right-4 flex h-6 w-6 cursor-pointer items-center justify-center rounded-full bg-sw-gray-975 opacity-60\">\n <X size={16} strokeWidth={2} />\n </button>\n\n {/* Header */}\n <div className=\"mt-[58px] flex flex-col items-center\">\n {/* Icon */}\n <div className=\"relative mb-5 flex h-10 w-10 items-center justify-center\">\n {isErrorState ? (\n <ShieldX size={40} className=\"text-sw-warn-100\" />\n ) : (\n <ShieldQuestionMark size={40} className=\"text-sw-complete-100\" />\n )}\n </div>\n\n {/* Title */}\n <h2 className=\"text-h5 mb-4 text-center font-medium text-sw-gray-50\">\n {t(\n isErrorState\n ? 'walletCompatibility.modal.title.error'\n : 'walletCompatibility.modal.title.initial',\n isErrorState ? 'Unable to verify' : 'Signature check required',\n )}\n </h2>\n\n {/* Description */}\n <p className=\"text-p-s mb-8 max-w-[311px] text-center leading-5 font-normal text-sw-gray-100\">\n {t(\n isErrorState\n ? 'walletCompatibility.modal.description.error'\n : 'walletCompatibility.modal.description.initial',\n isErrorState\n ? \"The check couldn't be completed. Try again or choose another sign-in option to continue.\"\n : 'To keep your account secure, we need to verify that your device is compatible with Calyx.',\n )}\n </p>\n </div>\n\n {/* Content list */}\n <div className=\"mb-8 flex flex-col gap-[10px]\">\n {isErrorState ? (\n <>\n <ErrorItem\n text={t(\n 'walletCompatibility.modal.error.interrupted',\n 'The verification was interrupted or canceled',\n )}\n />\n <ErrorItem\n text={t(\n 'walletCompatibility.modal.error.incompatible',\n 'Some wallets (or devices) are incompatible with the platform',\n )}\n />\n </>\n ) : (\n <>\n <FeatureItem\n text={t(\n 'walletCompatibility.modal.feature.secureTransactions',\n 'Secure transactions and transfers',\n )}\n />\n <FeatureItem\n text={t(\n 'walletCompatibility.modal.feature.fullAccess',\n 'Full access to all Calyx features',\n )}\n />\n <FeatureItem\n text={t(\n 'walletCompatibility.modal.feature.fundProtection',\n 'Protection for your funds',\n )}\n />\n </>\n )}\n </div>\n\n {/* Action buttons */}\n <div className=\"flex flex-col gap-3\">\n {isErrorState ? (\n <Button\n variant=\"primary\"\n size=\"md\"\n onClick={() => onMsg({ type: 'on_try_again' })}\n className=\"h-12 w-full rounded-[10px] bg-sw-gray-50 text-sw-mauve-975 hover:bg-sw-gray-100 hover:text-sw-mauve-975\">\n <RotateCw size={16} strokeWidth={3} />\n {t('walletCompatibility.modal.button.tryAgain', 'Try again')}\n </Button>\n ) : (\n <Button\n variant=\"primary\"\n size=\"md\"\n state={isSigning ? 'loading' : 'default'}\n onClick={() => onMsg({ type: 'on_check_compatibility' })}\n className=\"h-12 w-full rounded-[10px] bg-sw-gray-50 text-sw-mauve-975 hover:bg-sw-gray-100 hover:text-sw-mauve-975\">\n {t(\n 'walletCompatibility.modal.button.checkCompatibility',\n 'Check compatibility',\n )}\n </Button>\n )}\n\n <Button\n variant=\"outlined\"\n size=\"md\"\n onClick={() => onMsg({ type: 'on_sign_out' })}\n className=\"h-10 w-full rounded-[10px] border border-sw-gray-500 bg-transparent text-sw-gray-50 hover:bg-sw-gray-900 hover:text-sw-gray-50\">\n {t('walletCompatibility.modal.button.signOut', 'Sign out')}\n </Button>\n </div>\n </div>\n </div>\n );\n};\n"],"names":["FeatureItem","text","jsxs","jsx","Check","ErrorItem","Minus","WalletCompatibilityModal","state","isSigning","onMsg","useTypedTranslation","isErrorState","X","ShieldX","ShieldQuestionMark","Fragment","Button","RotateCw"],"mappings":";;;;AAyBA,MAAMA,IAAc,CAAC,EAAE,MAAAC,QACrB,gBAAAC,EAAC,OAAA,EAAI,WAAU,kEACb,UAAA;AAAA,EAAA,gBAAAC,EAAC,OAAA,EAAI,WAAU,4EACb,UAAA,gBAAAA,EAACC,GAAA,EAAM,MAAM,IAAI,aAAa,GAAG,WAAU,uBAAA,CAAuB,GACpE;AAAA,EACA,gBAAAD,EAAC,KAAA,EAAE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;AAAA,cACnC,EAAE,6CAA6C,WAAW;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA,IAG7D,gBAAAf;AAAA,UAACc;AAAA,UAAA;AAAA,YACC,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,OAAOR,IAAY,YAAY;AAAA,YAC/B,SAAS,MAAMC,EAAM,EAAE,MAAM,0BAA0B;AAAA,YACvD,WAAU;AAAA,YACT,UAAA;AAAA,cACC;AAAA,cACA;AAAA,YAAA;AAAA,UACF;AAAA,QAAA;AAAA,QAIJ,gBAAAP;AAAA,UAACc;AAAA,UAAA;AAAA,YACC,SAAQ;AAAA,YACR,MAAK;AAAA,YACL,SAAS,MAAMP,EAAM,EAAE,MAAM,eAAe;AAAA,YAC5C,WAAU;AAAA,YACT,UAAA,EAAE,4CAA4C,UAAU;AAAA,UAAA;AAAA,QAAA;AAAA,MAC3D,EAAA,CACF;AAAA,IAAA,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-is-near/intents-swap-widget",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "Provides components and hooks to build your own Intents swap widget",
5
5
  "author": "Maksim Vashchuk",
6
6
  "license": "MIT",
@@ -52,7 +52,7 @@ export const WalletCompatibilityModal = ({
52
52
  const isErrorState = state === 'error';
53
53
 
54
54
  return (
55
- <div className="fixed inset-0 z-50 flex items-center justify-center">
55
+ <div className="sw fixed inset-0 z-50 flex items-center justify-center">
56
56
  {/* Backdrop - matches Privy */}
57
57
  <div className="absolute inset-0 bg-sw-gray-975/70 backdrop-blur-[5px] transition-[backdrop-filter] duration-100" />
58
58