@instockng/storefront-ui 1.0.2 → 1.0.4

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.
Files changed (112) hide show
  1. package/dist/index.mjs +18 -17
  2. package/dist/index10.mjs +1 -0
  3. package/dist/index100.mjs +1 -0
  4. package/dist/index101.mjs +1 -0
  5. package/dist/index102.mjs +1 -0
  6. package/dist/index103.mjs +1 -0
  7. package/dist/index104.mjs +1 -0
  8. package/dist/index105.mjs +1 -0
  9. package/dist/index106.mjs +1 -0
  10. package/dist/index107.mjs +1 -0
  11. package/dist/index108.mjs +1 -0
  12. package/dist/index109.mjs +1 -0
  13. package/dist/index11.mjs +1 -0
  14. package/dist/index110.mjs +1 -0
  15. package/dist/index111.mjs +1 -0
  16. package/dist/index12.mjs +1 -0
  17. package/dist/index13.mjs +1 -0
  18. package/dist/index14.mjs +1 -0
  19. package/dist/index15.mjs +1 -0
  20. package/dist/index16.mjs +1 -0
  21. package/dist/index17.mjs +1 -0
  22. package/dist/index18.mjs +1 -0
  23. package/dist/index19.mjs +1 -0
  24. package/dist/index2.mjs +1 -0
  25. package/dist/index20.mjs +3 -2
  26. package/dist/index21.mjs +2 -1
  27. package/dist/index22.mjs +1 -0
  28. package/dist/index23.mjs +1 -0
  29. package/dist/index24.mjs +1 -0
  30. package/dist/index25.mjs +1 -0
  31. package/dist/index26.mjs +1 -0
  32. package/dist/index27.mjs +1 -0
  33. package/dist/index28.mjs +12 -11
  34. package/dist/index29.mjs +2 -1
  35. package/dist/index3.mjs +1 -0
  36. package/dist/index30.mjs +2 -1
  37. package/dist/index31.mjs +2 -1
  38. package/dist/index32.mjs +2 -1
  39. package/dist/index33.mjs +1 -0
  40. package/dist/index34.mjs +1 -0
  41. package/dist/index35.mjs +1 -0
  42. package/dist/index36.mjs +1 -0
  43. package/dist/index37.mjs +2 -1
  44. package/dist/index38.mjs +1 -0
  45. package/dist/index39.mjs +1 -0
  46. package/dist/index4.mjs +1 -0
  47. package/dist/index40.mjs +1 -0
  48. package/dist/index41.mjs +37 -23
  49. package/dist/index42.mjs +45 -36
  50. package/dist/index43.mjs +100 -44
  51. package/dist/index44.mjs +113 -99
  52. package/dist/index45.mjs +45 -80
  53. package/dist/index46.mjs +65 -53
  54. package/dist/index47.mjs +67 -49
  55. package/dist/index48.mjs +55 -73
  56. package/dist/index49.mjs +53 -63
  57. package/dist/index5.mjs +1 -0
  58. package/dist/index50.mjs +15 -70
  59. package/dist/index51.mjs +14 -14
  60. package/dist/index52.mjs +59 -13
  61. package/dist/index53.mjs +102 -34
  62. package/dist/index54.mjs +100 -95
  63. package/dist/index55.mjs +23 -132
  64. package/dist/index56.mjs +1 -0
  65. package/dist/index57.mjs +1 -0
  66. package/dist/index58.mjs +3 -2
  67. package/dist/index59.mjs +5 -3
  68. package/dist/index6.mjs +1 -0
  69. package/dist/index60.mjs +5 -2
  70. package/dist/index61.mjs +3 -5
  71. package/dist/index62.mjs +1 -0
  72. package/dist/index63.mjs +1 -0
  73. package/dist/index64.mjs +1 -0
  74. package/dist/index65.mjs +1 -0
  75. package/dist/index66.mjs +1 -0
  76. package/dist/index67.mjs +1 -0
  77. package/dist/index68.mjs +1 -0
  78. package/dist/index69.mjs +1 -0
  79. package/dist/index7.mjs +1 -0
  80. package/dist/index70.mjs +1 -0
  81. package/dist/index71.mjs +1 -0
  82. package/dist/index72.mjs +1 -0
  83. package/dist/index73.mjs +1 -0
  84. package/dist/index74.mjs +1 -0
  85. package/dist/index75.mjs +1 -0
  86. package/dist/index76.mjs +1 -0
  87. package/dist/index77.mjs +1 -0
  88. package/dist/index78.mjs +1 -0
  89. package/dist/index79.mjs +1 -0
  90. package/dist/index8.mjs +1 -0
  91. package/dist/index80.mjs +1 -0
  92. package/dist/index81.mjs +1 -0
  93. package/dist/index82.mjs +1 -0
  94. package/dist/index83.mjs +1 -0
  95. package/dist/index84.mjs +1 -0
  96. package/dist/index85.mjs +1 -0
  97. package/dist/index86.mjs +1 -0
  98. package/dist/index87.mjs +1 -0
  99. package/dist/index88.mjs +1 -0
  100. package/dist/index89.mjs +1 -0
  101. package/dist/index9.mjs +1 -0
  102. package/dist/index90.mjs +1 -0
  103. package/dist/index91.mjs +1 -0
  104. package/dist/index92.mjs +1 -0
  105. package/dist/index93.mjs +1 -0
  106. package/dist/index94.mjs +1 -0
  107. package/dist/index95.mjs +1 -0
  108. package/dist/index96.mjs +1 -0
  109. package/dist/index97.mjs +1 -0
  110. package/dist/index98.mjs +1 -0
  111. package/dist/index99.mjs +1 -0
  112. package/package.json +1 -1
package/dist/index55.mjs CHANGED
@@ -1,135 +1,26 @@
1
- import { useQueryClient as y, useMutation as v } from "@tanstack/react-query";
2
- import { useQueryUnwrapped as m } from "./index61.mjs";
3
- import { createAdminRpcClients as u, authHeaders as l } from "./index21.mjs";
4
- import { queryKeys as o } from "./index26.mjs";
5
- import { useApiConfig as c } from "./index19.mjs";
6
- function p(t) {
7
- const { baseURL: s, authToken: i } = c();
8
- return m({
9
- queryKey: o.admin.deliveryZones.states.list(),
10
- queryFn: async () => {
11
- const e = await u(s).deliveryZones.states.$get({}, l(i));
12
- if (!e.ok) throw new Error(`Failed to fetch states: ${e.statusText}`);
13
- return e.json();
14
- },
15
- ...t
16
- });
17
- }
18
- function k(t) {
19
- const { baseURL: s, authToken: i } = c(), r = y();
20
- return v({
21
- mutationFn: async (e) => {
22
- const n = await u(s).deliveryZones.states.$post({ json: e }, l(i));
23
- if (!n.ok) throw new Error(`Failed to create state: ${n.statusText}`);
24
- return n.json();
25
- },
26
- onSuccess: () => {
27
- r.invalidateQueries({ queryKey: o.admin.deliveryZones.states.all });
28
- },
29
- ...t
30
- });
31
- }
32
- function F(t, s) {
33
- const { baseURL: i, authToken: r } = c(), e = y();
34
- return v({
35
- mutationFn: async (a) => {
36
- const d = await u(i).deliveryZones.states[":id"].$patch(
37
- { json: a, param: { id: t } },
38
- l(r)
39
- );
40
- if (!d.ok) throw new Error(`Failed to update state: ${d.statusText}`);
41
- return d.json();
42
- },
43
- onSuccess: () => {
44
- e.invalidateQueries({ queryKey: o.admin.deliveryZones.states.detail(t) }), e.invalidateQueries({ queryKey: o.admin.deliveryZones.states.all });
45
- },
46
- ...s
47
- });
48
- }
49
- function T(t, s) {
50
- const { baseURL: i, authToken: r } = c(), e = y();
51
- return v({
52
- mutationFn: async () => {
53
- const n = await u(i).deliveryZones.states[":id"].$delete(
54
- { param: { id: t } },
55
- l(r)
56
- );
57
- if (!n.ok) throw new Error(`Failed to delete state: ${n.statusText}`);
58
- return n.json();
59
- },
60
- onSuccess: () => {
61
- e.invalidateQueries({ queryKey: o.admin.deliveryZones.states.all }), e.invalidateQueries({ queryKey: o.admin.deliveryZones.zones.all });
62
- },
63
- ...s
64
- });
65
- }
66
- function $(t, s) {
67
- const { baseURL: i, authToken: r } = c();
68
- return m({
69
- queryKey: o.admin.deliveryZones.zones.list(t),
70
- queryFn: async () => {
71
- const a = await u(i).deliveryZones.zones.$get({ query: t }, l(r));
72
- if (!a.ok) throw new Error(`Failed to fetch delivery zones: ${a.statusText}`);
73
- return a.json();
74
- },
75
- ...s
76
- });
77
- }
78
- function z(t) {
79
- const { baseURL: s, authToken: i } = c(), r = y();
80
- return v({
81
- mutationFn: async (e) => {
82
- const n = await u(s).deliveryZones.zones.$post({ json: e }, l(i));
83
- if (!n.ok) throw new Error(`Failed to create delivery zone: ${n.statusText}`);
84
- return n.json();
85
- },
86
- onSuccess: () => {
87
- r.invalidateQueries({ queryKey: o.admin.deliveryZones.zones.all }), r.invalidateQueries({ queryKey: o.admin.deliveryZones.states.all });
88
- },
89
- ...t
90
- });
91
- }
92
- function K(t, s) {
93
- const { baseURL: i, authToken: r } = c(), e = y();
94
- return v({
95
- mutationFn: async (a) => {
96
- const d = await u(i).deliveryZones.zones[":id"].$patch(
97
- { json: a, param: { id: t } },
98
- l(r)
99
- );
100
- if (!d.ok) throw new Error(`Failed to update delivery zone: ${d.statusText}`);
101
- return d.json();
102
- },
103
- onSuccess: () => {
104
- e.invalidateQueries({ queryKey: o.admin.deliveryZones.zones.detail(t) }), e.invalidateQueries({ queryKey: o.admin.deliveryZones.zones.all });
105
- },
106
- ...s
107
- });
108
- }
109
- function j(t, s) {
110
- const { baseURL: i, authToken: r } = c(), e = y();
111
- return v({
112
- mutationFn: async () => {
113
- const n = await u(i).deliveryZones.zones[":id"].$delete(
114
- { param: { id: t } },
115
- l(r)
116
- );
117
- if (!n.ok) throw new Error(`Failed to delete delivery zone: ${n.statusText}`);
118
- return n.json();
119
- },
120
- onSuccess: () => {
121
- e.invalidateQueries({ queryKey: o.admin.deliveryZones.zones.all });
122
- },
123
- ...s
124
- });
1
+ 'use client';
2
+ import "react";
3
+ function i(n, o) {
4
+ if (typeof n == "function")
5
+ return n(o);
6
+ n != null && (n.current = o);
7
+ }
8
+ function f(...n) {
9
+ return (o) => {
10
+ let u = !1;
11
+ const c = n.map((t) => {
12
+ const e = i(t, o);
13
+ return !u && typeof e == "function" && (u = !0), e;
14
+ });
15
+ if (u)
16
+ return () => {
17
+ for (let t = 0; t < c.length; t++) {
18
+ const e = c[t];
19
+ typeof e == "function" ? e() : i(n[t], null);
20
+ }
21
+ };
22
+ };
125
23
  }
126
24
  export {
127
- z as useCreateDeliveryZone,
128
- k as useCreateState,
129
- j as useDeleteDeliveryZone,
130
- T as useDeleteState,
131
- $ as useListDeliveryZones,
132
- p as useListStates,
133
- K as useUpdateDeliveryZone,
134
- F as useUpdateState
25
+ f as composeRefs
135
26
  };
package/dist/index56.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function c(e) {
2
3
  this._maxSize = e, this.clear();
3
4
  }
package/dist/index57.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const c = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, x = (u) => u.match(c) || [], d = (u) => u[0].toUpperCase() + u.slice(1), a = (u, f) => x(u).join(f).toLowerCase(), b = (u) => x(u).reduce(
2
3
  (f, e) => `${f}${f ? e[0].toUpperCase() + e.slice(1).toLowerCase() : e.toLowerCase()}`,
3
4
  ""
package/dist/index58.mjs CHANGED
@@ -1,5 +1,6 @@
1
- import { getDefaultExportFromCjs as d } from "./index59.mjs";
2
- import { __module as v } from "./index60.mjs";
1
+ 'use client';
2
+ import { getDefaultExportFromCjs as d } from "./index60.mjs";
3
+ import { __module as v } from "./index61.mjs";
3
4
  v.exports = function(n) {
4
5
  return g(m(n), n);
5
6
  };
package/dist/index59.mjs CHANGED
@@ -1,6 +1,8 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1
+ 'use client';
2
+ import { useQuery as e } from "@tanstack/react-query";
3
+ function n(r) {
4
+ return e(r);
3
5
  }
4
6
  export {
5
- e as getDefaultExportFromCjs
7
+ n as useQueryUnwrapped
6
8
  };
package/dist/index6.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
3
  import "./index18.mjs";
3
4
  import "@tanstack/react-query";
package/dist/index60.mjs CHANGED
@@ -1,4 +1,7 @@
1
- var o = { exports: {} };
1
+ 'use client';
2
+ function e(t) {
3
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
4
+ }
2
5
  export {
3
- o as __module
6
+ e as getDefaultExportFromCjs
4
7
  };
package/dist/index61.mjs CHANGED
@@ -1,7 +1,5 @@
1
- import { useQuery as e } from "@tanstack/react-query";
2
- function n(r) {
3
- return e(r);
4
- }
1
+ 'use client';
2
+ var o = { exports: {} };
5
3
  export {
6
- n as useQueryUnwrapped
4
+ o as __module
7
5
  };
package/dist/index62.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var a = (i, t, e = {}) => {
2
3
  let r = `${i}=${t}`;
3
4
  if (i.startsWith("__Secure-") && !e.secure)
package/dist/index63.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  var s = (e, r) => (e = e.replace(/\/+$/, ""), e = e + "/", r = r.replace(/^\/+/, ""), e + r), p = (e, r) => {
2
3
  for (const [n, t] of Object.entries(r)) {
3
4
  const c = new RegExp("/:" + n + "(?:{[^/]+})?\\??");
package/dist/index64.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import R from "./index65.mjs";
2
3
  const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, F = /* @__PURE__ */ ((e) => (t) => {
3
4
  const n = T.call(t);
package/dist/index65.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function u(n, r) {
2
3
  return function() {
3
4
  return n.apply(r, arguments);
package/dist/index66.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import d from "./index64.mjs";
2
3
  import U from "./index81.mjs";
3
4
  import q from "./index82.mjs";
package/dist/index67.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import i from "./index64.mjs";
2
3
  import h from "./index78.mjs";
3
4
  const c = (s) => s instanceof h ? { ...s } : s;
package/dist/index68.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import t from "./index64.mjs";
2
3
  import c from "./index75.mjs";
3
4
  import u from "./index86.mjs";
package/dist/index69.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import u from "./index64.mjs";
2
3
  function f(e) {
3
4
  return u.matchAll(/\w+|\[(\w*)]/g, e).map((o) => o[0] === "[]" ? "" : o[1] || o[0]);
package/dist/index7.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
3
  import { Package as v, Trash2 as p } from "lucide-react";
3
4
  import { cn as g, formatCurrency as m } from "./index17.mjs";
package/dist/index70.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import r from "./index75.mjs";
2
3
  import i from "./index64.mjs";
3
4
  function l(o, t, e) {
package/dist/index71.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import u from "./index70.mjs";
2
3
  class c {
3
4
  constructor(e) {
package/dist/index72.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function t(n) {
2
3
  return !!(n && n.__CANCEL__);
3
4
  }
package/dist/index73.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const o = "1.12.2";
2
3
  export {
3
4
  o as VERSION
package/dist/index74.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import t from "./index64.mjs";
2
3
  import E from "./index75.mjs";
3
4
  function B(i) {
package/dist/index75.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import c from "./index64.mjs";
2
3
  function r(t, i, o, a, e) {
3
4
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", i && (this.code = i), o && (this.config = o), a && (this.request = a), e && (this.response = e, this.status = e.status ? e.status : null);
package/dist/index76.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function u(n) {
2
3
  return function(r) {
3
4
  return n.apply(null, r);
package/dist/index77.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import i from "./index64.mjs";
2
3
  function o(r) {
3
4
  return i.isObject(r) && r.isAxiosError === !0;
package/dist/index78.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import i from "./index64.mjs";
2
3
  import S from "./index89.mjs";
3
4
  const h = Symbol("internals");
package/dist/index79.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import s from "./index64.mjs";
2
3
  import m from "./index90.mjs";
3
4
  import u from "./index91.mjs";
package/dist/index8.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsxs as a, Fragment as N, jsx as e } from "react/jsx-runtime";
2
3
  import { useState as Y, useEffect as b } from "react";
3
4
  import { useCart as q } from "./index3.mjs";
package/dist/index80.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const e = {
2
3
  Continue: 100,
3
4
  SwitchingProtocols: 101,
package/dist/index81.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import f from "./index64.mjs";
2
3
  import d from "./index93.mjs";
3
4
  function l(e) {
package/dist/index82.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import n from "./index64.mjs";
2
3
  class a {
3
4
  constructor() {
package/dist/index83.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import r from "./index94.mjs";
2
3
  import p from "./index72.mjs";
3
4
  import l from "./index68.mjs";
package/dist/index84.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import r from "./index95.mjs";
2
3
  import f from "./index96.mjs";
3
4
  function u(l, i, t) {
package/dist/index85.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { VERSION as w } from "./index73.mjs";
2
3
  import s from "./index75.mjs";
3
4
  const l = {};
package/dist/index86.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const r = {
2
3
  silentJSONParsing: !0,
3
4
  forcedJSONParsing: !0,
package/dist/index87.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import s from "./index64.mjs";
2
3
  import f from "./index74.mjs";
3
4
  import r from "./index88.mjs";
package/dist/index88.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import o from "./index97.mjs";
2
3
  import * as t from "./index98.mjs";
3
4
  const m = {
package/dist/index89.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import n from "./index64.mjs";
2
3
  const a = n.toObjectSet([
3
4
  "age",
package/dist/index9.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as e, jsxs as s, Fragment as j } from "react/jsx-runtime";
2
3
  import { useState as a } from "react";
3
4
  import { useCart as T } from "./index3.mjs";
package/dist/index90.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  const t = null;
2
3
  export {
3
4
  t as default
package/dist/index91.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import H from "./index64.mjs";
2
3
  import D from "./index99.mjs";
3
4
  import L from "./index86.mjs";
package/dist/index92.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import K from "./index88.mjs";
2
3
  import t from "./index64.mjs";
3
4
  import b from "./index75.mjs";
package/dist/index93.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import p from "./index74.mjs";
2
3
  function i(n) {
3
4
  const t = {
package/dist/index94.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import i from "./index64.mjs";
2
3
  import m from "./index68.mjs";
3
4
  import s from "./index78.mjs";
package/dist/index95.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function e(t) {
2
3
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
3
4
  }
package/dist/index96.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function n(e, c) {
2
3
  return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
3
4
  }
package/dist/index97.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import o from "./index105.mjs";
2
3
  import r from "./index106.mjs";
3
4
  import t from "./index107.mjs";
package/dist/index98.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  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
3
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
3
4
  export {
package/dist/index99.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import a from "./index75.mjs";
2
3
  function E(i, f, t) {
3
4
  const u = t.config.validateStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instockng/storefront-ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
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",