@instockng/storefront-ui 1.0.0 → 1.0.2
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/dist/index105.mjs +1 -1
- package/dist/index81.mjs +1 -1
- package/dist/index83.mjs +1 -1
- package/dist/index84.mjs +2 -2
- package/dist/index88.mjs +2 -2
- package/dist/index93.mjs +30 -12
- package/dist/index94.mjs +11 -7
- package/dist/index95.mjs +3 -30
- package/dist/index96.mjs +3 -10
- package/dist/index97.mjs +13 -4
- package/dist/index98.mjs +7 -4
- package/package.json +4 -4
package/dist/index105.mjs
CHANGED
package/dist/index81.mjs
CHANGED
package/dist/index83.mjs
CHANGED
package/dist/index84.mjs
CHANGED
package/dist/index88.mjs
CHANGED
package/dist/index93.mjs
CHANGED
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import p from "./index74.mjs";
|
|
2
|
+
function i(n) {
|
|
3
|
+
const t = {
|
|
4
|
+
"!": "%21",
|
|
5
|
+
"'": "%27",
|
|
6
|
+
"(": "%28",
|
|
7
|
+
")": "%29",
|
|
8
|
+
"~": "%7E",
|
|
9
|
+
"%20": "+",
|
|
10
|
+
"%00": "\0"
|
|
11
|
+
};
|
|
12
|
+
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
13
|
+
return t[r];
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function a(n, t) {
|
|
17
|
+
this._pairs = [], n && p(n, this, t);
|
|
18
|
+
}
|
|
19
|
+
const c = a.prototype;
|
|
20
|
+
c.append = function(t, o) {
|
|
21
|
+
this._pairs.push([t, o]);
|
|
22
|
+
};
|
|
23
|
+
c.toString = function(t) {
|
|
24
|
+
const o = t ? function(r) {
|
|
25
|
+
return t.call(this, r, i);
|
|
26
|
+
} : i;
|
|
27
|
+
return this._pairs.map(function(e) {
|
|
28
|
+
return o(e[0]) + "=" + o(e[1]);
|
|
29
|
+
}, "").join("&");
|
|
12
30
|
};
|
|
13
31
|
export {
|
|
14
|
-
|
|
32
|
+
a as default
|
|
15
33
|
};
|
package/dist/index94.mjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import i from "./index64.mjs";
|
|
2
|
+
import m from "./index68.mjs";
|
|
3
|
+
import s from "./index78.mjs";
|
|
4
|
+
function h(f, t) {
|
|
5
|
+
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
6
|
+
let a = r.data;
|
|
7
|
+
return i.forEach(f, function(e) {
|
|
8
|
+
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
9
|
+
}), n.normalize(), a;
|
|
10
|
+
}
|
|
3
11
|
export {
|
|
4
|
-
|
|
5
|
-
n as hasStandardBrowserEnv,
|
|
6
|
-
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
-
o as navigator,
|
|
8
|
-
r as origin
|
|
12
|
+
h as default
|
|
9
13
|
};
|
package/dist/index95.mjs
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const t = {
|
|
4
|
-
"!": "%21",
|
|
5
|
-
"'": "%27",
|
|
6
|
-
"(": "%28",
|
|
7
|
-
")": "%29",
|
|
8
|
-
"~": "%7E",
|
|
9
|
-
"%20": "+",
|
|
10
|
-
"%00": "\0"
|
|
11
|
-
};
|
|
12
|
-
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
13
|
-
return t[r];
|
|
14
|
-
});
|
|
1
|
+
function e(t) {
|
|
2
|
+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
15
3
|
}
|
|
16
|
-
function a(n, t) {
|
|
17
|
-
this._pairs = [], n && p(n, this, t);
|
|
18
|
-
}
|
|
19
|
-
const c = a.prototype;
|
|
20
|
-
c.append = function(t, o) {
|
|
21
|
-
this._pairs.push([t, o]);
|
|
22
|
-
};
|
|
23
|
-
c.toString = function(t) {
|
|
24
|
-
const o = t ? function(r) {
|
|
25
|
-
return t.call(this, r, i);
|
|
26
|
-
} : i;
|
|
27
|
-
return this._pairs.map(function(e) {
|
|
28
|
-
return o(e[0]) + "=" + o(e[1]);
|
|
29
|
-
}, "").join("&");
|
|
30
|
-
};
|
|
31
4
|
export {
|
|
32
|
-
|
|
5
|
+
e as default
|
|
33
6
|
};
|
package/dist/index96.mjs
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import s from "./index78.mjs";
|
|
4
|
-
function h(f, t) {
|
|
5
|
-
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
6
|
-
let a = r.data;
|
|
7
|
-
return i.forEach(f, function(e) {
|
|
8
|
-
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
9
|
-
}), n.normalize(), a;
|
|
1
|
+
function n(e, c) {
|
|
2
|
+
return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
|
|
10
3
|
}
|
|
11
4
|
export {
|
|
12
|
-
|
|
5
|
+
n as default
|
|
13
6
|
};
|
package/dist/index97.mjs
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import o from "./index105.mjs";
|
|
2
|
+
import r from "./index106.mjs";
|
|
3
|
+
import t from "./index107.mjs";
|
|
4
|
+
const l = {
|
|
5
|
+
isBrowser: !0,
|
|
6
|
+
classes: {
|
|
7
|
+
URLSearchParams: o,
|
|
8
|
+
FormData: r,
|
|
9
|
+
Blob: t
|
|
10
|
+
},
|
|
11
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
12
|
+
};
|
|
4
13
|
export {
|
|
5
|
-
|
|
14
|
+
l as default
|
|
6
15
|
};
|
package/dist/index98.mjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
|
|
4
3
|
export {
|
|
5
|
-
|
|
4
|
+
e as hasBrowserEnv,
|
|
5
|
+
n as hasStandardBrowserEnv,
|
|
6
|
+
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
+
o as navigator,
|
|
8
|
+
r as origin
|
|
6
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instockng/storefront-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Pre-built UI components for OMS e-commerce sites",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@tanstack/react-query": "^5.0.0",
|
|
49
|
-
"lucide-react": "^0.
|
|
49
|
+
"lucide-react": "^0.536.0",
|
|
50
50
|
"react": "^18.0.0 || ^19.0.0",
|
|
51
51
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@types/react-dom": "npm:types-react-dom@^19.0.0-rc.1",
|
|
64
64
|
"@vitejs/plugin-react": "^4.7.0",
|
|
65
65
|
"autoprefixer": "^10.4.21",
|
|
66
|
-
"lucide-react": "^0.
|
|
66
|
+
"lucide-react": "^0.536.0",
|
|
67
67
|
"msw": "^2.11.5",
|
|
68
68
|
"msw-storybook-addon": "^2.0.6",
|
|
69
69
|
"postcss": "^8.5.6",
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
"typescript": "^5.3.3",
|
|
75
75
|
"vite": "^5.4.20"
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|