commerce-toolkit 0.3.0 → 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.
Files changed (137) hide show
  1. package/dist/Combination-BYVrsWzR.js +674 -0
  2. package/dist/Combination-BYVrsWzR.js.map +1 -0
  3. package/dist/Combination-CMyKl2HP.cjs +42 -0
  4. package/dist/Combination-CMyKl2HP.cjs.map +1 -0
  5. package/dist/{checkbox-indicator-os50dewx.js → checkbox-indicator-C9hf5wZD.js} +2 -2
  6. package/dist/{checkbox-indicator-os50dewx.js.map → checkbox-indicator-C9hf5wZD.js.map} +1 -1
  7. package/dist/{checkbox-indicator-GNoyS6OL.cjs → checkbox-indicator-D3X4eolv.cjs} +2 -2
  8. package/dist/{checkbox-indicator-GNoyS6OL.cjs.map → checkbox-indicator-D3X4eolv.cjs.map} +1 -1
  9. package/dist/{checkbox-root-B9W2Y8rY.js → checkbox-root-CFYnDr-v.js} +115 -118
  10. package/dist/checkbox-root-CFYnDr-v.js.map +1 -0
  11. package/dist/checkbox-root-oz6K_T-0.cjs +2 -0
  12. package/dist/checkbox-root-oz6K_T-0.cjs.map +1 -0
  13. package/dist/checkbox.cjs +1 -1
  14. package/dist/checkbox.js +2 -2
  15. package/dist/compare-card.cjs +1 -1
  16. package/dist/compare-card.js +2 -2
  17. package/dist/components/form-status/form-status.d.ts +27 -0
  18. package/dist/components/form-status/form-status.d.ts.map +1 -0
  19. package/dist/components/form-status/index.d.ts +3 -0
  20. package/dist/components/form-status/index.d.ts.map +1 -0
  21. package/dist/components/form-status/primitives/form-status-root.d.ts +7 -0
  22. package/dist/components/form-status/primitives/form-status-root.d.ts.map +1 -0
  23. package/dist/components/form-status/primitives.d.ts +2 -0
  24. package/dist/components/form-status/primitives.d.ts.map +1 -0
  25. package/dist/components/logo/index.d.ts +0 -1
  26. package/dist/components/logo/index.d.ts.map +1 -1
  27. package/dist/components/logo/primitives/logo-text.d.ts +3 -1
  28. package/dist/components/logo/primitives/logo-text.d.ts.map +1 -1
  29. package/dist/components/navigation-menu/index.d.ts +3 -0
  30. package/dist/components/navigation-menu/index.d.ts.map +1 -0
  31. package/dist/components/navigation-menu/navigation-menu.d.ts +50 -0
  32. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
  33. package/dist/components/navigation-menu/primitives/navigation-menu-content.d.ts +5 -0
  34. package/dist/components/navigation-menu/primitives/navigation-menu-content.d.ts.map +1 -0
  35. package/dist/components/navigation-menu/primitives/navigation-menu-grid-column.d.ts +4 -0
  36. package/dist/components/navigation-menu/primitives/navigation-menu-grid-column.d.ts.map +1 -0
  37. package/dist/components/navigation-menu/primitives/navigation-menu-grid-label.d.ts +5 -0
  38. package/dist/components/navigation-menu/primitives/navigation-menu-grid-label.d.ts.map +1 -0
  39. package/dist/components/navigation-menu/primitives/navigation-menu-grid-link.d.ts +5 -0
  40. package/dist/components/navigation-menu/primitives/navigation-menu-grid-link.d.ts.map +1 -0
  41. package/dist/components/navigation-menu/primitives/navigation-menu-grid.d.ts +4 -0
  42. package/dist/components/navigation-menu/primitives/navigation-menu-grid.d.ts.map +1 -0
  43. package/dist/components/navigation-menu/primitives/navigation-menu-item.d.ts +5 -0
  44. package/dist/components/navigation-menu/primitives/navigation-menu-item.d.ts.map +1 -0
  45. package/dist/components/navigation-menu/primitives/navigation-menu-link.d.ts +5 -0
  46. package/dist/components/navigation-menu/primitives/navigation-menu-link.d.ts.map +1 -0
  47. package/dist/components/navigation-menu/primitives/navigation-menu-list.d.ts +5 -0
  48. package/dist/components/navigation-menu/primitives/navigation-menu-list.d.ts.map +1 -0
  49. package/dist/components/navigation-menu/primitives/navigation-menu-panel.d.ts +4 -0
  50. package/dist/components/navigation-menu/primitives/navigation-menu-panel.d.ts.map +1 -0
  51. package/dist/components/navigation-menu/primitives/navigation-menu-root.d.ts +8 -0
  52. package/dist/components/navigation-menu/primitives/navigation-menu-root.d.ts.map +1 -0
  53. package/dist/components/navigation-menu/primitives/navigation-menu-slot.d.ts +4 -0
  54. package/dist/components/navigation-menu/primitives/navigation-menu-slot.d.ts.map +1 -0
  55. package/dist/components/navigation-menu/primitives/navigation-menu-trigger.d.ts +5 -0
  56. package/dist/components/navigation-menu/primitives/navigation-menu-trigger.d.ts.map +1 -0
  57. package/dist/components/navigation-menu/primitives/navigation-menu-viewport.d.ts +5 -0
  58. package/dist/components/navigation-menu/primitives/navigation-menu-viewport.d.ts.map +1 -0
  59. package/dist/components/navigation-menu/primitives.d.ts +13 -0
  60. package/dist/components/navigation-menu/primitives.d.ts.map +1 -0
  61. package/dist/{dropdown-menu-node-zOplWIzZ.cjs → dropdown-menu-node-C0Oe_nJV.cjs} +3 -3
  62. package/dist/{dropdown-menu-node-zOplWIzZ.cjs.map → dropdown-menu-node-C0Oe_nJV.cjs.map} +1 -1
  63. package/dist/{dropdown-menu-node-4Pe3uXjC.js → dropdown-menu-node-CrYNKRZ0.js} +20 -19
  64. package/dist/{dropdown-menu-node-4Pe3uXjC.js.map → dropdown-menu-node-CrYNKRZ0.js.map} +1 -1
  65. package/dist/dropdown-menu.cjs +1 -1
  66. package/dist/dropdown-menu.js +1 -1
  67. package/dist/form-status.cjs +2 -0
  68. package/dist/form-status.cjs.map +1 -0
  69. package/dist/form-status.js +33 -0
  70. package/dist/form-status.js.map +1 -0
  71. package/dist/index-BSyIT6yC.cjs +2 -0
  72. package/dist/index-BSyIT6yC.cjs.map +1 -0
  73. package/dist/index-BZPx6jYI.js +9 -0
  74. package/dist/index-BZPx6jYI.js.map +1 -0
  75. package/dist/index-CY_4_uMy.cjs +6 -0
  76. package/dist/{index-BppAzNV8.cjs.map → index-CY_4_uMy.cjs.map} +1 -1
  77. package/dist/index-DYxWvftI.cjs +2 -0
  78. package/dist/index-DYxWvftI.cjs.map +1 -0
  79. package/dist/index-DoAIVWjZ.js +135 -0
  80. package/dist/index-DoAIVWjZ.js.map +1 -0
  81. package/dist/{index-ChSlzMYI.js → index-DthUnpqb.js} +17 -16
  82. package/dist/{index-ChSlzMYI.js.map → index-DthUnpqb.js.map} +1 -1
  83. package/dist/index.cjs +3 -3
  84. package/dist/index.cjs.map +1 -1
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +678 -678
  88. package/dist/index.js.map +1 -1
  89. package/dist/logo-skeleton-CgTRdVwc.js +44 -0
  90. package/dist/logo-skeleton-CgTRdVwc.js.map +1 -0
  91. package/dist/logo-skeleton-CpbzziY-.cjs +2 -0
  92. package/dist/logo-skeleton-CpbzziY-.cjs.map +1 -0
  93. package/dist/logo.cjs +1 -1
  94. package/dist/logo.cjs.map +1 -1
  95. package/dist/logo.js +4 -10
  96. package/dist/logo.js.map +1 -1
  97. package/dist/{modal-title-CuB6IpxH.cjs → modal-title-BrR2NosO.cjs} +2 -2
  98. package/dist/{modal-title-CuB6IpxH.cjs.map → modal-title-BrR2NosO.cjs.map} +1 -1
  99. package/dist/{modal-title-MIH3Xsp2.js → modal-title-ji5CKbNn.js} +2 -2
  100. package/dist/{modal-title-MIH3Xsp2.js.map → modal-title-ji5CKbNn.js.map} +1 -1
  101. package/dist/modal.cjs +1 -1
  102. package/dist/modal.js +1 -1
  103. package/dist/navigation-menu.cjs +2 -0
  104. package/dist/navigation-menu.cjs.map +1 -0
  105. package/dist/navigation-menu.js +880 -0
  106. package/dist/navigation-menu.js.map +1 -0
  107. package/dist/{product-card-label-D43AXtRL.cjs → product-card-label-B1EwGQhM.cjs} +2 -2
  108. package/dist/{product-card-label-D43AXtRL.cjs.map → product-card-label-B1EwGQhM.cjs.map} +1 -1
  109. package/dist/{product-card-label-CJmC9ICf.js → product-card-label-Djn5qQC4.js} +3 -3
  110. package/dist/{product-card-label-CJmC9ICf.js.map → product-card-label-Djn5qQC4.js.map} +1 -1
  111. package/dist/{product-card-skeleton-CCQkDMNl.cjs → product-card-skeleton-B2lGkIgo.cjs} +2 -2
  112. package/dist/{product-card-skeleton-CCQkDMNl.cjs.map → product-card-skeleton-B2lGkIgo.cjs.map} +1 -1
  113. package/dist/{product-card-skeleton-Dkqf-bfA.js → product-card-skeleton-Rvy8Ocb0.js} +2 -2
  114. package/dist/{product-card-skeleton-Dkqf-bfA.js.map → product-card-skeleton-Rvy8Ocb0.js.map} +1 -1
  115. package/dist/product-card.cjs +1 -1
  116. package/dist/product-card.js +2 -2
  117. package/dist/{side-panel-close-DVJwOxdM.js → side-panel-close-BtypdE9q.js} +2 -2
  118. package/dist/{side-panel-close-DVJwOxdM.js.map → side-panel-close-BtypdE9q.js.map} +1 -1
  119. package/dist/{side-panel-close-Bjcn4BEE.cjs → side-panel-close-DIP8gLRZ.cjs} +2 -2
  120. package/dist/{side-panel-close-Bjcn4BEE.cjs.map → side-panel-close-DIP8gLRZ.cjs.map} +1 -1
  121. package/dist/side-panel.cjs +1 -1
  122. package/dist/side-panel.js +1 -1
  123. package/package.json +21 -1
  124. package/dist/Combination-49q9aXeT.js +0 -801
  125. package/dist/Combination-49q9aXeT.js.map +0 -1
  126. package/dist/Combination-DAFZFTdA.cjs +0 -42
  127. package/dist/Combination-DAFZFTdA.cjs.map +0 -1
  128. package/dist/checkbox-root-B9W2Y8rY.js.map +0 -1
  129. package/dist/checkbox-root-g9HcYZCP.cjs +0 -2
  130. package/dist/checkbox-root-g9HcYZCP.cjs.map +0 -1
  131. package/dist/components/logo/logo.d.ts +0 -32
  132. package/dist/components/logo/logo.d.ts.map +0 -1
  133. package/dist/index-BppAzNV8.cjs +0 -6
  134. package/dist/logo-text-CK4vcNPY.js +0 -39
  135. package/dist/logo-text-CK4vcNPY.js.map +0 -1
  136. package/dist/logo-text-Db3yd3b1.cjs +0 -2
  137. package/dist/logo-text-Db3yd3b1.cjs.map +0 -1
@@ -10,7 +10,8 @@ import { u as Dt } from "./index-Cn_ZXVPF.js";
10
10
  import { P as te, u as ht, d as io, c as ao } from "./index-BzgbBl8b.js";
11
11
  import { c as so } from "./index-Aj7AU26N.js";
12
12
  import { u as co } from "./index-ByaXH_ih.js";
13
- import { h as lo, u as uo, R as fo, F as po, D as mo } from "./Combination-49q9aXeT.js";
13
+ import { D as lo } from "./index-DoAIVWjZ.js";
14
+ import { h as uo, u as fo, R as po, F as mo } from "./Combination-BYVrsWzR.js";
14
15
  import { u as Ee } from "./index-9BYBSfjb.js";
15
16
  import * as ho from "react-dom";
16
17
  import { u as Be } from "./index-0ioNhtNM.js";
@@ -25,7 +26,7 @@ import { c as bo } from "./createLucideIcon-DU8bVqFn.js";
25
26
  * This source code is licensed under the ISC license.
26
27
  * See the LICENSE file in the root directory of this source tree.
27
28
  */
28
- const Ot = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Nt = bo("chevron-right", Ot), $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
+ const Ot = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Nt = bo("chevron-right", Ot), Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
30
  __proto__: null,
30
31
  __iconNode: Ot,
31
32
  default: Nt
@@ -1617,7 +1618,7 @@ var V = "MenuContent", [Jr, lt] = le(V), un = p.forwardRef(
1617
1618
  const n = re(V, e.__scopeMenu), o = p.useRef(null), r = ce(t, o);
1618
1619
  return p.useEffect(() => {
1619
1620
  const i = o.current;
1620
- if (i) return lo(i);
1621
+ if (i) return uo(i);
1621
1622
  }, []), /* @__PURE__ */ f(
1622
1623
  ut,
1623
1624
  {
@@ -1665,13 +1666,13 @@ var V = "MenuContent", [Jr, lt] = le(V), un = p.forwardRef(
1665
1666
  onDismiss: h,
1666
1667
  disableOutsideScroll: g,
1667
1668
  ...w
1668
- } = e, y = re(V, n), x = Se(V, n), C = Re(n), S = rn(n), b = Ur(n), [R, P] = p.useState(null), A = p.useRef(null), I = ce(t, A, y.onContentChange), k = p.useRef(0), E = p.useRef(""), $ = p.useRef(0), L = p.useRef(null), O = p.useRef("right"), _ = p.useRef(0), G = g ? fo : p.Fragment, N = g ? { as: ti, allowPinchZoom: !0 } : void 0, T = (v) => {
1669
+ } = e, y = re(V, n), x = Se(V, n), C = Re(n), S = rn(n), b = Ur(n), [R, P] = p.useState(null), A = p.useRef(null), I = ce(t, A, y.onContentChange), k = p.useRef(0), E = p.useRef(""), $ = p.useRef(0), L = p.useRef(null), O = p.useRef("right"), _ = p.useRef(0), G = g ? po : p.Fragment, N = g ? { as: ti, allowPinchZoom: !0 } : void 0, T = (v) => {
1669
1670
  const B = E.current + v, X = b().filter((F) => !F.disabled), ie = document.activeElement, me = X.find((F) => F.ref.current === ie)?.textValue, he = X.map((F) => F.textValue), Ae = pi(he, B, me), ae = X.find((F) => F.textValue === Ae)?.ref.current;
1670
1671
  (function F(ge) {
1671
1672
  E.current = ge, window.clearTimeout(k.current), ge !== "" && (k.current = window.setTimeout(() => F(""), 1e3));
1672
1673
  })(B), ae && setTimeout(() => ae.focus());
1673
1674
  };
1674
- p.useEffect(() => () => window.clearTimeout(k.current), []), uo();
1675
+ p.useEffect(() => () => window.clearTimeout(k.current), []), fo();
1675
1676
  const M = p.useCallback((v) => O.current === L.current?.side && hi(v, L.current?.area), []);
1676
1677
  return /* @__PURE__ */ f(
1677
1678
  Jr,
@@ -1701,7 +1702,7 @@ var V = "MenuContent", [Jr, lt] = le(V), un = p.forwardRef(
1701
1702
  L.current = v;
1702
1703
  }, []),
1703
1704
  children: /* @__PURE__ */ f(G, { ...N, children: /* @__PURE__ */ f(
1704
- po,
1705
+ mo,
1705
1706
  {
1706
1707
  asChild: !0,
1707
1708
  trapped: r,
@@ -1710,7 +1711,7 @@ var V = "MenuContent", [Jr, lt] = le(V), un = p.forwardRef(
1710
1711
  }),
1711
1712
  onUnmountAutoFocus: a,
1712
1713
  children: /* @__PURE__ */ f(
1713
- mo,
1714
+ lo,
1714
1715
  {
1715
1716
  asChild: !0,
1716
1717
  disableOutsidePointerEvents: s,
@@ -2316,7 +2317,7 @@ var Yi = "DropdownMenuSubContent", Hn = p.forwardRef((e, t) => {
2316
2317
  Hn.displayName = Yi;
2317
2318
  var qi = Dn, Zi = On, Ji = Nn, Qi = In, ea = kn, ta = Ln, na = Fn, oa = $n, ra = Bn, ia = Wn, aa = Ui, sa = Gn, ca = Hn;
2318
2319
  const Kn = no(void 0);
2319
- function Ba({
2320
+ function Wa({
2320
2321
  align: e = "end",
2321
2322
  sideOffset: t = 6,
2322
2323
  showScrollArea: n = !0,
@@ -2341,10 +2342,10 @@ function Vn() {
2341
2342
  throw new Error("useDropdownMenu must be used within a DropdownMenuRoot");
2342
2343
  return e;
2343
2344
  }
2344
- function Wa({ ...e }) {
2345
+ function Ga({ ...e }) {
2345
2346
  return /* @__PURE__ */ f(Zi, { "data-slot": "dropdown-menu-trigger", ...e });
2346
2347
  }
2347
- function Ga({ className: e, children: t, ...n }) {
2348
+ function Ha({ className: e, children: t, ...n }) {
2348
2349
  const { align: o, sideOffset: r } = Vn();
2349
2350
  return /* @__PURE__ */ f(
2350
2351
  Qi,
@@ -2426,7 +2427,7 @@ function ua({
2426
2427
  }
2427
2428
  );
2428
2429
  }
2429
- function Ha({ className: e, ...t }) {
2430
+ function Ka({ className: e, ...t }) {
2430
2431
  return /* @__PURE__ */ f(
2431
2432
  ta,
2432
2433
  {
@@ -2571,7 +2572,7 @@ function va({
2571
2572
  }
2572
2573
  );
2573
2574
  }
2574
- function Ka({ menuNode: e, menuKey: t }) {
2575
+ function Va({ menuNode: e, menuKey: t }) {
2575
2576
  function n(o, r) {
2576
2577
  switch (o.type) {
2577
2578
  case "item":
@@ -2600,13 +2601,13 @@ function Ka({ menuNode: e, menuKey: t }) {
2600
2601
  return n(e, t);
2601
2602
  }
2602
2603
  export {
2603
- Ba as D,
2604
+ Wa as D,
2604
2605
  ma as S,
2605
- Wa as a,
2606
- Ga as b,
2606
+ Ga as a,
2607
+ Ha as b,
2607
2608
  la as c,
2608
2609
  ua as d,
2609
- Ha as e,
2610
+ Ka as e,
2610
2611
  da as f,
2611
2612
  fa as g,
2612
2613
  pa as h,
@@ -2614,8 +2615,8 @@ export {
2614
2615
  ga as j,
2615
2616
  wa as k,
2616
2617
  va as l,
2617
- Ka as m,
2618
- $a as n,
2618
+ Va as m,
2619
+ Ba as n,
2619
2620
  Vn as u
2620
2621
  };
2621
- //# sourceMappingURL=dropdown-menu-node-4Pe3uXjC.js.map
2622
+ //# sourceMappingURL=dropdown-menu-node-CrYNKRZ0.js.map