@hexclave/ui 1.0.0 → 1.0.1

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 (141) hide show
  1. package/dist/components/brand-icons.js +3 -3
  2. package/dist/components/brand-icons.js.map +1 -1
  3. package/dist/components/copy-button.js +2 -2
  4. package/dist/components/copy-button.js.map +1 -1
  5. package/dist/components/data-table/data-table.js +2 -2
  6. package/dist/components/data-table/data-table.js.map +1 -1
  7. package/dist/components/data-table/toolbar.js +3 -3
  8. package/dist/components/data-table/toolbar.js.map +1 -1
  9. package/dist/components/ui/accordion.js +4 -4
  10. package/dist/components/ui/accordion.js.map +1 -1
  11. package/dist/components/ui/alert.js +4 -4
  12. package/dist/components/ui/alert.js.map +1 -1
  13. package/dist/components/ui/avatar.js +4 -4
  14. package/dist/components/ui/avatar.js.map +1 -1
  15. package/dist/components/ui/badge.d.ts +2 -2
  16. package/dist/components/ui/badge.js +2 -2
  17. package/dist/components/ui/badge.js.map +1 -1
  18. package/dist/components/ui/breadcrumb.js +6 -6
  19. package/dist/components/ui/breadcrumb.js.map +1 -1
  20. package/dist/components/ui/button.d.ts +2 -2
  21. package/dist/components/ui/button.js +7 -7
  22. package/dist/components/ui/button.js.map +1 -1
  23. package/dist/components/ui/card.js +8 -8
  24. package/dist/components/ui/card.js.map +1 -1
  25. package/dist/components/ui/checkbox.js +2 -2
  26. package/dist/components/ui/checkbox.js.map +1 -1
  27. package/dist/components/ui/command.js +8 -8
  28. package/dist/components/ui/command.js.map +1 -1
  29. package/dist/components/ui/context-menu.js +9 -9
  30. package/dist/components/ui/context-menu.js.map +1 -1
  31. package/dist/components/ui/dialog.js +5 -5
  32. package/dist/components/ui/dialog.js.map +1 -1
  33. package/dist/components/ui/dropdown-menu.js +16 -16
  34. package/dist/components/ui/dropdown-menu.js.map +1 -1
  35. package/dist/components/ui/form.js +8 -8
  36. package/dist/components/ui/form.js.map +1 -1
  37. package/dist/components/ui/hover-card.js +2 -2
  38. package/dist/components/ui/hover-card.js.map +1 -1
  39. package/dist/components/ui/inline-code.js +7 -7
  40. package/dist/components/ui/inline-code.js.map +1 -1
  41. package/dist/components/ui/input-otp.js +5 -5
  42. package/dist/components/ui/input-otp.js.map +1 -1
  43. package/dist/components/ui/input.js +3 -3
  44. package/dist/components/ui/input.js.map +1 -1
  45. package/dist/components/ui/label.js +3 -3
  46. package/dist/components/ui/label.js.map +1 -1
  47. package/dist/components/ui/menubar.js +2 -2
  48. package/dist/components/ui/menubar.js.map +1 -1
  49. package/dist/components/ui/navigation-menu.js +7 -7
  50. package/dist/components/ui/navigation-menu.js.map +1 -1
  51. package/dist/components/ui/password-input.js +2 -2
  52. package/dist/components/ui/password-input.js.map +1 -1
  53. package/dist/components/ui/popover.js +2 -2
  54. package/dist/components/ui/popover.js.map +1 -1
  55. package/dist/components/ui/progress.js +2 -2
  56. package/dist/components/ui/progress.js.map +1 -1
  57. package/dist/components/ui/radio-group.js +3 -3
  58. package/dist/components/ui/radio-group.js.map +1 -1
  59. package/dist/components/ui/resizable.d.ts +1 -1
  60. package/dist/components/ui/resizable.d.ts.map +1 -1
  61. package/dist/components/ui/scroll-area.js +3 -3
  62. package/dist/components/ui/scroll-area.js.map +1 -1
  63. package/dist/components/ui/select.js +8 -8
  64. package/dist/components/ui/select.js.map +1 -1
  65. package/dist/components/ui/separator.js +2 -2
  66. package/dist/components/ui/separator.js.map +1 -1
  67. package/dist/components/ui/sheet.js +5 -5
  68. package/dist/components/ui/sheet.js.map +1 -1
  69. package/dist/components/ui/slider.js +2 -2
  70. package/dist/components/ui/slider.js.map +1 -1
  71. package/dist/components/ui/spinner.js +2 -2
  72. package/dist/components/ui/spinner.js.map +1 -1
  73. package/dist/components/ui/switch.js +9 -9
  74. package/dist/components/ui/switch.js.map +1 -1
  75. package/dist/components/ui/table.js +9 -9
  76. package/dist/components/ui/table.js.map +1 -1
  77. package/dist/components/ui/tabs.js +4 -4
  78. package/dist/components/ui/tabs.js.map +1 -1
  79. package/dist/components/ui/textarea.js +2 -2
  80. package/dist/components/ui/textarea.js.map +1 -1
  81. package/dist/components/ui/toast.js +7 -7
  82. package/dist/components/ui/toast.js.map +1 -1
  83. package/dist/components/ui/toggle-group.js +3 -3
  84. package/dist/components/ui/toggle-group.js.map +1 -1
  85. package/dist/components/ui/toggle.js +2 -2
  86. package/dist/components/ui/toggle.js.map +1 -1
  87. package/dist/components/ui/tooltip.js +3 -3
  88. package/dist/components/ui/tooltip.js.map +1 -1
  89. package/dist/components/ui/typography.d.ts +1 -1
  90. package/dist/components/ui/typography.js +2 -2
  91. package/dist/components/ui/typography.js.map +1 -1
  92. package/dist/esm/components/brand-icons.js.map +1 -1
  93. package/dist/esm/components/copy-button.d.ts +1 -1
  94. package/dist/esm/components/copy-button.js.map +1 -1
  95. package/dist/esm/components/data-table/data-table.js.map +1 -1
  96. package/dist/esm/components/data-table/toolbar.js.map +1 -1
  97. package/dist/esm/components/ui/accordion.js.map +1 -1
  98. package/dist/esm/components/ui/alert.js.map +1 -1
  99. package/dist/esm/components/ui/avatar.js.map +1 -1
  100. package/dist/esm/components/ui/badge.d.ts +2 -2
  101. package/dist/esm/components/ui/badge.js.map +1 -1
  102. package/dist/esm/components/ui/breadcrumb.js.map +1 -1
  103. package/dist/esm/components/ui/button.d.ts +2 -2
  104. package/dist/esm/components/ui/button.js.map +1 -1
  105. package/dist/esm/components/ui/card.js.map +1 -1
  106. package/dist/esm/components/ui/checkbox.js.map +1 -1
  107. package/dist/esm/components/ui/command.js.map +1 -1
  108. package/dist/esm/components/ui/context-menu.js.map +1 -1
  109. package/dist/esm/components/ui/dialog.js.map +1 -1
  110. package/dist/esm/components/ui/dropdown-menu.js.map +1 -1
  111. package/dist/esm/components/ui/form.js.map +1 -1
  112. package/dist/esm/components/ui/hover-card.js.map +1 -1
  113. package/dist/esm/components/ui/inline-code.js.map +1 -1
  114. package/dist/esm/components/ui/input-otp.js.map +1 -1
  115. package/dist/esm/components/ui/input.js.map +1 -1
  116. package/dist/esm/components/ui/label.js.map +1 -1
  117. package/dist/esm/components/ui/menubar.js.map +1 -1
  118. package/dist/esm/components/ui/navigation-menu.js.map +1 -1
  119. package/dist/esm/components/ui/password-input.js.map +1 -1
  120. package/dist/esm/components/ui/popover.js.map +1 -1
  121. package/dist/esm/components/ui/progress.js.map +1 -1
  122. package/dist/esm/components/ui/radio-group.js.map +1 -1
  123. package/dist/esm/components/ui/resizable.d.ts +1 -1
  124. package/dist/esm/components/ui/resizable.d.ts.map +1 -1
  125. package/dist/esm/components/ui/scroll-area.js.map +1 -1
  126. package/dist/esm/components/ui/select.js.map +1 -1
  127. package/dist/esm/components/ui/separator.js.map +1 -1
  128. package/dist/esm/components/ui/sheet.js.map +1 -1
  129. package/dist/esm/components/ui/slider.js.map +1 -1
  130. package/dist/esm/components/ui/spinner.js.map +1 -1
  131. package/dist/esm/components/ui/switch.js.map +1 -1
  132. package/dist/esm/components/ui/table.js.map +1 -1
  133. package/dist/esm/components/ui/tabs.js.map +1 -1
  134. package/dist/esm/components/ui/textarea.js.map +1 -1
  135. package/dist/esm/components/ui/toast.js.map +1 -1
  136. package/dist/esm/components/ui/toggle-group.js.map +1 -1
  137. package/dist/esm/components/ui/toggle.js.map +1 -1
  138. package/dist/esm/components/ui/tooltip.js.map +1 -1
  139. package/dist/esm/components/ui/typography.d.ts +1 -1
  140. package/dist/esm/components/ui/typography.js.map +1 -1
  141. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"toast.js","names":[],"sources":["../../../../src/components/ui/toast.tsx"],"sourcesContent":["'use client';\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@stackframe/stack-shared/dist/utils/react\";\nimport { Cross2Icon } from \"@radix-ui/react-icons\";\nimport * as ToastPrimitives from \"@radix-ui/react-toast\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst ToastProvider = ToastPrimitives.Provider;\n\nconst ToastViewport = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Viewport>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Viewport\n ref={ref}\n className={cn(\n \"stack-scope fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]\",\n className\n )}\n {...props}\n />\n));\nToastViewport.displayName = ToastPrimitives.Viewport.displayName;\n\nconst toastVariants = cva(\n \"stack-scope group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full\",\n {\n variants: {\n variant: {\n default:\n \"border border-border bg-background text-foreground shadow-lg dark:border-gray-600 dark:bg-gray-800 dark:text-foreground\",\n destructive:\n 'destructive group border-destructive bg-destructive text-destructive-foreground',\n success:\n 'success group border-success bg-success text-success-foreground',\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n);\n\nconst Toast = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Root>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &\n VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => {\n return (\n <ToastPrimitives.Root\n ref={ref}\n className={cn(toastVariants({ variant }), className)}\n {...props}\n />\n );\n});\nToast.displayName = ToastPrimitives.Root.displayName;\n\nconst ToastAction = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Action>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Action\n ref={ref}\n className={cn(\n \"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive\",\n className\n )}\n {...props}\n />\n));\nToastAction.displayName = ToastPrimitives.Action.displayName;\n\nconst ToastClose = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Close>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Close\n ref={ref}\n className={cn(\n 'absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100',\n 'group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600',\n 'group-[.success]:text-green-300 group-[.success]:hover:text-green-50 group-[.success]:focus:ring-green-400 group-[.success]:focus:ring-offset-green-600',\n className\n )}\n toast-close=''\n {...props}\n >\n <Cross2Icon className=\"h-4 w-4\" />\n </ToastPrimitives.Close>\n));\nToastClose.displayName = ToastPrimitives.Close.displayName;\n\nconst ToastTitle = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Title>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Title\n ref={ref}\n className={cn(\"text-sm font-semibold [&+div]:text-xs\", className)}\n {...props}\n />\n));\nToastTitle.displayName = ToastPrimitives.Title.displayName;\n\nconst ToastDescription = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Description>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Description\n ref={ref}\n className={cn(\"text-sm opacity-90\", className)}\n {...props}\n />\n));\nToastDescription.displayName = ToastPrimitives.Description.displayName;\n\ntype ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;\n\ntype ToastActionElement = React.ReactElement<typeof ToastAction>;\n\nexport {\n type ToastProps,\n type ToastActionElement,\n ToastProvider,\n ToastViewport,\n Toast,\n ToastTitle,\n ToastDescription,\n ToastClose,\n ToastAction,\n};\n"],"mappings":";;;;;;;;;;;AAUA,MAAM,gBAAgB,gBAAgB;AAEtC,MAAM,gBAAgB,oBAGnB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GACT,iJACA,UACD;CACD,GAAI;EACJ,CACF;AACF,cAAc,cAAc,gBAAgB,SAAS;AAErD,MAAM,gBAAgB,IACpB,ymBACA;CACE,UAAU,EACR,SAAS;EACP,SACE;EACF,aACE;EACF,SACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,MAAM,QAAQ,oBAIX,EAAE,WAAW,SAAS,GAAG,SAAS,QAAQ;AAC3C,QACE,oBAAC,gBAAgB;EACV;EACL,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAI;GACJ;EAEJ;AACF,MAAM,cAAc,gBAAgB,KAAK;AAEzC,MAAM,cAAc,oBAGjB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GACT,2dACA,UACD;CACD,GAAI;EACJ,CACF;AACF,YAAY,cAAc,gBAAgB,OAAO;AAEjD,MAAM,aAAa,oBAGhB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GACT,yLACA,mKACA,2JACA,UACD;CACD,eAAY;CACZ,GAAI;WAEJ,oBAAC,cAAW,WAAU,YAAY;EACZ,CACxB;AACF,WAAW,cAAc,gBAAgB,MAAM;AAE/C,MAAM,aAAa,oBAGhB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GAAG,yCAAyC,UAAU;CACjE,GAAI;EACJ,CACF;AACF,WAAW,cAAc,gBAAgB,MAAM;AAE/C,MAAM,mBAAmB,oBAGtB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GAAG,sBAAsB,UAAU;CAC9C,GAAI;EACJ,CACF;AACF,iBAAiB,cAAc,gBAAgB,YAAY"}
1
+ {"version":3,"file":"toast.js","names":[],"sources":["../../../../src/components/ui/toast.tsx"],"sourcesContent":["'use client';\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { Cross2Icon } from \"@radix-ui/react-icons\";\nimport * as ToastPrimitives from \"@radix-ui/react-toast\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst ToastProvider = ToastPrimitives.Provider;\n\nconst ToastViewport = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Viewport>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Viewport\n ref={ref}\n className={cn(\n \"stack-scope fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]\",\n className\n )}\n {...props}\n />\n));\nToastViewport.displayName = ToastPrimitives.Viewport.displayName;\n\nconst toastVariants = cva(\n \"stack-scope group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full\",\n {\n variants: {\n variant: {\n default:\n \"border border-border bg-background text-foreground shadow-lg dark:border-gray-600 dark:bg-gray-800 dark:text-foreground\",\n destructive:\n 'destructive group border-destructive bg-destructive text-destructive-foreground',\n success:\n 'success group border-success bg-success text-success-foreground',\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n);\n\nconst Toast = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Root>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> &\n VariantProps<typeof toastVariants>\n>(({ className, variant, ...props }, ref) => {\n return (\n <ToastPrimitives.Root\n ref={ref}\n className={cn(toastVariants({ variant }), className)}\n {...props}\n />\n );\n});\nToast.displayName = ToastPrimitives.Root.displayName;\n\nconst ToastAction = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Action>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Action\n ref={ref}\n className={cn(\n \"inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive\",\n className\n )}\n {...props}\n />\n));\nToastAction.displayName = ToastPrimitives.Action.displayName;\n\nconst ToastClose = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Close>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Close\n ref={ref}\n className={cn(\n 'absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100',\n 'group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600',\n 'group-[.success]:text-green-300 group-[.success]:hover:text-green-50 group-[.success]:focus:ring-green-400 group-[.success]:focus:ring-offset-green-600',\n className\n )}\n toast-close=''\n {...props}\n >\n <Cross2Icon className=\"h-4 w-4\" />\n </ToastPrimitives.Close>\n));\nToastClose.displayName = ToastPrimitives.Close.displayName;\n\nconst ToastTitle = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Title>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Title\n ref={ref}\n className={cn(\"text-sm font-semibold [&+div]:text-xs\", className)}\n {...props}\n />\n));\nToastTitle.displayName = ToastPrimitives.Title.displayName;\n\nconst ToastDescription = forwardRefIfNeeded<\n React.ElementRef<typeof ToastPrimitives.Description>,\n React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>\n>(({ className, ...props }, ref) => (\n <ToastPrimitives.Description\n ref={ref}\n className={cn(\"text-sm opacity-90\", className)}\n {...props}\n />\n));\nToastDescription.displayName = ToastPrimitives.Description.displayName;\n\ntype ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;\n\ntype ToastActionElement = React.ReactElement<typeof ToastAction>;\n\nexport {\n type ToastProps,\n type ToastActionElement,\n ToastProvider,\n ToastViewport,\n Toast,\n ToastTitle,\n ToastDescription,\n ToastClose,\n ToastAction,\n};\n"],"mappings":";;;;;;;;;;;AAUA,MAAM,gBAAgB,gBAAgB;AAEtC,MAAM,gBAAgB,oBAGnB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GACT,iJACA,UACD;CACD,GAAI;EACJ,CACF;AACF,cAAc,cAAc,gBAAgB,SAAS;AAErD,MAAM,gBAAgB,IACpB,ymBACA;CACE,UAAU,EACR,SAAS;EACP,SACE;EACF,aACE;EACF,SACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,MAAM,QAAQ,oBAIX,EAAE,WAAW,SAAS,GAAG,SAAS,QAAQ;AAC3C,QACE,oBAAC,gBAAgB;EACV;EACL,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAI;GACJ;EAEJ;AACF,MAAM,cAAc,gBAAgB,KAAK;AAEzC,MAAM,cAAc,oBAGjB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GACT,2dACA,UACD;CACD,GAAI;EACJ,CACF;AACF,YAAY,cAAc,gBAAgB,OAAO;AAEjD,MAAM,aAAa,oBAGhB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GACT,yLACA,mKACA,2JACA,UACD;CACD,eAAY;CACZ,GAAI;WAEJ,oBAAC,cAAW,WAAU,YAAY;EACZ,CACxB;AACF,WAAW,cAAc,gBAAgB,MAAM;AAE/C,MAAM,aAAa,oBAGhB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GAAG,yCAAyC,UAAU;CACjE,GAAI;EACJ,CACF;AACF,WAAW,cAAc,gBAAgB,MAAM;AAE/C,MAAM,mBAAmB,oBAGtB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB;CACV;CACL,WAAW,GAAG,sBAAsB,UAAU;CAC9C,GAAI;EACJ,CACF;AACF,iBAAiB,cAAc,gBAAgB,YAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-group.js","names":[],"sources":["../../../../src/components/ui/toggle-group.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@stackframe/stack-shared/dist/utils/react\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\nimport { toggleVariants } from \"./toggle\";\n\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({\n size: \"default\",\n variant: \"default\",\n});\n\nconst ToggleGroup = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center justify-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n>(({ className, children, variant, size, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size,\n }),\n className\n )}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"mappings":";;;;;;;;;;AAUA,MAAM,qBAAqB,MAAM,cAE/B;CACA,MAAM;CACN,SAAS;CACV,CAAC;AAEF,MAAM,cAAc,oBAIjB,EAAE,WAAW,SAAS,MAAM,UAAU,GAAG,SAAS,QACnD,oBAAC,qBAAqB;CACf;CACL,WAAW,GAAG,0CAA0C,UAAU;CAClE,GAAI;WAEJ,oBAAC,mBAAmB;EAAS,OAAO;GAAE;GAAS;GAAM;EAClD;GAC2B;EACJ,CAC5B;AAEF,YAAY,cAAc,qBAAqB,KAAK;AAEpD,MAAM,kBAAkB,oBAIrB,EAAE,WAAW,UAAU,SAAS,MAAM,GAAG,SAAS,QAAQ;CAC3D,MAAM,UAAU,MAAM,WAAW,mBAAmB;AAEpD,QACE,oBAAC,qBAAqB;EACf;EACL,WAAW,GACT,eAAe;GACb,SAAS,QAAQ,WAAW;GAC5B,MAAM,QAAQ,QAAQ;GACvB,CAAC,EACF,UACD;EACD,GAAI;EAEH;GACyB;EAE9B;AAEF,gBAAgB,cAAc,qBAAqB,KAAK"}
1
+ {"version":3,"file":"toggle-group.js","names":[],"sources":["../../../../src/components/ui/toggle-group.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\nimport { toggleVariants } from \"./toggle\";\n\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({\n size: \"default\",\n variant: \"default\",\n});\n\nconst ToggleGroup = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center justify-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n>(({ className, children, variant, size, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size,\n }),\n className\n )}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"mappings":";;;;;;;;;;AAUA,MAAM,qBAAqB,MAAM,cAE/B;CACA,MAAM;CACN,SAAS;CACV,CAAC;AAEF,MAAM,cAAc,oBAIjB,EAAE,WAAW,SAAS,MAAM,UAAU,GAAG,SAAS,QACnD,oBAAC,qBAAqB;CACf;CACL,WAAW,GAAG,0CAA0C,UAAU;CAClE,GAAI;WAEJ,oBAAC,mBAAmB;EAAS,OAAO;GAAE;GAAS;GAAM;EAClD;GAC2B;EACJ,CAC5B;AAEF,YAAY,cAAc,qBAAqB,KAAK;AAEpD,MAAM,kBAAkB,oBAIrB,EAAE,WAAW,UAAU,SAAS,MAAM,GAAG,SAAS,QAAQ;CAC3D,MAAM,UAAU,MAAM,WAAW,mBAAmB;AAEpD,QACE,oBAAC,qBAAqB;EACf;EACL,WAAW,GACT,eAAe;GACb,SAAS,QAAQ,WAAW;GAC5B,MAAM,QAAQ,QAAQ;GACvB,CAAC,EACF,UACD;EACD,GAAI;EAEH;GACyB;EAE9B;AAEF,gBAAgB,cAAc,qBAAqB,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.js","names":[],"sources":["../../../../src/components/ui/toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@stackframe/stack-shared/dist/utils/react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst toggleVariants = cva(\n \"stack-scope inline-flex items-center justify-center rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n },\n size: {\n default: \"h-9 px-3\",\n sm: \"h-8 px-2\",\n lg: \"h-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nconst Toggle = forwardRefIfNeeded<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, className }))}\n {...props}\n />\n));\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle, toggleVariants };\n"],"mappings":";;;;;;;;;;AASA,MAAM,iBAAiB,IACrB,2TACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,SACE;GACH;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,MAAM,SAAS,oBAIZ,EAAE,WAAW,SAAS,MAAM,GAAG,SAAS,QACzC,oBAAC,gBAAgB;CACV;CACL,WAAW,GAAG,eAAe;EAAE;EAAS;EAAM;EAAW,CAAC,CAAC;CAC3D,GAAI;EACJ,CACF;AAEF,OAAO,cAAc,gBAAgB,KAAK"}
1
+ {"version":3,"file":"toggle.js","names":[],"sources":["../../../../src/components/ui/toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst toggleVariants = cva(\n \"stack-scope inline-flex items-center justify-center rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n },\n size: {\n default: \"h-9 px-3\",\n sm: \"h-8 px-2\",\n lg: \"h-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nconst Toggle = forwardRefIfNeeded<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, className }))}\n {...props}\n />\n));\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle, toggleVariants };\n"],"mappings":";;;;;;;;;;AASA,MAAM,iBAAiB,IACrB,2TACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,SACE;GACH;EACD,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CACF;AAED,MAAM,SAAS,oBAIZ,EAAE,WAAW,SAAS,MAAM,GAAG,SAAS,QACzC,oBAAC,gBAAgB;CACV;CACL,WAAW,GAAG,eAAe;EAAE;EAAS;EAAM;EAAW,CAAC,CAAC;CAC3D,GAAI;EACJ,CACF;AAEF,OAAO,cAAc,gBAAgB,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","names":[],"sources":["../../../../src/components/ui/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@stackframe/stack-shared/dist/utils/react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst TooltipProvider = forwardRefIfNeeded<\n void,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>\n>((props, ref) => (\n <TooltipPrimitive.Provider\n delayDuration={0}\n {...props}\n />\n));\nTooltipProvider.displayName = TooltipPrimitive.Provider.displayName;\n\nconst Tooltip = TooltipPrimitive.Root;\n\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\nconst TooltipContent = forwardRefIfNeeded<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"stack-scope z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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\",\n className\n )}\n {...props}\n />\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"mappings":";;;;;;;;;AAQA,MAAM,kBAAkB,oBAGrB,OAAO,QACR,oBAAC,iBAAiB;CAChB,eAAe;CACf,GAAI;EACJ,CACF;AACF,gBAAgB,cAAc,iBAAiB,SAAS;AAExD,MAAM,UAAU,iBAAiB;AAEjC,MAAM,iBAAiB,iBAAiB;AAExC,MAAM,iBAAiB,oBAGpB,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1C,oBAAC,iBAAiB;CACX;CACO;CACZ,WAAW,GACT,iYACA,UACD;CACD,GAAI;EACJ,CACF;AACF,eAAe,cAAc,iBAAiB,QAAQ"}
1
+ {"version":3,"file":"tooltip.js","names":[],"sources":["../../../../src/components/ui/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst TooltipProvider = forwardRefIfNeeded<\n void,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>\n>((props, ref) => (\n <TooltipPrimitive.Provider\n delayDuration={0}\n {...props}\n />\n));\nTooltipProvider.displayName = TooltipPrimitive.Provider.displayName;\n\nconst Tooltip = TooltipPrimitive.Root;\n\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\nconst TooltipContent = forwardRefIfNeeded<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"stack-scope z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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\",\n className\n )}\n {...props}\n />\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"mappings":";;;;;;;;;AAQA,MAAM,kBAAkB,oBAGrB,OAAO,QACR,oBAAC,iBAAiB;CAChB,eAAe;CACf,GAAI;EACJ,CACF;AACF,gBAAgB,cAAc,iBAAiB,SAAS;AAExD,MAAM,UAAU,iBAAiB;AAEjC,MAAM,iBAAiB,iBAAiB;AAExC,MAAM,iBAAiB,oBAGpB,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1C,oBAAC,iBAAiB;CACX;CACO;CACZ,WAAW,GACT,iYACA,UACD;CACD,GAAI;EACJ,CACF;AACF,eAAe,cAAc,iBAAiB,QAAQ"}
@@ -5,7 +5,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
5
5
  //#region src/components/ui/typography.d.ts
6
6
  declare const Typography: React.FC<React.HTMLAttributes<HTMLHeadingElement> & VariantProps<(props?: ({
7
7
  type?: "div" | "h1" | "h2" | "h3" | "h4" | "label" | "p" | "footnote" | null | undefined;
8
- variant?: "destructive" | "secondary" | "success" | "primary" | null | undefined;
8
+ variant?: "secondary" | "destructive" | "success" | "primary" | null | undefined;
9
9
  } & class_variance_authority_types0.ClassProp) | undefined) => string> & {
10
10
  ref?: React.Ref<HTMLHeadingElement> | undefined;
11
11
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","names":[],"sources":["../../../../src/components/ui/typography.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@stackframe/stack-shared/dist/utils/react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\nconst typographyVariants = cva(\"stack-scope text-md\", {\n variants: {\n type: {\n h1: \"text-3xl font-bold\",\n h2: \"text-2xl font-semibold\",\n h3: \"text-xl font-medium\",\n h4: \"text-lg font-medium\",\n p: \"text-md\",\n label: \"text-sm\",\n footnote: \"text-xs\",\n div: \"text-md\",\n },\n variant: {\n primary: \"text-black dark:text-white\",\n secondary: \"text-zinc-600 dark:text-zinc-400\",\n destructive: \"text-destructive\",\n success: \"text-green-500\",\n },\n },\n defaultVariants: {\n type: \"p\",\n variant: \"primary\",\n },\n});\n\ntype TypographyProps = {} & React.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof typographyVariants>\n\nconst Typography = forwardRefIfNeeded<HTMLHeadingElement, TypographyProps>(\n ({ className, type, variant, ...props }, ref) => {\n const Comp = (type === 'footnote' || type === 'label' ? 'p' : type) || 'p';\n return (\n <Comp\n className={cn(typographyVariants({ type, variant, className }))}\n ref={ref}\n {...props}\n />\n );\n },\n);\nTypography.displayName = \"Typography\";\n\nexport { Typography };\n"],"mappings":";;;;;;;AAKA,MAAM,qBAAqB,IAAI,uBAAuB;CACpD,UAAU;EACR,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,GAAG;GACH,OAAO;GACP,UAAU;GACV,KAAK;GACN;EACD,SAAS;GACP,SAAS;GACT,WAAW;GACX,aAAa;GACb,SAAS;GACV;EACF;CACD,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;CACF,CAAC;AAIF,MAAM,aAAa,oBAChB,EAAE,WAAW,MAAM,SAAS,GAAG,SAAS,QAAQ;AAE/C,QACE,qBAFY,SAAS,cAAc,SAAS,UAAU,MAAM,SAAS;EAGnE,WAAW,GAAG,mBAAmB;GAAE;GAAM;GAAS;GAAW,CAAC,CAAC;EAC1D;EACL,GAAI;GACJ;EAGP;AACD,WAAW,cAAc"}
1
+ {"version":3,"file":"typography.js","names":[],"sources":["../../../../src/components/ui/typography.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\nconst typographyVariants = cva(\"stack-scope text-md\", {\n variants: {\n type: {\n h1: \"text-3xl font-bold\",\n h2: \"text-2xl font-semibold\",\n h3: \"text-xl font-medium\",\n h4: \"text-lg font-medium\",\n p: \"text-md\",\n label: \"text-sm\",\n footnote: \"text-xs\",\n div: \"text-md\",\n },\n variant: {\n primary: \"text-black dark:text-white\",\n secondary: \"text-zinc-600 dark:text-zinc-400\",\n destructive: \"text-destructive\",\n success: \"text-green-500\",\n },\n },\n defaultVariants: {\n type: \"p\",\n variant: \"primary\",\n },\n});\n\ntype TypographyProps = {} & React.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof typographyVariants>\n\nconst Typography = forwardRefIfNeeded<HTMLHeadingElement, TypographyProps>(\n ({ className, type, variant, ...props }, ref) => {\n const Comp = (type === 'footnote' || type === 'label' ? 'p' : type) || 'p';\n return (\n <Comp\n className={cn(typographyVariants({ type, variant, className }))}\n ref={ref}\n {...props}\n />\n );\n },\n);\nTypography.displayName = \"Typography\";\n\nexport { Typography };\n"],"mappings":";;;;;;;AAKA,MAAM,qBAAqB,IAAI,uBAAuB;CACpD,UAAU;EACR,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,GAAG;GACH,OAAO;GACP,UAAU;GACV,KAAK;GACN;EACD,SAAS;GACP,SAAS;GACT,WAAW;GACX,aAAa;GACb,SAAS;GACV;EACF;CACD,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;CACF,CAAC;AAIF,MAAM,aAAa,oBAChB,EAAE,WAAW,MAAM,SAAS,GAAG,SAAS,QAAQ;AAE/C,QACE,qBAFY,SAAS,cAAc,SAAS,UAAU,MAAM,SAAS;EAGnE,WAAW,GAAG,mBAAmB;GAAE;GAAM;GAAS;GAAW,CAAC,CAAC;EAC1D;EACL,GAAI;GACJ;EAGP;AACD,WAAW,cAAc"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -70,7 +70,6 @@
70
70
  "@radix-ui/react-toggle": "^1.1.0",
71
71
  "@radix-ui/react-toggle-group": "^1.1.0",
72
72
  "@radix-ui/react-tooltip": "^1.1.3",
73
- "@hexclave/shared": "1.0.0",
74
73
  "@tanstack/react-table": "^8.20.5",
75
74
  "class-variance-authority": "^0.7.0",
76
75
  "clsx": "^2.1.1",
@@ -82,7 +81,8 @@
82
81
  "react-day-picker": "^9.6.7",
83
82
  "react-hook-form": "^7.53.1",
84
83
  "react-resizable-panels": "^2.1.6",
85
- "tailwind-merge": "^2.5.4"
84
+ "tailwind-merge": "^2.5.4",
85
+ "@hexclave/shared": "1.0.1"
86
86
  },
87
87
  "devDependencies": {
88
88
  "@types/react": "^19.0.0",