commerce-toolkit 0.2.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 (167) 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/counter/counter.d.ts +25 -0
  18. package/dist/components/counter/counter.d.ts.map +1 -0
  19. package/dist/components/counter/index.d.ts +3 -0
  20. package/dist/components/counter/index.d.ts.map +1 -0
  21. package/dist/components/counter/primitives/counter-decrease.d.ts +4 -0
  22. package/dist/components/counter/primitives/counter-decrease.d.ts.map +1 -0
  23. package/dist/components/counter/primitives/counter-increase.d.ts +4 -0
  24. package/dist/components/counter/primitives/counter-increase.d.ts.map +1 -0
  25. package/dist/components/counter/primitives/counter-input.d.ts +4 -0
  26. package/dist/components/counter/primitives/counter-input.d.ts.map +1 -0
  27. package/dist/components/counter/primitives/counter-root.d.ts +16 -0
  28. package/dist/components/counter/primitives/counter-root.d.ts.map +1 -0
  29. package/dist/components/counter/primitives.d.ts +5 -0
  30. package/dist/components/counter/primitives.d.ts.map +1 -0
  31. package/dist/components/form-status/form-status.d.ts +27 -0
  32. package/dist/components/form-status/form-status.d.ts.map +1 -0
  33. package/dist/components/form-status/index.d.ts +3 -0
  34. package/dist/components/form-status/index.d.ts.map +1 -0
  35. package/dist/components/form-status/primitives/form-status-root.d.ts +7 -0
  36. package/dist/components/form-status/primitives/form-status-root.d.ts.map +1 -0
  37. package/dist/components/form-status/primitives.d.ts +2 -0
  38. package/dist/components/form-status/primitives.d.ts.map +1 -0
  39. package/dist/components/logo/index.d.ts +0 -1
  40. package/dist/components/logo/index.d.ts.map +1 -1
  41. package/dist/components/logo/primitives/logo-text.d.ts +3 -1
  42. package/dist/components/logo/primitives/logo-text.d.ts.map +1 -1
  43. package/dist/components/navigation-menu/index.d.ts +3 -0
  44. package/dist/components/navigation-menu/index.d.ts.map +1 -0
  45. package/dist/components/navigation-menu/navigation-menu.d.ts +50 -0
  46. package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
  47. package/dist/components/navigation-menu/primitives/navigation-menu-content.d.ts +5 -0
  48. package/dist/components/navigation-menu/primitives/navigation-menu-content.d.ts.map +1 -0
  49. package/dist/components/navigation-menu/primitives/navigation-menu-grid-column.d.ts +4 -0
  50. package/dist/components/navigation-menu/primitives/navigation-menu-grid-column.d.ts.map +1 -0
  51. package/dist/components/navigation-menu/primitives/navigation-menu-grid-label.d.ts +5 -0
  52. package/dist/components/navigation-menu/primitives/navigation-menu-grid-label.d.ts.map +1 -0
  53. package/dist/components/navigation-menu/primitives/navigation-menu-grid-link.d.ts +5 -0
  54. package/dist/components/navigation-menu/primitives/navigation-menu-grid-link.d.ts.map +1 -0
  55. package/dist/components/navigation-menu/primitives/navigation-menu-grid.d.ts +4 -0
  56. package/dist/components/navigation-menu/primitives/navigation-menu-grid.d.ts.map +1 -0
  57. package/dist/components/navigation-menu/primitives/navigation-menu-item.d.ts +5 -0
  58. package/dist/components/navigation-menu/primitives/navigation-menu-item.d.ts.map +1 -0
  59. package/dist/components/navigation-menu/primitives/navigation-menu-link.d.ts +5 -0
  60. package/dist/components/navigation-menu/primitives/navigation-menu-link.d.ts.map +1 -0
  61. package/dist/components/navigation-menu/primitives/navigation-menu-list.d.ts +5 -0
  62. package/dist/components/navigation-menu/primitives/navigation-menu-list.d.ts.map +1 -0
  63. package/dist/components/navigation-menu/primitives/navigation-menu-panel.d.ts +4 -0
  64. package/dist/components/navigation-menu/primitives/navigation-menu-panel.d.ts.map +1 -0
  65. package/dist/components/navigation-menu/primitives/navigation-menu-root.d.ts +8 -0
  66. package/dist/components/navigation-menu/primitives/navigation-menu-root.d.ts.map +1 -0
  67. package/dist/components/navigation-menu/primitives/navigation-menu-slot.d.ts +4 -0
  68. package/dist/components/navigation-menu/primitives/navigation-menu-slot.d.ts.map +1 -0
  69. package/dist/components/navigation-menu/primitives/navigation-menu-trigger.d.ts +5 -0
  70. package/dist/components/navigation-menu/primitives/navigation-menu-trigger.d.ts.map +1 -0
  71. package/dist/components/navigation-menu/primitives/navigation-menu-viewport.d.ts +5 -0
  72. package/dist/components/navigation-menu/primitives/navigation-menu-viewport.d.ts.map +1 -0
  73. package/dist/components/navigation-menu/primitives.d.ts +13 -0
  74. package/dist/components/navigation-menu/primitives.d.ts.map +1 -0
  75. package/dist/counter-input-BJov0Fub.cjs +2 -0
  76. package/dist/counter-input-BJov0Fub.cjs.map +1 -0
  77. package/dist/counter-input-hbz8NVA1.js +106 -0
  78. package/dist/counter-input-hbz8NVA1.js.map +1 -0
  79. package/dist/counter.cjs +2 -0
  80. package/dist/counter.cjs.map +1 -0
  81. package/dist/counter.js +9 -0
  82. package/dist/counter.js.map +1 -0
  83. package/dist/{dropdown-menu-node-zOplWIzZ.cjs → dropdown-menu-node-C0Oe_nJV.cjs} +3 -3
  84. package/dist/{dropdown-menu-node-zOplWIzZ.cjs.map → dropdown-menu-node-C0Oe_nJV.cjs.map} +1 -1
  85. package/dist/{dropdown-menu-node-4Pe3uXjC.js → dropdown-menu-node-CrYNKRZ0.js} +20 -19
  86. package/dist/{dropdown-menu-node-4Pe3uXjC.js.map → dropdown-menu-node-CrYNKRZ0.js.map} +1 -1
  87. package/dist/dropdown-menu.cjs +1 -1
  88. package/dist/dropdown-menu.js +1 -1
  89. package/dist/form-status.cjs +2 -0
  90. package/dist/form-status.cjs.map +1 -0
  91. package/dist/form-status.js +33 -0
  92. package/dist/form-status.js.map +1 -0
  93. package/dist/index-BSyIT6yC.cjs +2 -0
  94. package/dist/index-BSyIT6yC.cjs.map +1 -0
  95. package/dist/index-BZPx6jYI.js +9 -0
  96. package/dist/index-BZPx6jYI.js.map +1 -0
  97. package/dist/index-CY_4_uMy.cjs +6 -0
  98. package/dist/{index-BppAzNV8.cjs.map → index-CY_4_uMy.cjs.map} +1 -1
  99. package/dist/index-DYxWvftI.cjs +2 -0
  100. package/dist/index-DYxWvftI.cjs.map +1 -0
  101. package/dist/index-DoAIVWjZ.js +135 -0
  102. package/dist/index-DoAIVWjZ.js.map +1 -0
  103. package/dist/{index-ChSlzMYI.js → index-DthUnpqb.js} +17 -16
  104. package/dist/{index-ChSlzMYI.js.map → index-DthUnpqb.js.map} +1 -1
  105. package/dist/index.cjs +16 -6
  106. package/dist/index.cjs.map +1 -1
  107. package/dist/index.d.ts +2 -1
  108. package/dist/index.d.ts.map +1 -1
  109. package/dist/index.js +887 -832
  110. package/dist/index.js.map +1 -1
  111. package/dist/logo-skeleton-CgTRdVwc.js +44 -0
  112. package/dist/logo-skeleton-CgTRdVwc.js.map +1 -0
  113. package/dist/logo-skeleton-CpbzziY-.cjs +2 -0
  114. package/dist/logo-skeleton-CpbzziY-.cjs.map +1 -0
  115. package/dist/logo.cjs +1 -1
  116. package/dist/logo.cjs.map +1 -1
  117. package/dist/logo.js +4 -10
  118. package/dist/logo.js.map +1 -1
  119. package/dist/{modal-title-CuB6IpxH.cjs → modal-title-BrR2NosO.cjs} +2 -2
  120. package/dist/{modal-title-CuB6IpxH.cjs.map → modal-title-BrR2NosO.cjs.map} +1 -1
  121. package/dist/{modal-title-MIH3Xsp2.js → modal-title-ji5CKbNn.js} +2 -2
  122. package/dist/{modal-title-MIH3Xsp2.js.map → modal-title-ji5CKbNn.js.map} +1 -1
  123. package/dist/modal.cjs +1 -1
  124. package/dist/modal.js +1 -1
  125. package/dist/navigation-menu.cjs +2 -0
  126. package/dist/navigation-menu.cjs.map +1 -0
  127. package/dist/navigation-menu.js +880 -0
  128. package/dist/navigation-menu.js.map +1 -0
  129. package/dist/{product-card-label-D43AXtRL.cjs → product-card-label-B1EwGQhM.cjs} +2 -2
  130. package/dist/{product-card-label-D43AXtRL.cjs.map → product-card-label-B1EwGQhM.cjs.map} +1 -1
  131. package/dist/{product-card-label-CJmC9ICf.js → product-card-label-Djn5qQC4.js} +3 -3
  132. package/dist/{product-card-label-CJmC9ICf.js.map → product-card-label-Djn5qQC4.js.map} +1 -1
  133. package/dist/{product-card-skeleton-CCQkDMNl.cjs → product-card-skeleton-B2lGkIgo.cjs} +2 -2
  134. package/dist/{product-card-skeleton-CCQkDMNl.cjs.map → product-card-skeleton-B2lGkIgo.cjs.map} +1 -1
  135. package/dist/{product-card-skeleton-Dkqf-bfA.js → product-card-skeleton-Rvy8Ocb0.js} +2 -2
  136. package/dist/{product-card-skeleton-Dkqf-bfA.js.map → product-card-skeleton-Rvy8Ocb0.js.map} +1 -1
  137. package/dist/product-card.cjs +1 -1
  138. package/dist/product-card.js +2 -2
  139. package/dist/{side-panel-close-DVJwOxdM.js → side-panel-close-BtypdE9q.js} +2 -2
  140. package/dist/{side-panel-close-DVJwOxdM.js.map → side-panel-close-BtypdE9q.js.map} +1 -1
  141. package/dist/{side-panel-close-Bjcn4BEE.cjs → side-panel-close-DIP8gLRZ.cjs} +2 -2
  142. package/dist/{side-panel-close-Bjcn4BEE.cjs.map → side-panel-close-DIP8gLRZ.cjs.map} +1 -1
  143. package/dist/side-panel.cjs +1 -1
  144. package/dist/side-panel.js +1 -1
  145. package/package.json +31 -1
  146. package/dist/Combination-49q9aXeT.js +0 -801
  147. package/dist/Combination-49q9aXeT.js.map +0 -1
  148. package/dist/Combination-DAFZFTdA.cjs +0 -42
  149. package/dist/Combination-DAFZFTdA.cjs.map +0 -1
  150. package/dist/checkbox-root-B9W2Y8rY.js.map +0 -1
  151. package/dist/checkbox-root-g9HcYZCP.cjs +0 -2
  152. package/dist/checkbox-root-g9HcYZCP.cjs.map +0 -1
  153. package/dist/components/logo/logo.d.ts +0 -32
  154. package/dist/components/logo/logo.d.ts.map +0 -1
  155. package/dist/index-BppAzNV8.cjs +0 -6
  156. package/dist/logo-text-CK4vcNPY.js +0 -39
  157. package/dist/logo-text-CK4vcNPY.js.map +0 -1
  158. package/dist/logo-text-Db3yd3b1.cjs +0 -2
  159. package/dist/logo-text-Db3yd3b1.cjs.map +0 -1
  160. package/dist/minus-BJih_7bh.cjs +0 -7
  161. package/dist/minus-BJih_7bh.cjs.map +0 -1
  162. package/dist/minus-B_YS3-aV.js +0 -13
  163. package/dist/minus-B_YS3-aV.js.map +0 -1
  164. package/dist/plus-DNl2AbQ2.js +0 -16
  165. package/dist/plus-DNl2AbQ2.js.map +0 -1
  166. package/dist/plus-De3UvuAJ.cjs +0 -7
  167. package/dist/plus-De3UvuAJ.cjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { P as m, u as d } from "./product-card-root-4Xz4-pdL.js";
2
2
  import { jsx as s } from "react/jsx-runtime";
3
3
  import { c as o } from "./utils-BOGlfttm.js";
4
- import { c as p, l as f, k as P, f as b, d as x, g as C, b as k, m as g, e as h, P as v, j, i as L, a as S, h as T } from "./product-card-label-CJmC9ICf.js";
5
- import { P as B } from "./product-card-skeleton-Dkqf-bfA.js";
4
+ import { c as p, l as f, k as P, f as b, d as x, g as C, b as k, m as g, e as h, P as v, j, i as L, a as S, h as T } from "./product-card-label-Djn5qQC4.js";
5
+ import { P as B } from "./product-card-skeleton-Rvy8Ocb0.js";
6
6
  function i({ className: a, children: e, ...t }) {
7
7
  return /* @__PURE__ */ s("div", { className: o("relative", a), "data-slot": "product-card-content", ...t, children: e });
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { R as o, T as l, P as r, O as s, C as d, a as f, b as c } from "./index-ChSlzMYI.js";
2
+ import { R as o, T as l, P as r, O as s, C as d, a as f, b as c } from "./index-DthUnpqb.js";
3
3
  import { c as i } from "./utils-BOGlfttm.js";
4
4
  function g({ ...e }) {
5
5
  return /* @__PURE__ */ n(o, { "data-slot": "side-panel-root", ...e });
@@ -83,4 +83,4 @@ export {
83
83
  S as g,
84
84
  N as h
85
85
  };
86
- //# sourceMappingURL=side-panel-close-DVJwOxdM.js.map
86
+ //# sourceMappingURL=side-panel-close-BtypdE9q.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"side-panel-close-DVJwOxdM.js","sources":["../src/components/side-panel/primitives/side-panel-root.tsx","../src/components/side-panel/primitives/side-panel-trigger.tsx","../src/components/side-panel/primitives/side-panel-portal.tsx","../src/components/side-panel/primitives/side-panel-overlay.tsx","../src/components/side-panel/primitives/side-panel-content.tsx","../src/components/side-panel/primitives/side-panel-body.tsx","../src/components/side-panel/primitives/side-panel-header.tsx","../src/components/side-panel/primitives/side-panel-title.tsx","../src/components/side-panel/primitives/side-panel-close.tsx"],"sourcesContent":["import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelRootProps = ComponentProps<typeof Dialog.Root>;\n\nexport function SidePanelRoot({ ...props }: SidePanelRootProps) {\n return <Dialog.Root data-slot=\"side-panel-root\" {...props} />;\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelTriggerProps = ComponentProps<typeof Dialog.Trigger>;\n\nexport function SidePanelTrigger({ ...props }: SidePanelTriggerProps) {\n return <Dialog.Trigger data-slot=\"side-panel-trigger\" {...props} />;\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelPortalProps = ComponentProps<typeof Dialog.Portal>;\n\nexport function SidePanelPortal({ children, ...props }: SidePanelPortalProps) {\n return (\n <Dialog.Portal data-slot=\"side-panel-portal\" {...props}>\n {children}\n </Dialog.Portal>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelOverlayProps = ComponentProps<typeof Dialog.Overlay>;\n\nexport function SidePanelOverlay({ children, className, ...props }: SidePanelOverlayProps) {\n return (\n <Dialog.Overlay\n className={cn(\n 'fixed inset-0 z-30 overflow-hidden bg-[var(--side-panel-overlay-background,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] @container',\n className,\n )}\n data-slot=\"side-panel-overlay\"\n {...props}\n >\n {children}\n </Dialog.Overlay>\n );\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelContentProps = ComponentProps<typeof Dialog.Content>;\n\nexport function SidePanelContent({ children, className, ...props }: SidePanelContentProps) {\n return (\n <Dialog.Content\n className={cn(\n 'fixed inset-y-0 right-0 flex w-96 max-w-full flex-col bg-[var(--side-panel-background,hsl(var(--background)))] font-[var(--side-panel-content-font-family,var(--font-family-body))] transition duration-500 [animation-timing-function:cubic-bezier(0.25,1,0,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right',\n className,\n )}\n data-slot=\"side-panel-content\"\n {...props}\n >\n {children}\n </Dialog.Content>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelBodyProps = ComponentProps<'div'>;\n\nexport function SidePanelBody({ children, className, ...props }: SidePanelBodyProps) {\n return (\n <div className={cn('px-6 pb-6 @md:px-8 @md:pb-8', className)} {...props}>\n {children}\n </div>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelHeaderProps = ComponentProps<'div'>;\n\nexport function SidePanelHeader({ children, className, ...props }: SidePanelHeaderProps) {\n return (\n <header\n className={cn(\n 'flex items-center justify-between gap-2 px-6 pb-4 pt-4 @md:px-8 @md:pt-7',\n className,\n )}\n data-slot=\"side-panel-header\"\n {...props}\n >\n {children}\n </header>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelTitleProps = ComponentProps<typeof Dialog.Title>;\n\nexport function SidePanelTitle({ children, className, ...props }: SidePanelTitleProps) {\n return (\n <Dialog.Title\n className={cn(\n 'text-2xl font-medium text-[var(--side-panel-title-text,hsl(var(--foreground)))] [font-family:var(--side-panel-title-font-family,var(--font-family-heading))] @lg:text-3xl',\n className,\n )}\n data-slot=\"side-panel-title\"\n {...props}\n >\n {children}\n </Dialog.Title>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelCloseProps = ComponentProps<typeof Dialog.Close>;\n\nexport function SidePanelClose({ children, className, ...props }: SidePanelCloseProps) {\n return (\n <Dialog.Close className={cn(className)} data-slot=\"side-panel-close\" {...props}>\n {children}\n </Dialog.Close>\n );\n}\n"],"names":["SidePanelRoot","props","Dialog.Root","SidePanelTrigger","Dialog.Trigger","SidePanelPortal","children","jsx","Dialog.Portal","SidePanelOverlay","className","Dialog.Overlay","cn","SidePanelContent","Dialog.Content","SidePanelBody","SidePanelHeader","SidePanelTitle","Dialog.Title","SidePanelClose","Dialog.Close"],"mappings":";;;AAKO,SAASA,EAAc,EAAE,GAAGC,KAA6B;AAC9D,2BAAQC,GAAA,EAAY,aAAU,mBAAmB,GAAGD,GAAO;AAC7D;ACFO,SAASE,EAAiB,EAAE,GAAGF,KAAgC;AACpE,2BAAQG,GAAA,EAAe,aAAU,sBAAsB,GAAGH,GAAO;AACnE;ACAO,SAASI,EAAgB,EAAE,UAAAC,GAAU,GAAGL,KAA+B;AAC5E,SACE,gBAAAM,EAACC,GAAA,EAAc,aAAU,qBAAqB,GAAGP,GAC9C,UAAAK,GACH;AAEJ;ACNO,SAASG,EAAiB,EAAE,UAAAH,GAAU,WAAAI,GAAW,GAAGT,KAAgC;AACzF,SACE,gBAAAM;AAAA,IAACI;AAAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;ACXO,SAASO,EAAiB,EAAE,UAAAP,GAAU,WAAAI,GAAW,GAAGT,KAAgC;AACzF,SACE,gBAAAM;AAAA,IAACO;AAAAA,IAAA;AAAA,MACC,WAAWF;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;AChBO,SAASS,EAAc,EAAE,UAAAT,GAAU,WAAAI,GAAW,GAAGT,KAA6B;AACnF,SACE,gBAAAM,EAAC,SAAI,WAAWK,EAAG,+BAA+BF,CAAS,GAAI,GAAGT,GAC/D,UAAAK,GACH;AAEJ;ACNO,SAASU,EAAgB,EAAE,UAAAV,GAAU,WAAAI,GAAW,GAAGT,KAA+B;AACvF,SACE,gBAAAM;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWK;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;ACZO,SAASW,EAAe,EAAE,UAAAX,GAAU,WAAAI,GAAW,GAAGT,KAA8B;AACrF,SACE,gBAAAM;AAAA,IAACW;AAAAA,IAAA;AAAA,MACC,WAAWN;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;ACbO,SAASa,EAAe,EAAE,UAAAb,GAAU,WAAAI,GAAW,GAAGT,KAA8B;AACrF,SACE,gBAAAM,EAACa,GAAA,EAAa,WAAWR,EAAGF,CAAS,GAAG,aAAU,oBAAoB,GAAGT,GACtE,UAAAK,EAAA,CACH;AAEJ;"}
1
+ {"version":3,"file":"side-panel-close-BtypdE9q.js","sources":["../src/components/side-panel/primitives/side-panel-root.tsx","../src/components/side-panel/primitives/side-panel-trigger.tsx","../src/components/side-panel/primitives/side-panel-portal.tsx","../src/components/side-panel/primitives/side-panel-overlay.tsx","../src/components/side-panel/primitives/side-panel-content.tsx","../src/components/side-panel/primitives/side-panel-body.tsx","../src/components/side-panel/primitives/side-panel-header.tsx","../src/components/side-panel/primitives/side-panel-title.tsx","../src/components/side-panel/primitives/side-panel-close.tsx"],"sourcesContent":["import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelRootProps = ComponentProps<typeof Dialog.Root>;\n\nexport function SidePanelRoot({ ...props }: SidePanelRootProps) {\n return <Dialog.Root data-slot=\"side-panel-root\" {...props} />;\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelTriggerProps = ComponentProps<typeof Dialog.Trigger>;\n\nexport function SidePanelTrigger({ ...props }: SidePanelTriggerProps) {\n return <Dialog.Trigger data-slot=\"side-panel-trigger\" {...props} />;\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelPortalProps = ComponentProps<typeof Dialog.Portal>;\n\nexport function SidePanelPortal({ children, ...props }: SidePanelPortalProps) {\n return (\n <Dialog.Portal data-slot=\"side-panel-portal\" {...props}>\n {children}\n </Dialog.Portal>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelOverlayProps = ComponentProps<typeof Dialog.Overlay>;\n\nexport function SidePanelOverlay({ children, className, ...props }: SidePanelOverlayProps) {\n return (\n <Dialog.Overlay\n className={cn(\n 'fixed inset-0 z-30 overflow-hidden bg-[var(--side-panel-overlay-background,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] @container',\n className,\n )}\n data-slot=\"side-panel-overlay\"\n {...props}\n >\n {children}\n </Dialog.Overlay>\n );\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelContentProps = ComponentProps<typeof Dialog.Content>;\n\nexport function SidePanelContent({ children, className, ...props }: SidePanelContentProps) {\n return (\n <Dialog.Content\n className={cn(\n 'fixed inset-y-0 right-0 flex w-96 max-w-full flex-col bg-[var(--side-panel-background,hsl(var(--background)))] font-[var(--side-panel-content-font-family,var(--font-family-body))] transition duration-500 [animation-timing-function:cubic-bezier(0.25,1,0,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right',\n className,\n )}\n data-slot=\"side-panel-content\"\n {...props}\n >\n {children}\n </Dialog.Content>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelBodyProps = ComponentProps<'div'>;\n\nexport function SidePanelBody({ children, className, ...props }: SidePanelBodyProps) {\n return (\n <div className={cn('px-6 pb-6 @md:px-8 @md:pb-8', className)} {...props}>\n {children}\n </div>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelHeaderProps = ComponentProps<'div'>;\n\nexport function SidePanelHeader({ children, className, ...props }: SidePanelHeaderProps) {\n return (\n <header\n className={cn(\n 'flex items-center justify-between gap-2 px-6 pb-4 pt-4 @md:px-8 @md:pt-7',\n className,\n )}\n data-slot=\"side-panel-header\"\n {...props}\n >\n {children}\n </header>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelTitleProps = ComponentProps<typeof Dialog.Title>;\n\nexport function SidePanelTitle({ children, className, ...props }: SidePanelTitleProps) {\n return (\n <Dialog.Title\n className={cn(\n 'text-2xl font-medium text-[var(--side-panel-title-text,hsl(var(--foreground)))] [font-family:var(--side-panel-title-font-family,var(--font-family-heading))] @lg:text-3xl',\n className,\n )}\n data-slot=\"side-panel-title\"\n {...props}\n >\n {children}\n </Dialog.Title>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelCloseProps = ComponentProps<typeof Dialog.Close>;\n\nexport function SidePanelClose({ children, className, ...props }: SidePanelCloseProps) {\n return (\n <Dialog.Close className={cn(className)} data-slot=\"side-panel-close\" {...props}>\n {children}\n </Dialog.Close>\n );\n}\n"],"names":["SidePanelRoot","props","Dialog.Root","SidePanelTrigger","Dialog.Trigger","SidePanelPortal","children","jsx","Dialog.Portal","SidePanelOverlay","className","Dialog.Overlay","cn","SidePanelContent","Dialog.Content","SidePanelBody","SidePanelHeader","SidePanelTitle","Dialog.Title","SidePanelClose","Dialog.Close"],"mappings":";;;AAKO,SAASA,EAAc,EAAE,GAAGC,KAA6B;AAC9D,2BAAQC,GAAA,EAAY,aAAU,mBAAmB,GAAGD,GAAO;AAC7D;ACFO,SAASE,EAAiB,EAAE,GAAGF,KAAgC;AACpE,2BAAQG,GAAA,EAAe,aAAU,sBAAsB,GAAGH,GAAO;AACnE;ACAO,SAASI,EAAgB,EAAE,UAAAC,GAAU,GAAGL,KAA+B;AAC5E,SACE,gBAAAM,EAACC,GAAA,EAAc,aAAU,qBAAqB,GAAGP,GAC9C,UAAAK,GACH;AAEJ;ACNO,SAASG,EAAiB,EAAE,UAAAH,GAAU,WAAAI,GAAW,GAAGT,KAAgC;AACzF,SACE,gBAAAM;AAAA,IAACI;AAAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;ACXO,SAASO,EAAiB,EAAE,UAAAP,GAAU,WAAAI,GAAW,GAAGT,KAAgC;AACzF,SACE,gBAAAM;AAAA,IAACO;AAAAA,IAAA;AAAA,MACC,WAAWF;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;AChBO,SAASS,EAAc,EAAE,UAAAT,GAAU,WAAAI,GAAW,GAAGT,KAA6B;AACnF,SACE,gBAAAM,EAAC,SAAI,WAAWK,EAAG,+BAA+BF,CAAS,GAAI,GAAGT,GAC/D,UAAAK,GACH;AAEJ;ACNO,SAASU,EAAgB,EAAE,UAAAV,GAAU,WAAAI,GAAW,GAAGT,KAA+B;AACvF,SACE,gBAAAM;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWK;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;ACZO,SAASW,EAAe,EAAE,UAAAX,GAAU,WAAAI,GAAW,GAAGT,KAA8B;AACrF,SACE,gBAAAM;AAAA,IAACW;AAAAA,IAAA;AAAA,MACC,WAAWN;AAAA,QACT;AAAA,QACAF;AAAA,MAAA;AAAA,MAEF,aAAU;AAAA,MACT,GAAGT;AAAA,MAEH,UAAAK;AAAA,IAAA;AAAA,EAAA;AAGP;ACbO,SAASa,EAAe,EAAE,UAAAb,GAAU,WAAAI,GAAW,GAAGT,KAA8B;AACrF,SACE,gBAAAM,EAACa,GAAA,EAAa,WAAWR,EAAGF,CAAS,GAAG,aAAU,oBAAoB,GAAGT,GACtE,UAAAK,EAAA,CACH;AAEJ;"}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("react/jsx-runtime"),i=require("./index-BppAzNV8.cjs"),l=require("./utils-LBH114_M.cjs");function o({...e}){return n.jsx(i.Root,{"data-slot":"side-panel-root",...e})}function r({...e}){return n.jsx(i.Trigger,{"data-slot":"side-panel-trigger",...e})}function d({children:e,...t}){return n.jsx(i.Portal,{"data-slot":"side-panel-portal",...t,children:e})}function s({children:e,className:t,...a}){return n.jsx(i.Overlay,{className:l.cn("fixed inset-0 z-30 overflow-hidden bg-[var(--side-panel-overlay-background,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] @container",t),"data-slot":"side-panel-overlay",...a,children:e})}function c({children:e,className:t,...a}){return n.jsx(i.Content,{className:l.cn("fixed inset-y-0 right-0 flex w-96 max-w-full flex-col bg-[var(--side-panel-background,hsl(var(--background)))] font-[var(--side-panel-content-font-family,var(--font-family-body))] transition duration-500 [animation-timing-function:cubic-bezier(0.25,1,0,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",t),"data-slot":"side-panel-content",...a,children:e})}function u({children:e,className:t,...a}){return n.jsx("div",{className:l.cn("px-6 pb-6 @md:px-8 @md:pb-8",t),...a,children:e})}function f({children:e,className:t,...a}){return n.jsx("header",{className:l.cn("flex items-center justify-between gap-2 px-6 pb-4 pt-4 @md:px-8 @md:pt-7",t),"data-slot":"side-panel-header",...a,children:e})}function x({children:e,className:t,...a}){return n.jsx(i.Title,{className:l.cn("text-2xl font-medium text-[var(--side-panel-title-text,hsl(var(--foreground)))] [font-family:var(--side-panel-title-font-family,var(--font-family-heading))] @lg:text-3xl",t),"data-slot":"side-panel-title",...a,children:e})}function p({children:e,className:t,...a}){return n.jsx(i.Close,{className:l.cn(t),"data-slot":"side-panel-close",...a,children:e})}exports.SidePanelBody=u;exports.SidePanelClose=p;exports.SidePanelContent=c;exports.SidePanelHeader=f;exports.SidePanelOverlay=s;exports.SidePanelPortal=d;exports.SidePanelRoot=o;exports.SidePanelTitle=x;exports.SidePanelTrigger=r;
2
- //# sourceMappingURL=side-panel-close-Bjcn4BEE.cjs.map
1
+ "use strict";const n=require("react/jsx-runtime"),i=require("./index-CY_4_uMy.cjs"),l=require("./utils-LBH114_M.cjs");function o({...e}){return n.jsx(i.Root,{"data-slot":"side-panel-root",...e})}function r({...e}){return n.jsx(i.Trigger,{"data-slot":"side-panel-trigger",...e})}function d({children:e,...t}){return n.jsx(i.Portal,{"data-slot":"side-panel-portal",...t,children:e})}function s({children:e,className:t,...a}){return n.jsx(i.Overlay,{className:l.cn("fixed inset-0 z-30 overflow-hidden bg-[var(--side-panel-overlay-background,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] @container",t),"data-slot":"side-panel-overlay",...a,children:e})}function c({children:e,className:t,...a}){return n.jsx(i.Content,{className:l.cn("fixed inset-y-0 right-0 flex w-96 max-w-full flex-col bg-[var(--side-panel-background,hsl(var(--background)))] font-[var(--side-panel-content-font-family,var(--font-family-body))] transition duration-500 [animation-timing-function:cubic-bezier(0.25,1,0,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",t),"data-slot":"side-panel-content",...a,children:e})}function u({children:e,className:t,...a}){return n.jsx("div",{className:l.cn("px-6 pb-6 @md:px-8 @md:pb-8",t),...a,children:e})}function f({children:e,className:t,...a}){return n.jsx("header",{className:l.cn("flex items-center justify-between gap-2 px-6 pb-4 pt-4 @md:px-8 @md:pt-7",t),"data-slot":"side-panel-header",...a,children:e})}function x({children:e,className:t,...a}){return n.jsx(i.Title,{className:l.cn("text-2xl font-medium text-[var(--side-panel-title-text,hsl(var(--foreground)))] [font-family:var(--side-panel-title-font-family,var(--font-family-heading))] @lg:text-3xl",t),"data-slot":"side-panel-title",...a,children:e})}function p({children:e,className:t,...a}){return n.jsx(i.Close,{className:l.cn(t),"data-slot":"side-panel-close",...a,children:e})}exports.SidePanelBody=u;exports.SidePanelClose=p;exports.SidePanelContent=c;exports.SidePanelHeader=f;exports.SidePanelOverlay=s;exports.SidePanelPortal=d;exports.SidePanelRoot=o;exports.SidePanelTitle=x;exports.SidePanelTrigger=r;
2
+ //# sourceMappingURL=side-panel-close-DIP8gLRZ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"side-panel-close-Bjcn4BEE.cjs","sources":["../src/components/side-panel/primitives/side-panel-root.tsx","../src/components/side-panel/primitives/side-panel-trigger.tsx","../src/components/side-panel/primitives/side-panel-portal.tsx","../src/components/side-panel/primitives/side-panel-overlay.tsx","../src/components/side-panel/primitives/side-panel-content.tsx","../src/components/side-panel/primitives/side-panel-body.tsx","../src/components/side-panel/primitives/side-panel-header.tsx","../src/components/side-panel/primitives/side-panel-title.tsx","../src/components/side-panel/primitives/side-panel-close.tsx"],"sourcesContent":["import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelRootProps = ComponentProps<typeof Dialog.Root>;\n\nexport function SidePanelRoot({ ...props }: SidePanelRootProps) {\n return <Dialog.Root data-slot=\"side-panel-root\" {...props} />;\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelTriggerProps = ComponentProps<typeof Dialog.Trigger>;\n\nexport function SidePanelTrigger({ ...props }: SidePanelTriggerProps) {\n return <Dialog.Trigger data-slot=\"side-panel-trigger\" {...props} />;\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelPortalProps = ComponentProps<typeof Dialog.Portal>;\n\nexport function SidePanelPortal({ children, ...props }: SidePanelPortalProps) {\n return (\n <Dialog.Portal data-slot=\"side-panel-portal\" {...props}>\n {children}\n </Dialog.Portal>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelOverlayProps = ComponentProps<typeof Dialog.Overlay>;\n\nexport function SidePanelOverlay({ children, className, ...props }: SidePanelOverlayProps) {\n return (\n <Dialog.Overlay\n className={cn(\n 'fixed inset-0 z-30 overflow-hidden bg-[var(--side-panel-overlay-background,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] @container',\n className,\n )}\n data-slot=\"side-panel-overlay\"\n {...props}\n >\n {children}\n </Dialog.Overlay>\n );\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelContentProps = ComponentProps<typeof Dialog.Content>;\n\nexport function SidePanelContent({ children, className, ...props }: SidePanelContentProps) {\n return (\n <Dialog.Content\n className={cn(\n 'fixed inset-y-0 right-0 flex w-96 max-w-full flex-col bg-[var(--side-panel-background,hsl(var(--background)))] font-[var(--side-panel-content-font-family,var(--font-family-body))] transition duration-500 [animation-timing-function:cubic-bezier(0.25,1,0,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right',\n className,\n )}\n data-slot=\"side-panel-content\"\n {...props}\n >\n {children}\n </Dialog.Content>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelBodyProps = ComponentProps<'div'>;\n\nexport function SidePanelBody({ children, className, ...props }: SidePanelBodyProps) {\n return (\n <div className={cn('px-6 pb-6 @md:px-8 @md:pb-8', className)} {...props}>\n {children}\n </div>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelHeaderProps = ComponentProps<'div'>;\n\nexport function SidePanelHeader({ children, className, ...props }: SidePanelHeaderProps) {\n return (\n <header\n className={cn(\n 'flex items-center justify-between gap-2 px-6 pb-4 pt-4 @md:px-8 @md:pt-7',\n className,\n )}\n data-slot=\"side-panel-header\"\n {...props}\n >\n {children}\n </header>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelTitleProps = ComponentProps<typeof Dialog.Title>;\n\nexport function SidePanelTitle({ children, className, ...props }: SidePanelTitleProps) {\n return (\n <Dialog.Title\n className={cn(\n 'text-2xl font-medium text-[var(--side-panel-title-text,hsl(var(--foreground)))] [font-family:var(--side-panel-title-font-family,var(--font-family-heading))] @lg:text-3xl',\n className,\n )}\n data-slot=\"side-panel-title\"\n {...props}\n >\n {children}\n </Dialog.Title>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelCloseProps = ComponentProps<typeof Dialog.Close>;\n\nexport function SidePanelClose({ children, className, ...props }: SidePanelCloseProps) {\n return (\n <Dialog.Close className={cn(className)} data-slot=\"side-panel-close\" {...props}>\n {children}\n </Dialog.Close>\n );\n}\n"],"names":["SidePanelRoot","props","Dialog.Root","SidePanelTrigger","Dialog.Trigger","SidePanelPortal","children","jsx","Dialog.Portal","SidePanelOverlay","className","Dialog.Overlay","cn","SidePanelContent","Dialog.Content","SidePanelBody","SidePanelHeader","SidePanelTitle","Dialog.Title","SidePanelClose","Dialog.Close"],"mappings":"sHAKO,SAASA,EAAc,CAAE,GAAGC,GAA6B,CAC9D,aAAQC,EAAAA,KAAA,CAAY,YAAU,kBAAmB,GAAGD,EAAO,CAC7D,CCFO,SAASE,EAAiB,CAAE,GAAGF,GAAgC,CACpE,aAAQG,EAAAA,QAAA,CAAe,YAAU,qBAAsB,GAAGH,EAAO,CACnE,CCAO,SAASI,EAAgB,CAAE,SAAAC,EAAU,GAAGL,GAA+B,CAC5E,OACEM,EAAAA,IAACC,EAAAA,OAAA,CAAc,YAAU,oBAAqB,GAAGP,EAC9C,SAAAK,EACH,CAEJ,CCNO,SAASG,EAAiB,CAAE,SAAAH,EAAU,UAAAI,EAAW,GAAGT,GAAgC,CACzF,OACEM,EAAAA,IAACI,EAAAA,QAAA,CACC,UAAWC,EAAAA,GACT,qJACAF,CAAA,EAEF,YAAU,qBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CCXO,SAASO,EAAiB,CAAE,SAAAP,EAAU,UAAAI,EAAW,GAAGT,GAAgC,CACzF,OACEM,EAAAA,IAACO,EAAAA,QAAA,CACC,UAAWF,EAAAA,GACT,6YACAF,CAAA,EAEF,YAAU,qBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CChBO,SAASS,EAAc,CAAE,SAAAT,EAAU,UAAAI,EAAW,GAAGT,GAA6B,CACnF,OACEM,MAAC,OAAI,UAAWK,EAAAA,GAAG,8BAA+BF,CAAS,EAAI,GAAGT,EAC/D,SAAAK,EACH,CAEJ,CCNO,SAASU,EAAgB,CAAE,SAAAV,EAAU,UAAAI,EAAW,GAAGT,GAA+B,CACvF,OACEM,EAAAA,IAAC,SAAA,CACC,UAAWK,EAAAA,GACT,2EACAF,CAAA,EAEF,YAAU,oBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CCZO,SAASW,EAAe,CAAE,SAAAX,EAAU,UAAAI,EAAW,GAAGT,GAA8B,CACrF,OACEM,EAAAA,IAACW,EAAAA,MAAA,CACC,UAAWN,EAAAA,GACT,4KACAF,CAAA,EAEF,YAAU,mBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CCbO,SAASa,EAAe,CAAE,SAAAb,EAAU,UAAAI,EAAW,GAAGT,GAA8B,CACrF,OACEM,MAACa,EAAAA,MAAA,CAAa,UAAWR,EAAAA,GAAGF,CAAS,EAAG,YAAU,mBAAoB,GAAGT,EACtE,SAAAK,CAAA,CACH,CAEJ"}
1
+ {"version":3,"file":"side-panel-close-DIP8gLRZ.cjs","sources":["../src/components/side-panel/primitives/side-panel-root.tsx","../src/components/side-panel/primitives/side-panel-trigger.tsx","../src/components/side-panel/primitives/side-panel-portal.tsx","../src/components/side-panel/primitives/side-panel-overlay.tsx","../src/components/side-panel/primitives/side-panel-content.tsx","../src/components/side-panel/primitives/side-panel-body.tsx","../src/components/side-panel/primitives/side-panel-header.tsx","../src/components/side-panel/primitives/side-panel-title.tsx","../src/components/side-panel/primitives/side-panel-close.tsx"],"sourcesContent":["import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelRootProps = ComponentProps<typeof Dialog.Root>;\n\nexport function SidePanelRoot({ ...props }: SidePanelRootProps) {\n return <Dialog.Root data-slot=\"side-panel-root\" {...props} />;\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelTriggerProps = ComponentProps<typeof Dialog.Trigger>;\n\nexport function SidePanelTrigger({ ...props }: SidePanelTriggerProps) {\n return <Dialog.Trigger data-slot=\"side-panel-trigger\" {...props} />;\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nexport type SidePanelPortalProps = ComponentProps<typeof Dialog.Portal>;\n\nexport function SidePanelPortal({ children, ...props }: SidePanelPortalProps) {\n return (\n <Dialog.Portal data-slot=\"side-panel-portal\" {...props}>\n {children}\n </Dialog.Portal>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelOverlayProps = ComponentProps<typeof Dialog.Overlay>;\n\nexport function SidePanelOverlay({ children, className, ...props }: SidePanelOverlayProps) {\n return (\n <Dialog.Overlay\n className={cn(\n 'fixed inset-0 z-30 overflow-hidden bg-[var(--side-panel-overlay-background,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] @container',\n className,\n )}\n data-slot=\"side-panel-overlay\"\n {...props}\n >\n {children}\n </Dialog.Overlay>\n );\n}\n","'use client';\n\nimport * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelContentProps = ComponentProps<typeof Dialog.Content>;\n\nexport function SidePanelContent({ children, className, ...props }: SidePanelContentProps) {\n return (\n <Dialog.Content\n className={cn(\n 'fixed inset-y-0 right-0 flex w-96 max-w-full flex-col bg-[var(--side-panel-background,hsl(var(--background)))] font-[var(--side-panel-content-font-family,var(--font-family-body))] transition duration-500 [animation-timing-function:cubic-bezier(0.25,1,0,1)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right',\n className,\n )}\n data-slot=\"side-panel-content\"\n {...props}\n >\n {children}\n </Dialog.Content>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelBodyProps = ComponentProps<'div'>;\n\nexport function SidePanelBody({ children, className, ...props }: SidePanelBodyProps) {\n return (\n <div className={cn('px-6 pb-6 @md:px-8 @md:pb-8', className)} {...props}>\n {children}\n </div>\n );\n}\n","import type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelHeaderProps = ComponentProps<'div'>;\n\nexport function SidePanelHeader({ children, className, ...props }: SidePanelHeaderProps) {\n return (\n <header\n className={cn(\n 'flex items-center justify-between gap-2 px-6 pb-4 pt-4 @md:px-8 @md:pt-7',\n className,\n )}\n data-slot=\"side-panel-header\"\n {...props}\n >\n {children}\n </header>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelTitleProps = ComponentProps<typeof Dialog.Title>;\n\nexport function SidePanelTitle({ children, className, ...props }: SidePanelTitleProps) {\n return (\n <Dialog.Title\n className={cn(\n 'text-2xl font-medium text-[var(--side-panel-title-text,hsl(var(--foreground)))] [font-family:var(--side-panel-title-font-family,var(--font-family-heading))] @lg:text-3xl',\n className,\n )}\n data-slot=\"side-panel-title\"\n {...props}\n >\n {children}\n </Dialog.Title>\n );\n}\n","import * as Dialog from '@radix-ui/react-dialog';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '@/lib';\n\nexport type SidePanelCloseProps = ComponentProps<typeof Dialog.Close>;\n\nexport function SidePanelClose({ children, className, ...props }: SidePanelCloseProps) {\n return (\n <Dialog.Close className={cn(className)} data-slot=\"side-panel-close\" {...props}>\n {children}\n </Dialog.Close>\n );\n}\n"],"names":["SidePanelRoot","props","Dialog.Root","SidePanelTrigger","Dialog.Trigger","SidePanelPortal","children","jsx","Dialog.Portal","SidePanelOverlay","className","Dialog.Overlay","cn","SidePanelContent","Dialog.Content","SidePanelBody","SidePanelHeader","SidePanelTitle","Dialog.Title","SidePanelClose","Dialog.Close"],"mappings":"sHAKO,SAASA,EAAc,CAAE,GAAGC,GAA6B,CAC9D,aAAQC,EAAAA,KAAA,CAAY,YAAU,kBAAmB,GAAGD,EAAO,CAC7D,CCFO,SAASE,EAAiB,CAAE,GAAGF,GAAgC,CACpE,aAAQG,EAAAA,QAAA,CAAe,YAAU,qBAAsB,GAAGH,EAAO,CACnE,CCAO,SAASI,EAAgB,CAAE,SAAAC,EAAU,GAAGL,GAA+B,CAC5E,OACEM,EAAAA,IAACC,EAAAA,OAAA,CAAc,YAAU,oBAAqB,GAAGP,EAC9C,SAAAK,EACH,CAEJ,CCNO,SAASG,EAAiB,CAAE,SAAAH,EAAU,UAAAI,EAAW,GAAGT,GAAgC,CACzF,OACEM,EAAAA,IAACI,EAAAA,QAAA,CACC,UAAWC,EAAAA,GACT,qJACAF,CAAA,EAEF,YAAU,qBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CCXO,SAASO,EAAiB,CAAE,SAAAP,EAAU,UAAAI,EAAW,GAAGT,GAAgC,CACzF,OACEM,EAAAA,IAACO,EAAAA,QAAA,CACC,UAAWF,EAAAA,GACT,6YACAF,CAAA,EAEF,YAAU,qBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CChBO,SAASS,EAAc,CAAE,SAAAT,EAAU,UAAAI,EAAW,GAAGT,GAA6B,CACnF,OACEM,MAAC,OAAI,UAAWK,EAAAA,GAAG,8BAA+BF,CAAS,EAAI,GAAGT,EAC/D,SAAAK,EACH,CAEJ,CCNO,SAASU,EAAgB,CAAE,SAAAV,EAAU,UAAAI,EAAW,GAAGT,GAA+B,CACvF,OACEM,EAAAA,IAAC,SAAA,CACC,UAAWK,EAAAA,GACT,2EACAF,CAAA,EAEF,YAAU,oBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CCZO,SAASW,EAAe,CAAE,SAAAX,EAAU,UAAAI,EAAW,GAAGT,GAA8B,CACrF,OACEM,EAAAA,IAACW,EAAAA,MAAA,CACC,UAAWN,EAAAA,GACT,4KACAF,CAAA,EAEF,YAAU,mBACT,GAAGT,EAEH,SAAAK,CAAA,CAAA,CAGP,CCbO,SAASa,EAAe,CAAE,SAAAb,EAAU,UAAAI,EAAW,GAAGT,GAA8B,CACrF,OACEM,MAACa,EAAAA,MAAA,CAAa,UAAWR,EAAAA,GAAGF,CAAS,EAAG,YAAU,mBAAoB,GAAGT,EACtE,SAAAK,CAAA,CACH,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./side-panel-close-Bjcn4BEE.cjs");exports.Body=e.SidePanelBody;exports.Close=e.SidePanelClose;exports.Content=e.SidePanelContent;exports.Header=e.SidePanelHeader;exports.Overlay=e.SidePanelOverlay;exports.Portal=e.SidePanelPortal;exports.Root=e.SidePanelRoot;exports.Title=e.SidePanelTitle;exports.Trigger=e.SidePanelTrigger;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./side-panel-close-DIP8gLRZ.cjs");exports.Body=e.SidePanelBody;exports.Close=e.SidePanelClose;exports.Content=e.SidePanelContent;exports.Header=e.SidePanelHeader;exports.Overlay=e.SidePanelOverlay;exports.Portal=e.SidePanelPortal;exports.Root=e.SidePanelRoot;exports.Title=e.SidePanelTitle;exports.Trigger=e.SidePanelTrigger;
2
2
  //# sourceMappingURL=side-panel.cjs.map
@@ -1,4 +1,4 @@
1
- import { e, h as o, d as r, f as t, c as l, b as d, S as g, g as f, a as i } from "./side-panel-close-DVJwOxdM.js";
1
+ import { e, h as o, d as r, f as t, c as l, b as d, S as g, g as f, a as i } from "./side-panel-close-BtypdE9q.js";
2
2
  export {
3
3
  e as Body,
4
4
  o as Close,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commerce-toolkit",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "A collection of modern, accessible commerce UI components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -107,6 +107,16 @@
107
107
  "default": "./dist/chip.cjs"
108
108
  }
109
109
  },
110
+ "./counter": {
111
+ "import": {
112
+ "types": "./dist/components/counter/primitives.d.ts",
113
+ "default": "./dist/counter.js"
114
+ },
115
+ "require": {
116
+ "types": "./dist/components/counter/primitives.d.ts",
117
+ "default": "./dist/counter.cjs"
118
+ }
119
+ },
110
120
  "./compare-card": {
111
121
  "import": {
112
122
  "types": "./dist/components/compare-card/primitives.d.ts",
@@ -157,6 +167,16 @@
157
167
  "default": "./dist/favorite.cjs"
158
168
  }
159
169
  },
170
+ "./form-status": {
171
+ "import": {
172
+ "types": "./dist/components/form-status/primitives.d.ts",
173
+ "default": "./dist/form-status.js"
174
+ },
175
+ "require": {
176
+ "types": "./dist/components/form-status/primitives.d.ts",
177
+ "default": "./dist/form-status.cjs"
178
+ }
179
+ },
160
180
  "./icon": {
161
181
  "import": {
162
182
  "types": "./dist/components/icon/primitives.d.ts",
@@ -187,6 +207,16 @@
187
207
  "default": "./dist/modal.cjs"
188
208
  }
189
209
  },
210
+ "./navigation-menu": {
211
+ "import": {
212
+ "types": "./dist/components/navigation-menu/primitives.d.ts",
213
+ "default": "./dist/navigation-menu.js"
214
+ },
215
+ "require": {
216
+ "types": "./dist/components/navigation-menu/primitives.d.ts",
217
+ "default": "./dist/navigation-menu.cjs"
218
+ }
219
+ },
190
220
  "./offset-pagination": {
191
221
  "import": {
192
222
  "types": "./dist/components/offset-pagination/primitives.d.ts",