@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 CHANGED
@@ -1,4 +1,4 @@
1
- import a from "./index95.mjs";
1
+ import a from "./index93.mjs";
2
2
  const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
3
3
  export {
4
4
  e as default
package/dist/index81.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import f from "./index64.mjs";
2
- import d from "./index95.mjs";
2
+ import d from "./index93.mjs";
3
3
  function l(e) {
4
4
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
5
5
  }
package/dist/index83.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index96.mjs";
1
+ import r from "./index94.mjs";
2
2
  import p from "./index72.mjs";
3
3
  import l from "./index68.mjs";
4
4
  import m from "./index70.mjs";
package/dist/index84.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index97.mjs";
2
- import f from "./index98.mjs";
1
+ import r from "./index95.mjs";
2
+ import f from "./index96.mjs";
3
3
  function u(l, i, t) {
4
4
  let o = !r(i);
5
5
  return l && (o || t == !1) ? f(l, i) : i;
package/dist/index88.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import o from "./index93.mjs";
2
- import * as t from "./index94.mjs";
1
+ import o from "./index97.mjs";
2
+ import * as t from "./index98.mjs";
3
3
  const m = {
4
4
  ...t,
5
5
  ...o
package/dist/index93.mjs CHANGED
@@ -1,15 +1,33 @@
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"]
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
- l as default
32
+ a as default
15
33
  };
package/dist/index94.mjs CHANGED
@@ -1,9 +1,13 @@
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";
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
- e as hasBrowserEnv,
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
- 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
- });
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
- a as default
5
+ e as default
33
6
  };
package/dist/index96.mjs CHANGED
@@ -1,13 +1,6 @@
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;
1
+ function n(e, c) {
2
+ return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
10
3
  }
11
4
  export {
12
- h as default
5
+ n as default
13
6
  };
package/dist/index97.mjs CHANGED
@@ -1,6 +1,15 @@
1
- function e(t) {
2
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
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
- e as default
14
+ l as default
6
15
  };
package/dist/index98.mjs CHANGED
@@ -1,6 +1,9 @@
1
- function n(e, c) {
2
- return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
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
- n as default
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.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.300.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.309.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
+ }