mainstack-payments 0.3.8 → 0.4.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.
|
@@ -21615,7 +21615,7 @@ const vg = /* @__PURE__ */ new Map([
|
|
|
21615
21615
|
label: "Street Address",
|
|
21616
21616
|
placeholder: "Street Address",
|
|
21617
21617
|
name: "street",
|
|
21618
|
-
fontSize: "
|
|
21618
|
+
fontSize: "16px",
|
|
21619
21619
|
type: "text",
|
|
21620
21620
|
onChange: r.handleChange,
|
|
21621
21621
|
value: r.values.street,
|
|
@@ -21630,7 +21630,7 @@ const vg = /* @__PURE__ */ new Map([
|
|
|
21630
21630
|
placeholder: "Zip Code",
|
|
21631
21631
|
id: "zipCode",
|
|
21632
21632
|
name: "zipCode",
|
|
21633
|
-
fontSize: "
|
|
21633
|
+
fontSize: "16px",
|
|
21634
21634
|
type: "text",
|
|
21635
21635
|
onChange: (J) => {
|
|
21636
21636
|
var pe, ie;
|
|
@@ -26173,12 +26173,12 @@ const bz = rn(
|
|
|
26173
26173
|
}, [f]);
|
|
26174
26174
|
const an = yM(0, { damping: 130, stiffness: 500 }), [vt] = Rl("(max-width: 767px)");
|
|
26175
26175
|
ai(() => {
|
|
26176
|
-
an.
|
|
26176
|
+
an.on("change", (Y) => {
|
|
26177
26177
|
window.scrollTo(0, Y);
|
|
26178
26178
|
});
|
|
26179
26179
|
}, [an]);
|
|
26180
26180
|
function Nt(Y) {
|
|
26181
|
-
an.set(window.
|
|
26181
|
+
an.set(window.scrollY, !1), setTimeout(() => {
|
|
26182
26182
|
an.set(Y);
|
|
26183
26183
|
}, 50);
|
|
26184
26184
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mainstack-payments",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"main": "build/mainstack-payments.js",
|
|
6
6
|
"types": "build/src/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"eslint-plugin-react": "^7.32.2",
|
|
81
81
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
82
82
|
"husky": "^8.0.3",
|
|
83
|
-
"mainstack-design-system": "^0.5
|
|
83
|
+
"mainstack-design-system": "^0.6.5",
|
|
84
84
|
"react": "^18.3.1",
|
|
85
85
|
"react-dom": "^18.3.1",
|
|
86
86
|
"vite": "^4.1.0",
|