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
@@ -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","S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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,sBA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AAA;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,CA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,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.3.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",
@@ -167,6 +167,16 @@
167
167
  "default": "./dist/favorite.cjs"
168
168
  }
169
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
+ },
170
180
  "./icon": {
171
181
  "import": {
172
182
  "types": "./dist/components/icon/primitives.d.ts",
@@ -197,6 +207,16 @@
197
207
  "default": "./dist/modal.cjs"
198
208
  }
199
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
+ },
200
220
  "./offset-pagination": {
201
221
  "import": {
202
222
  "types": "./dist/components/offset-pagination/primitives.d.ts",