@shopify/shop-minis-react 0.0.16 → 0.0.17

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 (131) hide show
  1. package/README.md +14 -10
  2. package/dist/components/atoms/button.js +28 -73
  3. package/dist/components/atoms/button.js.map +1 -1
  4. package/dist/components/atoms/favorite-button.js +21 -0
  5. package/dist/components/atoms/favorite-button.js.map +1 -0
  6. package/dist/components/atoms/icon-button.js +38 -0
  7. package/dist/components/atoms/icon-button.js.map +1 -0
  8. package/dist/components/atoms/touchable.js +14 -14
  9. package/dist/components/atoms/touchable.js.map +1 -1
  10. package/dist/components/commerce/merchant-card.js +1 -8
  11. package/dist/components/commerce/merchant-card.js.map +1 -1
  12. package/dist/components/commerce/product-card.js +79 -109
  13. package/dist/components/commerce/product-card.js.map +1 -1
  14. package/dist/components/commerce/product-link.js +36 -55
  15. package/dist/components/commerce/product-link.js.map +1 -1
  16. package/dist/components/ui/accordion.js.map +1 -0
  17. package/dist/components/{atoms → ui}/alert-dialog.js +1 -1
  18. package/dist/components/ui/alert-dialog.js.map +1 -0
  19. package/dist/components/ui/alert.js.map +1 -0
  20. package/dist/components/ui/badge.js.map +1 -0
  21. package/dist/components/ui/button.js +68 -0
  22. package/dist/components/ui/button.js.map +1 -0
  23. package/dist/components/ui/card.js.map +1 -0
  24. package/dist/components/{atoms → ui}/carousel.js +23 -23
  25. package/dist/components/ui/carousel.js.map +1 -0
  26. package/dist/components/ui/checkbox.js.map +1 -0
  27. package/dist/components/ui/dialog.js.map +1 -0
  28. package/dist/components/{atoms → ui}/drawer.js +25 -22
  29. package/dist/components/ui/drawer.js.map +1 -0
  30. package/dist/components/ui/input.js.map +1 -0
  31. package/dist/components/ui/label.js.map +1 -0
  32. package/dist/components/ui/progress.js.map +1 -0
  33. package/dist/components/ui/radio-group.js.map +1 -0
  34. package/dist/components/ui/resizable.js.map +1 -0
  35. package/dist/components/ui/scroll-area.js.map +1 -0
  36. package/dist/components/ui/select.js.map +1 -0
  37. package/dist/components/ui/separator.js.map +1 -0
  38. package/dist/components/ui/sheet.js.map +1 -0
  39. package/dist/components/ui/sonner.js.map +1 -0
  40. package/dist/index.js +189 -218
  41. package/dist/index.js.map +1 -1
  42. package/package.json +6 -9
  43. package/src/components/atoms/button.tsx +10 -66
  44. package/src/components/atoms/favorite-button.tsx +22 -0
  45. package/src/components/atoms/icon-button.tsx +42 -0
  46. package/src/components/atoms/touchable.tsx +5 -1
  47. package/src/components/commerce/merchant-card.tsx +1 -12
  48. package/src/components/commerce/product-card.tsx +4 -32
  49. package/src/components/commerce/product-link.tsx +9 -29
  50. package/src/components/index.ts +22 -20
  51. package/src/components/{atoms → ui}/alert-dialog.tsx +1 -1
  52. package/src/components/ui/button.tsx +77 -0
  53. package/src/components/{atoms → ui}/carousel.tsx +11 -11
  54. package/src/components/{atoms → ui}/drawer.tsx +2 -1
  55. package/src/index.css +8 -2
  56. package/src/styles/globals.css +41 -0
  57. package/src/styles/theme.css +102 -0
  58. package/dist/_virtual/index3.js +0 -6
  59. package/dist/_virtual/index3.js.map +0 -1
  60. package/dist/_virtual/index4.js +0 -5
  61. package/dist/_virtual/index4.js.map +0 -1
  62. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
  63. package/dist/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  64. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -5
  65. package/dist/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  66. package/dist/components/atoms/accordion.js.map +0 -1
  67. package/dist/components/atoms/alert-dialog.js.map +0 -1
  68. package/dist/components/atoms/alert.js.map +0 -1
  69. package/dist/components/atoms/avatar.js +0 -54
  70. package/dist/components/atoms/avatar.js.map +0 -1
  71. package/dist/components/atoms/badge.js.map +0 -1
  72. package/dist/components/atoms/card.js.map +0 -1
  73. package/dist/components/atoms/carousel.js.map +0 -1
  74. package/dist/components/atoms/checkbox.js.map +0 -1
  75. package/dist/components/atoms/dialog.js.map +0 -1
  76. package/dist/components/atoms/drawer.js.map +0 -1
  77. package/dist/components/atoms/input.js.map +0 -1
  78. package/dist/components/atoms/label.js.map +0 -1
  79. package/dist/components/atoms/progress.js.map +0 -1
  80. package/dist/components/atoms/radio-group.js.map +0 -1
  81. package/dist/components/atoms/resizable.js.map +0 -1
  82. package/dist/components/atoms/scroll-area.js.map +0 -1
  83. package/dist/components/atoms/select.js.map +0 -1
  84. package/dist/components/atoms/separator.js.map +0 -1
  85. package/dist/components/atoms/sheet.js.map +0 -1
  86. package/dist/components/atoms/sonner.js.map +0 -1
  87. package/dist/shop-minis-react/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@19.1.6_@types_react@19.1.6__@types_react@19.1._hkz57sehyui4ndfh3rsqwxftli/node_modules/@radix-ui/react-avatar/dist/index.js +0 -77
  88. package/dist/shop-minis-react/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@19.1.6_@types_react@19.1.6__@types_react@19.1._hkz57sehyui4ndfh3rsqwxftli/node_modules/@radix-ui/react-avatar/dist/index.js.map +0 -1
  89. package/dist/shop-minis-react/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.1.6_react@19.1.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -16
  90. package/dist/shop-minis-react/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@19.1.6_react@19.1.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +0 -1
  91. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -68
  92. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  93. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -56
  94. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  95. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/shim/index.js +0 -11
  96. package/dist/shop-minis-react/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.0/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  97. package/src/base.css +0 -273
  98. package/tailwind.config.js +0 -3
  99. /package/dist/components/{atoms → ui}/accordion.js +0 -0
  100. /package/dist/components/{atoms → ui}/alert.js +0 -0
  101. /package/dist/components/{atoms → ui}/badge.js +0 -0
  102. /package/dist/components/{atoms → ui}/card.js +0 -0
  103. /package/dist/components/{atoms → ui}/checkbox.js +0 -0
  104. /package/dist/components/{atoms → ui}/dialog.js +0 -0
  105. /package/dist/components/{atoms → ui}/input.js +0 -0
  106. /package/dist/components/{atoms → ui}/label.js +0 -0
  107. /package/dist/components/{atoms → ui}/progress.js +0 -0
  108. /package/dist/components/{atoms → ui}/radio-group.js +0 -0
  109. /package/dist/components/{atoms → ui}/resizable.js +0 -0
  110. /package/dist/components/{atoms → ui}/scroll-area.js +0 -0
  111. /package/dist/components/{atoms → ui}/select.js +0 -0
  112. /package/dist/components/{atoms → ui}/separator.js +0 -0
  113. /package/dist/components/{atoms → ui}/sheet.js +0 -0
  114. /package/dist/components/{atoms → ui}/sonner.js +0 -0
  115. /package/src/components/{atoms → ui}/accordion.tsx +0 -0
  116. /package/src/components/{atoms → ui}/alert.tsx +0 -0
  117. /package/src/components/{atoms → ui}/avatar.tsx +0 -0
  118. /package/src/components/{atoms → ui}/badge.tsx +0 -0
  119. /package/src/components/{atoms → ui}/card.tsx +0 -0
  120. /package/src/components/{atoms → ui}/checkbox.tsx +0 -0
  121. /package/src/components/{atoms → ui}/dialog.tsx +0 -0
  122. /package/src/components/{atoms → ui}/input.tsx +0 -0
  123. /package/src/components/{atoms → ui}/label.tsx +0 -0
  124. /package/src/components/{atoms → ui}/progress.tsx +0 -0
  125. /package/src/components/{atoms → ui}/radio-group.tsx +0 -0
  126. /package/src/components/{atoms → ui}/resizable.tsx +0 -0
  127. /package/src/components/{atoms → ui}/scroll-area.tsx +0 -0
  128. /package/src/components/{atoms → ui}/select.tsx +0 -0
  129. /package/src/components/{atoms → ui}/separator.tsx +0 -0
  130. /package/src/components/{atoms → ui}/sheet.tsx +0 -0
  131. /package/src/components/{atoms → ui}/sonner.tsx +0 -0
@@ -40,28 +40,31 @@ function v({
40
40
  children: r,
41
41
  ...i
42
42
  }) {
43
- return /* @__PURE__ */ o(n, { "data-slot": "drawer-portal", children: [
44
- /* @__PURE__ */ a(l, {}),
45
- /* @__PURE__ */ o(
46
- e.Content,
47
- {
48
- "data-slot": "drawer-content",
49
- className: d(
50
- "group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
51
- "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
52
- "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
53
- "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
54
- "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
55
- t
56
- ),
57
- ...i,
58
- children: [
59
- /* @__PURE__ */ a("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
60
- r
61
- ]
62
- }
63
- )
64
- ] });
43
+ return (
44
+ // vaul's Portal type incorrectly excludes children
45
+ /* @__PURE__ */ o(n, { children: [
46
+ /* @__PURE__ */ a(l, {}),
47
+ /* @__PURE__ */ o(
48
+ e.Content,
49
+ {
50
+ "data-slot": "drawer-content",
51
+ className: d(
52
+ "group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
53
+ "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
54
+ "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
55
+ "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
56
+ "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
57
+ t
58
+ ),
59
+ ...i,
60
+ children: [
61
+ /* @__PURE__ */ a("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
62
+ r
63
+ ]
64
+ }
65
+ )
66
+ ] })
67
+ );
65
68
  }
66
69
  function p({ className: t, ...r }) {
67
70
  return /* @__PURE__ */ a(
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.js","sources":["../../../src/components/ui/drawer.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport {Drawer as DrawerPrimitive} from 'vaul'\n\nimport {cn} from '../../lib/utils'\n\nfunction Drawer({...props}: React.ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root data-slot=\"drawer\" {...props} />\n}\n\nfunction DrawerTrigger({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />\n}\n\nfunction DrawerPortal({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Portal>) {\n return <DrawerPrimitive.Portal data-slot=\"drawer-portal\" {...props} />\n}\n\nfunction DrawerClose({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Close>) {\n return <DrawerPrimitive.Close data-slot=\"drawer-close\" {...props} />\n}\n\nfunction DrawerOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {\n return (\n <DrawerPrimitive.Overlay\n data-slot=\"drawer-overlay\"\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DrawerContent({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Content>) {\n return (\n // vaul's Portal type incorrectly excludes children\n <DrawerPortal {...({} as any)}>\n <DrawerOverlay />\n <DrawerPrimitive.Content\n data-slot=\"drawer-content\"\n className={cn(\n 'group/drawer-content bg-background fixed z-50 flex h-auto flex-col',\n 'data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b',\n 'data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t',\n 'data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm',\n 'data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm',\n className\n )}\n {...props}\n >\n <div className=\"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPortal>\n )\n}\n\nfunction DrawerHeader({className, ...props}: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"drawer-header\"\n className={cn(\n 'flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DrawerFooter({className, ...props}: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"drawer-footer\"\n className={cn('mt-auto flex flex-col gap-2 p-4', className)}\n {...props}\n />\n )\n}\n\nfunction DrawerTitle({\n className,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Title>) {\n return (\n <DrawerPrimitive.Title\n data-slot=\"drawer-title\"\n className={cn('text-foreground font-semibold', className)}\n {...props}\n />\n )\n}\n\nfunction DrawerDescription({\n className,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Description>) {\n return (\n <DrawerPrimitive.Description\n data-slot=\"drawer-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n )\n}\n\nexport {\n Drawer,\n DrawerPortal,\n DrawerOverlay,\n DrawerTrigger,\n DrawerClose,\n DrawerContent,\n DrawerHeader,\n DrawerFooter,\n DrawerTitle,\n DrawerDescription,\n}\n"],"names":["Drawer","props","DrawerPrimitive","DrawerTrigger","DrawerPortal","DrawerClose","DrawerOverlay","className","jsx","cn","DrawerContent","children","jsxs","DrawerHeader","DrawerFooter","DrawerTitle","DrawerDescription"],"mappings":";;;AAMA,SAASA,EAAO,EAAC,GAAGC,KAA2D;AAC7E,2BAAQC,EAAgB,MAAhB,EAAqB,aAAU,UAAU,GAAGD,GAAO;AAC7D;AAEA,SAASE,EAAc;AAAA,EACrB,GAAGF;AACL,GAAyD;AACvD,2BAAQC,EAAgB,SAAhB,EAAwB,aAAU,kBAAkB,GAAGD,GAAO;AACxE;AAEA,SAASG,EAAa;AAAA,EACpB,GAAGH;AACL,GAAwD;AACtD,2BAAQC,EAAgB,QAAhB,EAAuB,aAAU,iBAAiB,GAAGD,GAAO;AACtE;AAEA,SAASI,EAAY;AAAA,EACnB,GAAGJ;AACL,GAAuD;AACrD,2BAAQC,EAAgB,OAAhB,EAAsB,aAAU,gBAAgB,GAAGD,GAAO;AACpE;AAEA,SAASK,EAAc;AAAA,EACrB,WAAAC;AAAA,EACA,GAAGN;AACL,GAAyD;AAErD,SAAA,gBAAAO;AAAA,IAACN,EAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAWO;AAAA,QACT;AAAA,QACAF;AAAA,MACF;AAAA,MACC,GAAGN;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASS,EAAc;AAAA,EACrB,WAAAH;AAAA,EACA,UAAAI;AAAA,EACA,GAAGV;AACL,GAAyD;AACvD;AAAA;AAAA,IAEG,gBAAAW,EAAAR,GAAA,EACC,UAAA;AAAA,MAAA,gBAAAI,EAACF,GAAc,EAAA;AAAA,MACf,gBAAAM;AAAA,QAACV,EAAgB;AAAA,QAAhB;AAAA,UACC,aAAU;AAAA,UACV,WAAWO;AAAA,YACT;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACAF;AAAA,UACF;AAAA,UACC,GAAGN;AAAA,UAEJ,UAAA;AAAA,YAAC,gBAAAO,EAAA,OAAA,EAAI,WAAU,kIAAkI,CAAA;AAAA,YAChJG;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACH,EACF,CAAA;AAAA;AAEJ;AAEA,SAASE,EAAa,EAAC,WAAAN,GAAW,GAAGN,KAAqC;AAEtE,SAAA,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAF;AAAA,MACF;AAAA,MACC,GAAGN;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASa,EAAa,EAAC,WAAAP,GAAW,GAAGN,KAAqC;AAEtE,SAAA,gBAAAO;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,mCAAmCF,CAAS;AAAA,MACzD,GAAGN;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASc,EAAY;AAAA,EACnB,WAAAR;AAAA,EACA,GAAGN;AACL,GAAuD;AAEnD,SAAA,gBAAAO;AAAA,IAACN,EAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAWO,EAAG,iCAAiCF,CAAS;AAAA,MACvD,GAAGN;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASe,EAAkB;AAAA,EACzB,WAAAT;AAAA,EACA,GAAGN;AACL,GAA6D;AAEzD,SAAA,gBAAAO;AAAA,IAACN,EAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAWO,EAAG,iCAAiCF,CAAS;AAAA,MACvD,GAAGN;AAAA,IAAA;AAAA,EACN;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport {cn} from '../../lib/utils'\n\nfunction Input({className, type, ...props}: React.ComponentProps<'input'>) {\n return (\n <input\n type={type}\n data-slot=\"input\"\n className={cn(\n 'file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',\n 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive',\n className\n )}\n {...props}\n />\n )\n}\n\nexport {Input}\n"],"names":["Input","className","type","props","jsx","cn"],"mappings":";;AAIA,SAASA,EAAM,EAAC,WAAAC,GAAW,MAAAC,GAAM,GAAGC,KAAuC;AAEvE,SAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAAF;AAAA,MACA,aAAU;AAAA,MACV,WAAWG;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACAJ;AAAA,MACF;AAAA,MACC,GAAGE;AAAA,IAAA;AAAA,EACN;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport {Label as LabelPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n 'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n className\n )}\n {...props}\n />\n )\n}\n\nexport {Label}\n"],"names":["Label","className","props","jsx","LabelPrimitive.Root","cn"],"mappings":";;;AAQA,SAASA,EAAM;AAAA,EACb,WAAAC;AAAA,EACA,GAAGC;AACL,GAAqD;AAEjD,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAJ;AAAA,MACF;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,EACN;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.js","sources":["../../../src/components/ui/progress.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport {Progress as ProgressPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction Progress({\n className,\n value,\n ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root>) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(\n 'bg-primary/20 relative h-2 w-full overflow-hidden rounded-full',\n className\n )}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className=\"bg-primary h-full w-full flex-1 transition-all\"\n style={{transform: `translateX(-${100 - (value || 0)}%)`}}\n />\n </ProgressPrimitive.Root>\n )\n}\n\nexport {Progress}\n"],"names":["Progress","className","value","props","jsx","ProgressPrimitive.Root","cn","ProgressPrimitive.Indicator"],"mappings":";;;AAMA,SAASA,EAAS;AAAA,EAChB,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,GAAGC;AACL,GAAwD;AAEpD,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAL;AAAA,MACF;AAAA,MACC,GAAGE;AAAA,MAEJ,UAAA,gBAAAC;AAAA,QAACG;AAAAA,QAAA;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,UACV,OAAO,EAAC,WAAW,eAAe,OAAOL,KAAS,EAAE,KAAI;AAAA,QAAA;AAAA,MAAA;AAAA,IAC1D;AAAA,EACF;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-group.js","sources":["../../../src/components/ui/radio-group.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport {CircleIcon} from 'lucide-react'\nimport {RadioGroup as RadioGroupPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn('grid gap-3', className)}\n {...props}\n />\n )\n}\n\nfunction RadioGroupItem({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"relative flex items-center justify-center\"\n >\n <CircleIcon className=\"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n}\n\nexport {RadioGroup, RadioGroupItem}\n"],"names":["RadioGroup","className","props","jsx","RadioGroupPrimitive.Root","cn","RadioGroupItem","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator","CircleIcon"],"mappings":";;;;AASA,SAASA,EAAW;AAAA,EAClB,WAAAC;AAAA,EACA,GAAGC;AACL,GAA0D;AAEtD,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,cAAcJ,CAAS;AAAA,MACpC,GAAGC;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASI,EAAe;AAAA,EACtB,WAAAL;AAAA,EACA,GAAGC;AACL,GAA0D;AAEtD,SAAA,gBAAAC;AAAA,IAACI;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWF;AAAA,QACT;AAAA,QACAJ;AAAA,MACF;AAAA,MACC,GAAGC;AAAA,MAEJ,UAAA,gBAAAC;AAAA,QAACK;AAAAA,QAAA;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,UAEV,UAAA,gBAAAL,EAACM,GAAW,EAAA,WAAU,kFAAkF,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAC1G;AAAA,EACF;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resizable.js","sources":["../../../src/components/ui/resizable.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport {GripVerticalIcon} from 'lucide-react'\nimport * as ResizablePrimitive from 'react-resizable-panels'\n\nimport {cn} from '../../lib/utils'\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) {\n return (\n <ResizablePrimitive.PanelGroup\n data-slot=\"resizable-panel-group\"\n className={cn(\n 'flex h-full w-full data-[panel-group-direction=vertical]:flex-col',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction ResizablePanel({\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.Panel>) {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />\n}\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean\n}) {\n return (\n <ResizablePrimitive.PanelResizeHandle\n data-slot=\"resizable-handle\"\n className={cn(\n 'bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className\n )}\n {...props}\n >\n {withHandle && (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border\">\n <GripVerticalIcon className=\"size-2.5\" />\n </div>\n )}\n </ResizablePrimitive.PanelResizeHandle>\n )\n}\n\nexport {ResizablePanelGroup, ResizablePanel, ResizableHandle}\n"],"names":["ResizablePanelGroup","className","props","jsx","ResizablePrimitive.PanelGroup","cn","ResizablePanel","ResizablePrimitive.Panel","ResizableHandle","withHandle","ResizablePrimitive.PanelResizeHandle","GripVerticalIcon"],"mappings":";;;;AAOA,SAASA,EAAoB;AAAA,EAC3B,WAAAC;AAAA,EACA,GAAGC;AACL,GAA+D;AAE3D,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAJ;AAAA,MACF;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASI,EAAe;AAAA,EACtB,GAAGJ;AACL,GAA0D;AACxD,2BAAQK,GAAA,EAAyB,aAAU,mBAAmB,GAAGL,GAAO;AAC1E;AAEA,SAASM,EAAgB;AAAA,EACvB,YAAAC;AAAA,EACA,WAAAR;AAAA,EACA,GAAGC;AACL,GAEG;AAEC,SAAA,gBAAAC;AAAA,IAACO;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWL;AAAA,QACT;AAAA,QACAJ;AAAA,MACF;AAAA,MACC,GAAGC;AAAA,MAEH,UAAAO,uBACE,OAAI,EAAA,WAAU,6EACb,UAAC,gBAAAN,EAAAQ,GAAA,EAAiB,WAAU,WAAW,CAAA,EACzC,CAAA;AAAA,IAAA;AAAA,EAEJ;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.js","sources":["../../../src/components/ui/scroll-area.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport {ScrollArea as ScrollAreaPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction ScrollArea({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {\n return (\n <ScrollAreaPrimitive.Root\n data-slot=\"scroll-area\"\n className={cn('relative', className)}\n {...props}\n >\n <ScrollAreaPrimitive.Viewport\n data-slot=\"scroll-area-viewport\"\n className=\"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n )\n}\n\nfunction ScrollBar({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-slot=\"scroll-area-scrollbar\"\n orientation={orientation}\n className={cn(\n 'flex touch-none p-px transition-colors select-none',\n orientation === 'vertical' &&\n 'h-full w-2.5 border-l border-l-transparent',\n orientation === 'horizontal' &&\n 'h-2.5 flex-col border-t border-t-transparent',\n className\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb\n data-slot=\"scroll-area-thumb\"\n className=\"bg-border relative flex-1 rounded-full\"\n />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n )\n}\n\nexport {ScrollArea, ScrollBar}\n"],"names":["ScrollArea","className","children","props","jsxs","ScrollAreaPrimitive.Root","cn","jsx","ScrollAreaPrimitive.Viewport","ScrollBar","ScrollAreaPrimitive.Corner","orientation","ScrollAreaPrimitive.ScrollAreaScrollbar","ScrollAreaPrimitive.ScrollAreaThumb"],"mappings":";;;AAQA,SAASA,EAAW;AAAA,EAClB,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,GAA0D;AAEtD,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC,EAAG,YAAYL,CAAS;AAAA,MAClC,GAAGE;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAACC;AAAAA,UAAA;AAAA,YACC,aAAU;AAAA,YACV,WAAU;AAAA,YAET,UAAAN;AAAA,UAAA;AAAA,QACH;AAAA,0BACCO,GAAU,EAAA;AAAA,QACX,gBAAAF,EAACG,GAAA,CAA2B,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAC9B;AAEJ;AAEA,SAASD,EAAU;AAAA,EACjB,WAAAR;AAAA,EACA,aAAAU,IAAc;AAAA,EACd,GAAGR;AACL,GAAyE;AAErE,SAAA,gBAAAI;AAAA,IAACK;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,aAAAD;AAAA,MACA,WAAWL;AAAA,QACT;AAAA,QACAK,MAAgB,cACd;AAAA,QACFA,MAAgB,gBACd;AAAA,QACFV;AAAA,MACF;AAAA,MACC,GAAGE;AAAA,MAEJ,UAAA,gBAAAI;AAAA,QAACM;AAAAA,QAAA;AAAA,UACC,aAAU;AAAA,UACV,WAAU;AAAA,QAAA;AAAA,MAAA;AAAA,IACZ;AAAA,EACF;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.js","sources":["../../../src/components/ui/select.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport {CheckIcon, ChevronDownIcon, ChevronUpIcon} from 'lucide-react'\nimport {Select as SelectPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction Select({...props}: React.ComponentProps<typeof SelectPrimitive.Root>) {\n return <SelectPrimitive.Root data-slot=\"select\" {...props} />\n}\n\nfunction SelectGroup({\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Group>) {\n return <SelectPrimitive.Group data-slot=\"select-group\" {...props} />\n}\n\nfunction SelectValue({\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Value>) {\n return <SelectPrimitive.Value data-slot=\"select-value\" {...props} />\n}\n\nfunction SelectTrigger({\n className,\n size = 'default',\n children,\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {\n size?: 'sm' | 'default'\n}) {\n return (\n <SelectPrimitive.Trigger\n data-slot=\"select-trigger\"\n data-size={size}\n className={cn(\n \"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronDownIcon className=\"size-4 opacity-50\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n )\n}\n\nfunction SelectContent({\n className,\n children,\n position = 'popper',\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Content>) {\n return (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n data-slot=\"select-content\"\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1'\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n )\n}\n\nfunction SelectLabel({\n className,\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Label>) {\n return (\n <SelectPrimitive.Label\n data-slot=\"select-label\"\n className={cn('text-muted-foreground px-2 py-1.5 text-xs', className)}\n {...props}\n />\n )\n}\n\nfunction SelectItem({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Item>) {\n return (\n <SelectPrimitive.Item\n data-slot=\"select-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2\",\n className\n )}\n {...props}\n >\n <span className=\"absolute right-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n )\n}\n\nfunction SelectSeparator({\n className,\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.Separator>) {\n return (\n <SelectPrimitive.Separator\n data-slot=\"select-separator\"\n className={cn('bg-border pointer-events-none -mx-1 my-1 h-px', className)}\n {...props}\n />\n )\n}\n\nfunction SelectScrollUpButton({\n className,\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {\n return (\n <SelectPrimitive.ScrollUpButton\n data-slot=\"select-scroll-up-button\"\n className={cn(\n 'flex cursor-default items-center justify-center py-1',\n className\n )}\n {...props}\n >\n <ChevronUpIcon className=\"size-4\" />\n </SelectPrimitive.ScrollUpButton>\n )\n}\n\nfunction SelectScrollDownButton({\n className,\n ...props\n}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {\n return (\n <SelectPrimitive.ScrollDownButton\n data-slot=\"select-scroll-down-button\"\n className={cn(\n 'flex cursor-default items-center justify-center py-1',\n className\n )}\n {...props}\n >\n <ChevronDownIcon className=\"size-4\" />\n </SelectPrimitive.ScrollDownButton>\n )\n}\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n}\n"],"names":["Select","props","SelectPrimitive.Root","SelectGroup","SelectPrimitive.Group","SelectValue","SelectPrimitive.Value","SelectTrigger","className","size","children","jsxs","SelectPrimitive.Trigger","cn","jsx","SelectPrimitive.Icon","ChevronDownIcon","SelectContent","position","SelectPrimitive.Portal","SelectPrimitive.Content","SelectScrollUpButton","SelectPrimitive.Viewport","SelectScrollDownButton","SelectLabel","SelectPrimitive.Label","SelectItem","SelectPrimitive.Item","SelectPrimitive.ItemIndicator","CheckIcon","SelectPrimitive.ItemText","SelectSeparator","SelectPrimitive.Separator","SelectPrimitive.ScrollUpButton","ChevronUpIcon","SelectPrimitive.ScrollDownButton"],"mappings":";;;;;;AAOA,SAASA,EAAO,EAAC,GAAGC,KAA2D;AAC7E,2BAAQC,GAAA,EAAqB,aAAU,UAAU,GAAGD,GAAO;AAC7D;AAEA,SAASE,EAAY;AAAA,EACnB,GAAGF;AACL,GAAuD;AACrD,2BAAQG,GAAA,EAAsB,aAAU,gBAAgB,GAAGH,GAAO;AACpE;AAEA,SAASI,EAAY;AAAA,EACnB,GAAGJ;AACL,GAAuD;AACrD,2BAAQK,GAAA,EAAsB,aAAU,gBAAgB,GAAGL,GAAO;AACpE;AAEA,SAASM,EAAc;AAAA,EACrB,WAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,UAAAC;AAAA,EACA,GAAGT;AACL,GAEG;AAEC,SAAA,gBAAAU;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,aAAWH;AAAA,MACX,WAAWI;AAAA,QACT;AAAA,QACAL;AAAA,MACF;AAAA,MACC,GAAGP;AAAA,MAEH,UAAA;AAAA,QAAAS;AAAA,QACD,gBAAAI,EAACC,GAAA,EAAqB,SAAO,IAC3B,UAAC,gBAAAD,EAAAE,GAAA,EAAgB,WAAU,oBAAoB,CAAA,EACjD,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ;AAEA,SAASC,EAAc;AAAA,EACrB,WAAAT;AAAA,EACA,UAAAE;AAAA,EACA,UAAAQ,IAAW;AAAA,EACX,GAAGjB;AACL,GAAyD;AAErD,SAAA,gBAAAa,EAACK,GAAA,EACC,UAAA,gBAAAR;AAAA,IAACS;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWP;AAAA,QACT;AAAA,QACAK,MAAa,YACX;AAAA,QACFV;AAAA,MACF;AAAA,MACA,UAAAU;AAAA,MACC,GAAGjB;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAa,EAACO,GAAqB,EAAA;AAAA,QACtB,gBAAAP;AAAA,UAACQ;AAAAA,UAAA;AAAA,YACC,WAAWT;AAAA,cACT;AAAA,cACAK,MAAa,YACX;AAAA,YACJ;AAAA,YAEC,UAAAR;AAAA,UAAA;AAAA,QACH;AAAA,0BACCa,GAAuB,CAAA,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAE5B;AAEJ;AAEA,SAASC,EAAY;AAAA,EACnB,WAAAhB;AAAA,EACA,GAAGP;AACL,GAAuD;AAEnD,SAAA,gBAAAa;AAAA,IAACW;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWZ,EAAG,6CAA6CL,CAAS;AAAA,MACnE,GAAGP;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASyB,EAAW;AAAA,EAClB,WAAAlB;AAAA,EACA,UAAAE;AAAA,EACA,GAAGT;AACL,GAAsD;AAElD,SAAA,gBAAAU;AAAA,IAACgB;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWd;AAAA,QACT;AAAA,QACAL;AAAA,MACF;AAAA,MACC,GAAGP;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAa,EAAC,QAAK,EAAA,WAAU,8DACd,UAAA,gBAAAA,EAACc,GAAA,EACC,UAAA,gBAAAd,EAACe,GAAU,EAAA,WAAU,SAAS,CAAA,EAChC,CAAA,GACF;AAAA,QACC,gBAAAf,EAAAgB,GAAA,EAA0B,UAAApB,EAAS,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACtC;AAEJ;AAEA,SAASqB,EAAgB;AAAA,EACvB,WAAAvB;AAAA,EACA,GAAGP;AACL,GAA2D;AAEvD,SAAA,gBAAAa;AAAA,IAACkB;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWnB,EAAG,iDAAiDL,CAAS;AAAA,MACvE,GAAGP;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASoB,EAAqB;AAAA,EAC5B,WAAAb;AAAA,EACA,GAAGP;AACL,GAAgE;AAE5D,SAAA,gBAAAa;AAAA,IAACmB;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWpB;AAAA,QACT;AAAA,QACAL;AAAA,MACF;AAAA,MACC,GAAGP;AAAA,MAEJ,UAAA,gBAAAa,EAACoB,GAAc,EAAA,WAAU,SAAS,CAAA;AAAA,IAAA;AAAA,EACpC;AAEJ;AAEA,SAASX,EAAuB;AAAA,EAC9B,WAAAf;AAAA,EACA,GAAGP;AACL,GAAkE;AAE9D,SAAA,gBAAAa;AAAA,IAACqB;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWtB;AAAA,QACT;AAAA,QACAL;AAAA,MACF;AAAA,MACC,GAAGP;AAAA,MAEJ,UAAA,gBAAAa,EAACE,GAAgB,EAAA,WAAU,SAAS,CAAA;AAAA,IAAA;AAAA,EACtC;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.js","sources":["../../../src/components/ui/separator.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\n\nimport {Separator as SeparatorPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction Separator({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n return (\n <SeparatorPrimitive.Root\n data-slot=\"separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',\n className\n )}\n {...props}\n />\n )\n}\n\nexport {Separator}\n"],"names":["Separator","className","orientation","decorative","props","jsx","SeparatorPrimitive.Root","cn"],"mappings":";;;AAQA,SAASA,EAAU;AAAA,EACjB,WAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,YAAAC,IAAa;AAAA,EACb,GAAGC;AACL,GAAyD;AAErD,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,YAAAH;AAAA,MACA,aAAAD;AAAA,MACA,WAAWK;AAAA,QACT;AAAA,QACAN;AAAA,MACF;AAAA,MACC,GAAGG;AAAA,IAAA;AAAA,EACN;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheet.js","sources":["../../../src/components/ui/sheet.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport {XIcon} from 'lucide-react'\nimport {Dialog as SheetPrimitive} from 'radix-ui'\n\nimport {cn} from '../../lib/utils'\n\nfunction Sheet({...props}: React.ComponentProps<typeof SheetPrimitive.Root>) {\n return <SheetPrimitive.Root data-slot=\"sheet\" {...props} />\n}\n\nfunction SheetTrigger({\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Trigger>) {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />\n}\n\nfunction SheetClose({\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Close>) {\n return <SheetPrimitive.Close data-slot=\"sheet-close\" {...props} />\n}\n\nfunction SheetPortal({\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Portal>) {\n return <SheetPrimitive.Portal data-slot=\"sheet-portal\" {...props} />\n}\n\nfunction SheetOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n return (\n <SheetPrimitive.Overlay\n data-slot=\"sheet-overlay\"\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction SheetContent({\n className,\n children,\n side = 'right',\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & {\n side?: 'top' | 'right' | 'bottom' | 'left'\n}) {\n return (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n data-slot=\"sheet-content\"\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',\n side === 'right' &&\n 'data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n side === 'left' &&\n 'data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n side === 'top' &&\n 'data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b',\n side === 'bottom' &&\n 'data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t',\n className\n )}\n {...props}\n >\n {children}\n <SheetPrimitive.Close className=\"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none\">\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n )\n}\n\nfunction SheetHeader({className, ...props}: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"sheet-header\"\n className={cn('flex flex-col gap-1.5 p-4', className)}\n {...props}\n />\n )\n}\n\nfunction SheetFooter({className, ...props}: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"sheet-footer\"\n className={cn('mt-auto flex flex-col gap-2 p-4', className)}\n {...props}\n />\n )\n}\n\nfunction SheetTitle({\n className,\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Title>) {\n return (\n <SheetPrimitive.Title\n data-slot=\"sheet-title\"\n className={cn('text-foreground font-semibold', className)}\n {...props}\n />\n )\n}\n\nfunction SheetDescription({\n className,\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Description>) {\n return (\n <SheetPrimitive.Description\n data-slot=\"sheet-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n )\n}\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n}\n"],"names":["Sheet","props","SheetPrimitive.Root","SheetTrigger","SheetPrimitive.Trigger","SheetClose","SheetPrimitive.Close","SheetPortal","SheetPrimitive.Portal","SheetOverlay","className","jsx","SheetPrimitive.Overlay","cn","SheetContent","children","side","jsxs","SheetPrimitive.Content","XIcon","SheetHeader","SheetFooter","SheetTitle","SheetPrimitive.Title","SheetDescription","SheetPrimitive.Description"],"mappings":";;;;AAOA,SAASA,EAAM,EAAC,GAAGC,KAA0D;AAC3E,2BAAQC,GAAA,EAAoB,aAAU,SAAS,GAAGD,GAAO;AAC3D;AAEA,SAASE,EAAa;AAAA,EACpB,GAAGF;AACL,GAAwD;AACtD,2BAAQG,GAAA,EAAuB,aAAU,iBAAiB,GAAGH,GAAO;AACtE;AAEA,SAASI,EAAW;AAAA,EAClB,GAAGJ;AACL,GAAsD;AACpD,2BAAQK,GAAA,EAAqB,aAAU,eAAe,GAAGL,GAAO;AAClE;AAEA,SAASM,EAAY;AAAA,EACnB,GAAGN;AACL,GAAuD;AACrD,2BAAQO,GAAA,EAAsB,aAAU,gBAAgB,GAAGP,GAAO;AACpE;AAEA,SAASQ,EAAa;AAAA,EACpB,WAAAC;AAAA,EACA,GAAGT;AACL,GAAwD;AAEpD,SAAA,gBAAAU;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWC;AAAA,QACT;AAAA,QACAH;AAAA,MACF;AAAA,MACC,GAAGT;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASa,EAAa;AAAA,EACpB,WAAAJ;AAAA,EACA,UAAAK;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,GAAGf;AACL,GAEG;AACD,2BACGM,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAI,EAACF,GAAa,EAAA;AAAA,IACd,gBAAAQ;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,aAAU;AAAA,QACV,WAAWL;AAAA,UACT;AAAA,UACAG,MAAS,WACP;AAAA,UACFA,MAAS,UACP;AAAA,UACFA,MAAS,SACP;AAAA,UACFA,MAAS,YACP;AAAA,UACFN;AAAA,QACF;AAAA,QACC,GAAGT;AAAA,QAEH,UAAA;AAAA,UAAAc;AAAA,UACA,gBAAAE,EAAAX,GAAA,EAAqB,WAAU,8OAC9B,UAAA;AAAA,YAAC,gBAAAK,EAAAQ,GAAA,EAAM,WAAU,SAAS,CAAA;AAAA,YACzB,gBAAAR,EAAA,QAAA,EAAK,WAAU,WAAU,UAAK,QAAA,CAAA;AAAA,UAAA,EACjC,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;AAEA,SAASS,EAAY,EAAC,WAAAV,GAAW,GAAGT,KAAqC;AAErE,SAAA,gBAAAU;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWE,EAAG,6BAA6BH,CAAS;AAAA,MACnD,GAAGT;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASoB,EAAY,EAAC,WAAAX,GAAW,GAAGT,KAAqC;AAErE,SAAA,gBAAAU;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWE,EAAG,mCAAmCH,CAAS;AAAA,MACzD,GAAGT;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASqB,EAAW;AAAA,EAClB,WAAAZ;AAAA,EACA,GAAGT;AACL,GAAsD;AAElD,SAAA,gBAAAU;AAAA,IAACY;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWV,EAAG,iCAAiCH,CAAS;AAAA,MACvD,GAAGT;AAAA,IAAA;AAAA,EACN;AAEJ;AAEA,SAASuB,EAAiB;AAAA,EACxB,WAAAd;AAAA,EACA,GAAGT;AACL,GAA4D;AAExD,SAAA,gBAAAU;AAAA,IAACc;AAAAA,IAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAWZ,EAAG,iCAAiCH,CAAS;AAAA,MACvD,GAAGT;AAAA,IAAA;AAAA,EACN;AAEJ;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sonner.js","sources":["../../../src/components/ui/sonner.tsx"],"sourcesContent":["import {useTheme} from 'next-themes'\nimport {Toaster as Sonner, ToasterProps} from 'sonner'\n\nconst Toaster = ({...props}: ToasterProps) => {\n const {theme = 'system'} = useTheme()\n\n return (\n <Sonner\n theme={theme as ToasterProps['theme']}\n className=\"toaster group\"\n style={\n {\n '--normal-bg': 'var(--popover)',\n '--normal-text': 'var(--popover-foreground)',\n '--normal-border': 'var(--border)',\n } as React.CSSProperties\n }\n {...props}\n />\n )\n}\n\nexport {Toaster}\n"],"names":["Toaster","props","theme","useTheme","jsx","Sonner"],"mappings":";;;AAGA,MAAMA,IAAU,CAAC,EAAC,GAAGC,QAAyB;AAC5C,QAAM,EAAC,OAAAC,IAAQ,SAAQ,IAAIC,EAAS;AAGlC,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,OAAAH;AAAA,MACA,WAAU;AAAA,MACV,OACE;AAAA,QACE,eAAe;AAAA,QACf,iBAAiB;AAAA,QACjB,mBAAmB;AAAA,MACrB;AAAA,MAED,GAAGD;AAAA,IAAA;AAAA,EACN;AAEJ;"}
package/dist/index.js CHANGED
@@ -1,224 +1,195 @@
1
1
  import { MinisContainer as o } from "./components/MinisContainer.js";
2
- import { ProductCard as a, ProductCardBadge as i, ProductCardCurrentPrice as n, ProductCardFavoriteButton as c, ProductCardImage as l, ProductCardImageContainer as u, ProductCardInfo as d, ProductCardOriginalPrice as s, ProductCardPrice as p, ProductCardRoot as m, ProductCardTitle as f } from "./components/commerce/product-card.js";
3
- import { ProductLink as C, ProductLinkActions as g, ProductLinkCurrentPrice as P, ProductLinkDiscountPrice as D, ProductLinkImage as S, ProductLinkInfo as A, ProductLinkOriginalPrice as h, ProductLinkPrice as L, ProductLinkRating as k, ProductLinkRoot as I, ProductLinkTitle as T } from "./components/commerce/product-link.js";
4
- import { MerchantCard as w, MerchantCardImage as R, MerchantCardImageContainer as v, MerchantCardInfo as b, MerchantCardLogo as F, MerchantCardName as B, MerchantCardPrimitive as E, MerchantCardRating as y, MerchantCardRoot as H } from "./components/commerce/merchant-card.js";
5
- import { Accordion as N, AccordionContent as G, AccordionItem as U, AccordionTrigger as V } from "./components/atoms/accordion.js";
6
- import { Alert as j, AlertDescription as q, AlertTitle as J } from "./components/atoms/alert.js";
7
- import { AlertDialog as Q, AlertDialogAction as W, AlertDialogCancel as X, AlertDialogContent as Y, AlertDialogDescription as Z, AlertDialogFooter as _, AlertDialogHeader as $, AlertDialogOverlay as rr, AlertDialogPortal as er, AlertDialogTitle as or, AlertDialogTrigger as tr } from "./components/atoms/alert-dialog.js";
8
- import { Avatar as ir, AvatarFallback as nr, AvatarImage as cr } from "./components/atoms/avatar.js";
9
- import { Badge as ur, badgeVariants as dr } from "./components/atoms/badge.js";
10
- import { Button as pr, buttonVariants as mr } from "./components/atoms/button.js";
11
- import { Card as xr, CardAction as Cr, CardContent as gr, CardDescription as Pr, CardFooter as Dr, CardHeader as Sr, CardTitle as Ar } from "./components/atoms/card.js";
12
- import { Carousel as Lr, CarouselContent as kr, CarouselItem as Ir, CarouselNext as Tr, CarouselPrevious as Mr } from "./components/atoms/carousel.js";
13
- import { Checkbox as Rr } from "./components/atoms/checkbox.js";
14
- import { Dialog as br, DialogClose as Fr, DialogContent as Br, DialogDescription as Er, DialogFooter as yr, DialogHeader as Hr, DialogOverlay as Or, DialogPortal as Nr, DialogTitle as Gr, DialogTrigger as Ur } from "./components/atoms/dialog.js";
15
- import { Drawer as zr, DrawerClose as jr, DrawerContent as qr, DrawerDescription as Jr, DrawerFooter as Kr, DrawerHeader as Qr, DrawerOverlay as Wr, DrawerPortal as Xr, DrawerTitle as Yr, DrawerTrigger as Zr } from "./components/atoms/drawer.js";
16
- import { Input as $r } from "./components/atoms/input.js";
17
- import { Label as ee } from "./components/atoms/label.js";
18
- import { Progress as te } from "./components/atoms/progress.js";
19
- import { RadioGroup as ie, RadioGroupItem as ne } from "./components/atoms/radio-group.js";
20
- import { ResizableHandle as le, ResizablePanel as ue, ResizablePanelGroup as de } from "./components/atoms/resizable.js";
21
- import { ScrollArea as pe, ScrollBar as me } from "./components/atoms/scroll-area.js";
22
- import { Select as xe, SelectContent as Ce, SelectGroup as ge, SelectItem as Pe, SelectLabel as De, SelectScrollDownButton as Se, SelectScrollUpButton as Ae, SelectSeparator as he, SelectTrigger as Le, SelectValue as ke } from "./components/atoms/select.js";
23
- import { Separator as Te } from "./components/atoms/separator.js";
24
- import { Sheet as we, SheetClose as Re, SheetContent as ve, SheetDescription as be, SheetFooter as Fe, SheetHeader as Be, SheetTitle as Ee, SheetTrigger as ye } from "./components/atoms/sheet.js";
25
- import { Toaster as Oe } from "./components/atoms/sonner.js";
26
- import { useRecentProducts as Ge } from "./hooks/user/useRecentProducts.js";
27
- import { useRecentShops as Ve } from "./hooks/user/useRecentShops.js";
28
- import { useSavedProducts as je } from "./hooks/user/useSavedProducts.js";
29
- import { useSavedProductsActions as Je } from "./hooks/user/useSavedProductsActions.js";
30
- import { useFollowedShops as Qe } from "./hooks/user/useFollowedShops.js";
31
- import { useFollowedShopsActions as Xe } from "./hooks/user/useFollowedShopsActions.js";
32
- import { useCurrentUser as Ze } from "./hooks/user/useCurrentUser.js";
33
- import { useOrders as $e } from "./hooks/user/useOrders.js";
34
- import { useBuyerAttributes as eo } from "./hooks/user/useBuyerAttributes.js";
35
- import { useProductListActions as to } from "./hooks/product/useProductListActions.js";
36
- import { useProductLists as io } from "./hooks/product/useProductLists.js";
37
- import { useProductList as co } from "./hooks/product/useProductList.js";
38
- import { useProduct as uo } from "./hooks/product/useProduct.js";
39
- import { useProducts as po } from "./hooks/product/useProducts.js";
40
- import { useProductVariants as fo } from "./hooks/product/useProductVariants.js";
41
- import { useProductMedia as Co } from "./hooks/product/useProductMedia.js";
42
- import { useProductSearch as Po } from "./hooks/product/useProductSearch.js";
43
- import { useRecommendedProducts as So } from "./hooks/product/useRecommendedProducts.js";
44
- import { usePopularProducts as ho } from "./hooks/product/usePopularProducts.js";
45
- import { useCuratedProducts as ko } from "./hooks/product/useCuratedProducts.js";
46
- import { useAsyncStorage as To } from "./hooks/storage/useAsyncStorage.js";
47
- import { useSecureStorage as wo } from "./hooks/storage/useSecureStorage.js";
48
- import { useImageUpload as vo } from "./hooks/storage/useImageUpload.js";
49
- import { useShopNavigation as Fo } from "./hooks/navigation/useShopNavigation.js";
50
- import { useCloseMini as Eo } from "./hooks/navigation/useCloseMini.js";
51
- import { useDeeplink as Ho } from "./hooks/navigation/useDeeplink.js";
52
- import { useShop as No } from "./hooks/shop/useShop.js";
53
- import { useShopCartActions as Uo } from "./hooks/shop/useShopCartActions.js";
54
- import { useRecommendedShops as zo } from "./hooks/shop/useRecommendedShops.js";
55
- import { useErrorToast as qo } from "./hooks/util/useErrorToast.js";
56
- import { useErrorScreen as Ko } from "./hooks/util/useErrorScreen.js";
57
- import { useShare as Wo } from "./hooks/util/useShare.js";
58
- import { useImagePicker as Yo } from "./hooks/util/useImagePicker.js";
59
- import { MiniEntityNotFoundError as _o, MiniError as $o, MiniNetworkError as rt, formatError as et } from "./utils/errors.js";
60
- import { parseUrl as tt } from "./utils/parseUrl.js";
61
- import { Consent as it, ConsentStatus as nt } from "./shop-minis-platform/src/types/permissions.js";
2
+ import { ProductCard as a } from "./components/commerce/product-card.js";
3
+ import { ProductLink as i } from "./components/commerce/product-link.js";
4
+ import { MerchantCard as s, MerchantCardPrimitive as u } from "./components/commerce/merchant-card.js";
5
+ import { Button as n } from "./components/atoms/button.js";
6
+ import { FavoriteButton as x } from "./components/atoms/favorite-button.js";
7
+ import { IconButton as d } from "./components/atoms/icon-button.js";
8
+ import { Touchable as g } from "./components/atoms/touchable.js";
9
+ import { Accordion as C, AccordionContent as A, AccordionItem as P, AccordionTrigger as h } from "./components/ui/accordion.js";
10
+ import { Alert as w, AlertDescription as v, AlertTitle as F } from "./components/ui/alert.js";
11
+ import { AlertDialog as b, AlertDialogAction as I, AlertDialogCancel as M, AlertDialogContent as B, AlertDialogDescription as E, AlertDialogFooter as y, AlertDialogHeader as H, AlertDialogOverlay as L, AlertDialogPortal as k, AlertDialogTitle as G, AlertDialogTrigger as N } from "./components/ui/alert-dialog.js";
12
+ import { Card as U, CardAction as z, CardContent as V, CardDescription as j, CardFooter as q, CardHeader as J, CardTitle as K } from "./components/ui/card.js";
13
+ import { Carousel as W, CarouselContent as X, CarouselItem as Y, CarouselNext as Z, CarouselPrevious as _ } from "./components/ui/carousel.js";
14
+ import { Checkbox as rr } from "./components/ui/checkbox.js";
15
+ import { Dialog as or, DialogClose as tr, DialogContent as ar, DialogDescription as lr, DialogFooter as ir, DialogHeader as pr, DialogOverlay as sr, DialogPortal as ur, DialogTitle as mr, DialogTrigger as nr } from "./components/ui/dialog.js";
16
+ import { Drawer as xr, DrawerClose as fr, DrawerContent as dr, DrawerDescription as Sr, DrawerFooter as gr, DrawerHeader as Dr, DrawerOverlay as Cr, DrawerPortal as Ar, DrawerTitle as Pr, DrawerTrigger as hr } from "./components/ui/drawer.js";
17
+ import { Input as wr } from "./components/ui/input.js";
18
+ import { Label as Fr } from "./components/ui/label.js";
19
+ import { Progress as br } from "./components/ui/progress.js";
20
+ import { RadioGroup as Mr, RadioGroupItem as Br } from "./components/ui/radio-group.js";
21
+ import { ResizableHandle as yr, ResizablePanel as Hr, ResizablePanelGroup as Lr } from "./components/ui/resizable.js";
22
+ import { ScrollArea as Gr, ScrollBar as Nr } from "./components/ui/scroll-area.js";
23
+ import { Select as Ur, SelectContent as zr, SelectGroup as Vr, SelectItem as jr, SelectLabel as qr, SelectScrollDownButton as Jr, SelectScrollUpButton as Kr, SelectSeparator as Qr, SelectTrigger as Wr, SelectValue as Xr } from "./components/ui/select.js";
24
+ import { Separator as Zr } from "./components/ui/separator.js";
25
+ import { Sheet as $r, SheetClose as re, SheetContent as ee, SheetDescription as oe, SheetFooter as te, SheetHeader as ae, SheetTitle as le, SheetTrigger as ie } from "./components/ui/sheet.js";
26
+ import { Toaster as se } from "./components/ui/sonner.js";
27
+ import { useRecentProducts as me } from "./hooks/user/useRecentProducts.js";
28
+ import { useRecentShops as ce } from "./hooks/user/useRecentShops.js";
29
+ import { useSavedProducts as fe } from "./hooks/user/useSavedProducts.js";
30
+ import { useSavedProductsActions as Se } from "./hooks/user/useSavedProductsActions.js";
31
+ import { useFollowedShops as De } from "./hooks/user/useFollowedShops.js";
32
+ import { useFollowedShopsActions as Ae } from "./hooks/user/useFollowedShopsActions.js";
33
+ import { useCurrentUser as he } from "./hooks/user/useCurrentUser.js";
34
+ import { useOrders as we } from "./hooks/user/useOrders.js";
35
+ import { useBuyerAttributes as Fe } from "./hooks/user/useBuyerAttributes.js";
36
+ import { useProductListActions as be } from "./hooks/product/useProductListActions.js";
37
+ import { useProductLists as Me } from "./hooks/product/useProductLists.js";
38
+ import { useProductList as Ee } from "./hooks/product/useProductList.js";
39
+ import { useProduct as He } from "./hooks/product/useProduct.js";
40
+ import { useProducts as ke } from "./hooks/product/useProducts.js";
41
+ import { useProductVariants as Ne } from "./hooks/product/useProductVariants.js";
42
+ import { useProductMedia as Ue } from "./hooks/product/useProductMedia.js";
43
+ import { useProductSearch as Ve } from "./hooks/product/useProductSearch.js";
44
+ import { useRecommendedProducts as qe } from "./hooks/product/useRecommendedProducts.js";
45
+ import { usePopularProducts as Ke } from "./hooks/product/usePopularProducts.js";
46
+ import { useCuratedProducts as We } from "./hooks/product/useCuratedProducts.js";
47
+ import { useAsyncStorage as Ye } from "./hooks/storage/useAsyncStorage.js";
48
+ import { useSecureStorage as _e } from "./hooks/storage/useSecureStorage.js";
49
+ import { useImageUpload as ro } from "./hooks/storage/useImageUpload.js";
50
+ import { useShopNavigation as oo } from "./hooks/navigation/useShopNavigation.js";
51
+ import { useCloseMini as ao } from "./hooks/navigation/useCloseMini.js";
52
+ import { useDeeplink as io } from "./hooks/navigation/useDeeplink.js";
53
+ import { useShop as so } from "./hooks/shop/useShop.js";
54
+ import { useShopCartActions as mo } from "./hooks/shop/useShopCartActions.js";
55
+ import { useRecommendedShops as co } from "./hooks/shop/useRecommendedShops.js";
56
+ import { useErrorToast as fo } from "./hooks/util/useErrorToast.js";
57
+ import { useErrorScreen as go } from "./hooks/util/useErrorScreen.js";
58
+ import { useShare as Co } from "./hooks/util/useShare.js";
59
+ import { useImagePicker as Po } from "./hooks/util/useImagePicker.js";
60
+ import { MiniEntityNotFoundError as To, MiniError as wo, MiniNetworkError as vo, formatError as Fo } from "./utils/errors.js";
61
+ import { parseUrl as bo } from "./utils/parseUrl.js";
62
+ import { Consent as Mo, ConsentStatus as Bo } from "./shop-minis-platform/src/types/permissions.js";
62
63
  export {
63
- N as Accordion,
64
- G as AccordionContent,
65
- U as AccordionItem,
66
- V as AccordionTrigger,
67
- j as Alert,
68
- q as AlertDescription,
69
- Q as AlertDialog,
70
- W as AlertDialogAction,
71
- X as AlertDialogCancel,
72
- Y as AlertDialogContent,
73
- Z as AlertDialogDescription,
74
- _ as AlertDialogFooter,
75
- $ as AlertDialogHeader,
76
- rr as AlertDialogOverlay,
77
- er as AlertDialogPortal,
78
- or as AlertDialogTitle,
79
- tr as AlertDialogTrigger,
80
- J as AlertTitle,
81
- ir as Avatar,
82
- nr as AvatarFallback,
83
- cr as AvatarImage,
84
- ur as Badge,
85
- pr as Button,
86
- xr as Card,
87
- Cr as CardAction,
88
- gr as CardContent,
89
- Pr as CardDescription,
90
- Dr as CardFooter,
91
- Sr as CardHeader,
92
- Ar as CardTitle,
93
- Lr as Carousel,
94
- kr as CarouselContent,
95
- Ir as CarouselItem,
96
- Tr as CarouselNext,
97
- Mr as CarouselPrevious,
98
- Rr as Checkbox,
99
- it as Consent,
100
- nt as ConsentStatus,
101
- br as Dialog,
102
- Fr as DialogClose,
103
- Br as DialogContent,
104
- Er as DialogDescription,
105
- yr as DialogFooter,
106
- Hr as DialogHeader,
107
- Or as DialogOverlay,
108
- Nr as DialogPortal,
109
- Gr as DialogTitle,
110
- Ur as DialogTrigger,
111
- zr as Drawer,
112
- jr as DrawerClose,
113
- qr as DrawerContent,
114
- Jr as DrawerDescription,
115
- Kr as DrawerFooter,
116
- Qr as DrawerHeader,
117
- Wr as DrawerOverlay,
118
- Xr as DrawerPortal,
119
- Yr as DrawerTitle,
120
- Zr as DrawerTrigger,
121
- $r as Input,
122
- ee as Label,
123
- w as MerchantCard,
124
- R as MerchantCardImage,
125
- v as MerchantCardImageContainer,
126
- b as MerchantCardInfo,
127
- F as MerchantCardLogo,
128
- B as MerchantCardName,
129
- E as MerchantCardPrimitive,
130
- y as MerchantCardRating,
131
- H as MerchantCardRoot,
132
- _o as MiniEntityNotFoundError,
133
- $o as MiniError,
134
- rt as MiniNetworkError,
64
+ C as Accordion,
65
+ A as AccordionContent,
66
+ P as AccordionItem,
67
+ h as AccordionTrigger,
68
+ w as Alert,
69
+ v as AlertDescription,
70
+ b as AlertDialog,
71
+ I as AlertDialogAction,
72
+ M as AlertDialogCancel,
73
+ B as AlertDialogContent,
74
+ E as AlertDialogDescription,
75
+ y as AlertDialogFooter,
76
+ H as AlertDialogHeader,
77
+ L as AlertDialogOverlay,
78
+ k as AlertDialogPortal,
79
+ G as AlertDialogTitle,
80
+ N as AlertDialogTrigger,
81
+ F as AlertTitle,
82
+ n as Button,
83
+ U as Card,
84
+ z as CardAction,
85
+ V as CardContent,
86
+ j as CardDescription,
87
+ q as CardFooter,
88
+ J as CardHeader,
89
+ K as CardTitle,
90
+ W as Carousel,
91
+ X as CarouselContent,
92
+ Y as CarouselItem,
93
+ Z as CarouselNext,
94
+ _ as CarouselPrevious,
95
+ rr as Checkbox,
96
+ Mo as Consent,
97
+ Bo as ConsentStatus,
98
+ or as Dialog,
99
+ tr as DialogClose,
100
+ ar as DialogContent,
101
+ lr as DialogDescription,
102
+ ir as DialogFooter,
103
+ pr as DialogHeader,
104
+ sr as DialogOverlay,
105
+ ur as DialogPortal,
106
+ mr as DialogTitle,
107
+ nr as DialogTrigger,
108
+ xr as Drawer,
109
+ fr as DrawerClose,
110
+ dr as DrawerContent,
111
+ Sr as DrawerDescription,
112
+ gr as DrawerFooter,
113
+ Dr as DrawerHeader,
114
+ Cr as DrawerOverlay,
115
+ Ar as DrawerPortal,
116
+ Pr as DrawerTitle,
117
+ hr as DrawerTrigger,
118
+ x as FavoriteButton,
119
+ d as IconButton,
120
+ wr as Input,
121
+ Fr as Label,
122
+ s as MerchantCard,
123
+ u as MerchantCardPrimitive,
124
+ To as MiniEntityNotFoundError,
125
+ wo as MiniError,
126
+ vo as MiniNetworkError,
135
127
  o as MinisContainer,
136
128
  a as ProductCard,
137
- i as ProductCardBadge,
138
- n as ProductCardCurrentPrice,
139
- c as ProductCardFavoriteButton,
140
- l as ProductCardImage,
141
- u as ProductCardImageContainer,
142
- d as ProductCardInfo,
143
- s as ProductCardOriginalPrice,
144
- p as ProductCardPrice,
145
- m as ProductCardRoot,
146
- f as ProductCardTitle,
147
- C as ProductLink,
148
- g as ProductLinkActions,
149
- P as ProductLinkCurrentPrice,
150
- D as ProductLinkDiscountPrice,
151
- S as ProductLinkImage,
152
- A as ProductLinkInfo,
153
- h as ProductLinkOriginalPrice,
154
- L as ProductLinkPrice,
155
- k as ProductLinkRating,
156
- I as ProductLinkRoot,
157
- T as ProductLinkTitle,
158
- te as Progress,
159
- ie as RadioGroup,
160
- ne as RadioGroupItem,
161
- le as ResizableHandle,
162
- ue as ResizablePanel,
163
- de as ResizablePanelGroup,
164
- pe as ScrollArea,
165
- me as ScrollBar,
166
- xe as Select,
167
- Ce as SelectContent,
168
- ge as SelectGroup,
169
- Pe as SelectItem,
170
- De as SelectLabel,
171
- Se as SelectScrollDownButton,
172
- Ae as SelectScrollUpButton,
173
- he as SelectSeparator,
174
- Le as SelectTrigger,
175
- ke as SelectValue,
176
- Te as Separator,
177
- we as Sheet,
178
- Re as SheetClose,
179
- ve as SheetContent,
180
- be as SheetDescription,
181
- Fe as SheetFooter,
182
- Be as SheetHeader,
183
- Ee as SheetTitle,
184
- ye as SheetTrigger,
185
- Oe as Toaster,
186
- dr as badgeVariants,
187
- mr as buttonVariants,
188
- et as formatError,
189
- tt as parseUrl,
190
- To as useAsyncStorage,
191
- eo as useBuyerAttributes,
192
- Eo as useCloseMini,
193
- ko as useCuratedProducts,
194
- Ze as useCurrentUser,
195
- Ho as useDeeplink,
196
- Ko as useErrorScreen,
197
- qo as useErrorToast,
198
- Qe as useFollowedShops,
199
- Xe as useFollowedShopsActions,
200
- Yo as useImagePicker,
201
- vo as useImageUpload,
202
- $e as useOrders,
203
- ho as usePopularProducts,
204
- uo as useProduct,
205
- co as useProductList,
206
- to as useProductListActions,
207
- io as useProductLists,
208
- Co as useProductMedia,
209
- Po as useProductSearch,
210
- fo as useProductVariants,
211
- po as useProducts,
212
- Ge as useRecentProducts,
213
- Ve as useRecentShops,
214
- So as useRecommendedProducts,
215
- zo as useRecommendedShops,
216
- je as useSavedProducts,
217
- Je as useSavedProductsActions,
218
- wo as useSecureStorage,
219
- Wo as useShare,
220
- No as useShop,
221
- Uo as useShopCartActions,
222
- Fo as useShopNavigation
129
+ i as ProductLink,
130
+ br as Progress,
131
+ Mr as RadioGroup,
132
+ Br as RadioGroupItem,
133
+ yr as ResizableHandle,
134
+ Hr as ResizablePanel,
135
+ Lr as ResizablePanelGroup,
136
+ Gr as ScrollArea,
137
+ Nr as ScrollBar,
138
+ Ur as Select,
139
+ zr as SelectContent,
140
+ Vr as SelectGroup,
141
+ jr as SelectItem,
142
+ qr as SelectLabel,
143
+ Jr as SelectScrollDownButton,
144
+ Kr as SelectScrollUpButton,
145
+ Qr as SelectSeparator,
146
+ Wr as SelectTrigger,
147
+ Xr as SelectValue,
148
+ Zr as Separator,
149
+ $r as Sheet,
150
+ re as SheetClose,
151
+ ee as SheetContent,
152
+ oe as SheetDescription,
153
+ te as SheetFooter,
154
+ ae as SheetHeader,
155
+ le as SheetTitle,
156
+ ie as SheetTrigger,
157
+ se as Toaster,
158
+ g as Touchable,
159
+ Fo as formatError,
160
+ bo as parseUrl,
161
+ Ye as useAsyncStorage,
162
+ Fe as useBuyerAttributes,
163
+ ao as useCloseMini,
164
+ We as useCuratedProducts,
165
+ he as useCurrentUser,
166
+ io as useDeeplink,
167
+ go as useErrorScreen,
168
+ fo as useErrorToast,
169
+ De as useFollowedShops,
170
+ Ae as useFollowedShopsActions,
171
+ Po as useImagePicker,
172
+ ro as useImageUpload,
173
+ we as useOrders,
174
+ Ke as usePopularProducts,
175
+ He as useProduct,
176
+ Ee as useProductList,
177
+ be as useProductListActions,
178
+ Me as useProductLists,
179
+ Ue as useProductMedia,
180
+ Ve as useProductSearch,
181
+ Ne as useProductVariants,
182
+ ke as useProducts,
183
+ me as useRecentProducts,
184
+ ce as useRecentShops,
185
+ qe as useRecommendedProducts,
186
+ co as useRecommendedShops,
187
+ fe as useSavedProducts,
188
+ Se as useSavedProductsActions,
189
+ _e as useSecureStorage,
190
+ Co as useShare,
191
+ so as useShop,
192
+ mo as useShopCartActions,
193
+ oo as useShopNavigation
223
194
  };
224
195
  //# sourceMappingURL=index.js.map