@ikas/storefront 4.3.0-beta.4 → 4.3.0-beta.5
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.
- package/build/components/checkout/components/adyen/adyen.module.scss.js +1 -0
- package/build/components/checkout/components/adyen/index.d.ts +0 -1
- package/build/components/checkout/components/adyen/index.js +1 -1
- package/package.json +11 -11
- package/build/components/checkout/components/adyen/Adyen.css.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from'./../../../../ext/style-inject/dist/style-inject.es.js';var e={AdyenContainer:"adyen-module_AdyenContainer__rZaiG"};n(".adyen-module_AdyenContainer__rZaiG .adyen-checkout__payment-method__radio--selected {\n background-color: #272727;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__button {\n display: none !important;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__input {\n border: 1px solid #e5e4e9;\n background-color: #fff;\n background-clip: padding-box;\n border-radius: 8px;\n display: block;\n width: 100%;\n height: 56px;\n padding: 8px 16px;\n outline: none !important;\n transition: padding 0.1s, border-color 0.5s, box-shadow 0.5s;\n box-shadow: 0 0 0 1px transparent;\n -moz-appearance: none;\n -webkit-appearance: none;\n margin: 5px 0;\n caret-color: black;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__input--focus.adyen-checkout__input--focus:hover {\n border: 1px solid black !important;\n box-shadow: 0 0 0 1px black !important;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__label--focused .adyen-checkout__label__text {\n color: #00112c;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__error-text {\n color: #fb4e4e;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__label__text--error {\n color: #fb4e4e;\n}\n.adyen-module_AdyenContainer__rZaiG .adyen-checkout__spinner {\n border: 3px solid rgb(0, 0, 0);\n border-radius: 50%;\n border-top-color: transparent;\n}");export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as e,__generator as n}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as o}from"mobx-react-lite";import s from"@adyen/adyen-web";import"@adyen/adyen-web/dist/adyen.css";import"./
|
|
1
|
+
import{__awaiter as e,__generator as n}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as o}from"mobx-react-lite";import s from"@adyen/adyen-web";import"@adyen/adyen-web/dist/adyen.css";import r from"./adyen.module.scss.js";var i;!function(e){e.Authorised="Authorised",e.Cancelled="Cancelled"}(i||(i={}));var a=o((function(o){var a=o.vm,d=t.useRef(null);return t.useEffect((function(){e(void 0,void 0,void 0,(function(){var t,o,r;return n(this,(function(u){switch(u.label){case 0:return a.adyenResponse&&d.current?(t={environment:"test",clientKey:a.adyenResponse.clientKey,analytics:{enabled:!0},session:{id:a.adyenResponse.sessionId,sessionData:a.adyenResponse.sessionData},beforeSubmit:function(t,o,s){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){return s.resolve(t),[2]}))}))},onPaymentCompleted:function(e,n){e.resultCode===i.Authorised&&a.adyenResponse?window.location.href="".concat(a.adyenResponse.returnUrl,"&redirectResult=").concat(e.sessionData):(a.isStepLoading=!1,setTimeout((function(){r.setStatus("ready")}),3e3))},onError:function(e,n){a.isStepLoading=!1,setTimeout((function(){r.setStatus("ready")}),3e3)},paymentMethodsConfiguration:{card:{showPayButton:!1}}},[4,s(t)]):[3,2];case 1:o=u.sent(),r=o.create("dropin").mount(d.current),a.setAdyenDropinElement(r),u.label=2;case 2:return[2]}}))}))}),[a.adyenResponse]),a.adyenResponse?t.createElement("div",{className:r.AdyenContainer},t.createElement("div",{ref:d})):null}));export{a as Adyen};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "4.3.0-beta.
|
|
3
|
+
"version": "4.3.0-beta.5",
|
|
4
4
|
"description": "Storefront functionality for ikas storefront themes.",
|
|
5
5
|
"author": "ikas",
|
|
6
6
|
"license": "ISC",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@adyen/adyen-web": "^5.28.2",
|
|
21
|
-
"@ikas/storefront-api": "^4.3.0-beta.
|
|
22
|
-
"@ikas/storefront-config": "^4.3.0-beta.
|
|
23
|
-
"@ikas/storefront-model-functions": "^4.3.0-beta.
|
|
24
|
-
"@ikas/storefront-models": "^4.3.0-beta.
|
|
25
|
-
"@ikas/storefront-providers": "^4.3.0-beta.
|
|
21
|
+
"@ikas/storefront-api": "^4.3.0-beta.5",
|
|
22
|
+
"@ikas/storefront-config": "^4.3.0-beta.5",
|
|
23
|
+
"@ikas/storefront-model-functions": "^4.3.0-beta.5",
|
|
24
|
+
"@ikas/storefront-models": "^4.3.0-beta.5",
|
|
25
|
+
"@ikas/storefront-providers": "^4.3.0-beta.5",
|
|
26
26
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
27
27
|
"@rollup/plugin-json": "^4.1.0",
|
|
28
28
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"libphonenumber-js": "^1.10.6"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@ikas/storefront-api": "^4.3.0-beta.
|
|
56
|
-
"@ikas/storefront-config": "^4.3.0-beta.
|
|
57
|
-
"@ikas/storefront-model-functions": "^4.3.0-beta.
|
|
58
|
-
"@ikas/storefront-models": "^4.3.0-beta.
|
|
59
|
-
"@ikas/storefront-providers": "^4.3.0-beta.
|
|
55
|
+
"@ikas/storefront-api": "^4.3.0-beta.5",
|
|
56
|
+
"@ikas/storefront-config": "^4.3.0-beta.5",
|
|
57
|
+
"@ikas/storefront-model-functions": "^4.3.0-beta.5",
|
|
58
|
+
"@ikas/storefront-models": "^4.3.0-beta.5",
|
|
59
|
+
"@ikas/storefront-providers": "^4.3.0-beta.5",
|
|
60
60
|
"mobx": "^6.1.3",
|
|
61
61
|
"mobx-react-lite": "^3.1.5",
|
|
62
62
|
"next": "12.2.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import n from'./../../../../ext/style-inject/dist/style-inject.es.js';var o=".adyen-checkout__payment-method__radio--selected {\n background-color: #272727;\n}\n\n.adyen-checkout__button {\n display: none !important;\n}\n\n.adyen-checkout__button:hover {\n background-color: #272727;\n}\n\n.adyen-checkout__input {\n border: 1px solid #e5e4e9;\n background-color: #fff;\n background-clip: padding-box;\n border-radius: 8px;\n display: block;\n width: 100%;\n height: 56px;\n padding: 8px 16px;\n outline: none !important;\n transition: padding 0.1s, border-color 0.5s, box-shadow 0.5s;\n box-shadow: 0 0 0 1px transparent;\n -moz-appearance: none;\n -webkit-appearance: none;\n margin: 5px 0;\n caret-color: black;\n}\n\n.adyen-checkout__input--focus.adyen-checkout__input--focus:hover {\n border: 1px solid black !important;\n box-shadow: 0 0 0 1px black !important;\n}\n\n.adyen-checkout__label--focused .adyen-checkout__label__text {\n color: #00112c;\n}\n\n.adyen-checkout__error-text {\n color: #fb4e4e;\n}\n\n.adyen-checkout__label__text--error {\n color: #fb4e4e;\n}\n\n.adyen-checkout__spinner {\n border: 3px solid rgb(0, 0, 0);\n border-radius: 50%;\n border-top-color: transparent;\n}\n";n(o);export{o as default};
|