@codefast/ui 0.0.69 → 0.0.71

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 (182) hide show
  1. package/dist/{chunk-3COHZ24E.cjs → chunk-4OVSEUWU.cjs} +2 -2
  2. package/dist/chunk-4OVSEUWU.cjs.map +1 -0
  3. package/dist/chunk-5RJANBDJ.cjs.map +1 -1
  4. package/dist/{chunk-T3G5USVY.cjs → chunk-7A3KHJJC.cjs} +1 -1
  5. package/dist/chunk-7A3KHJJC.cjs.map +1 -0
  6. package/dist/{chunk-WKKCZQNO.cjs → chunk-AZBLH63J.cjs} +2 -2
  7. package/dist/chunk-AZBLH63J.cjs.map +1 -0
  8. package/dist/{chunk-AVEDWLNQ.js → chunk-E3N5D7SZ.js} +2 -2
  9. package/dist/chunk-E3N5D7SZ.js.map +1 -0
  10. package/dist/{chunk-WQFHFTYS.js → chunk-EAV2D4D7.js} +1 -1
  11. package/dist/chunk-EAV2D4D7.js.map +1 -0
  12. package/dist/{chunk-LOJBMYTH.cjs → chunk-EIQS2H2C.cjs} +1 -1
  13. package/dist/chunk-EIQS2H2C.cjs.map +1 -0
  14. package/dist/chunk-EW7DAPDC.cjs.map +1 -1
  15. package/dist/{chunk-4MTN7WZ2.cjs → chunk-FXS5BSTC.cjs} +1 -1
  16. package/dist/chunk-FXS5BSTC.cjs.map +1 -0
  17. package/dist/{chunk-JMM2MTPI.cjs → chunk-HHCUGAQW.cjs} +1 -1
  18. package/dist/chunk-HHCUGAQW.cjs.map +1 -0
  19. package/dist/{chunk-RBP4PBCK.js → chunk-LGVR62JW.js} +1 -1
  20. package/dist/chunk-LGVR62JW.js.map +1 -0
  21. package/dist/{chunk-VDVLCSO4.js → chunk-MH6I6OV5.js} +2 -2
  22. package/dist/chunk-MH6I6OV5.js.map +1 -0
  23. package/dist/chunk-NU6SK3FC.cjs.map +1 -1
  24. package/dist/{chunk-HDHZESSG.js → chunk-S5JZF45Z.js} +1 -1
  25. package/dist/chunk-S5JZF45Z.js.map +1 -0
  26. package/dist/{chunk-JNOLIDCD.js → chunk-UIYLYEVW.js} +1 -1
  27. package/dist/chunk-UIYLYEVW.js.map +1 -0
  28. package/dist/{chunk-5QETIFO4.js → chunk-WSAUKCX6.js} +1 -1
  29. package/dist/chunk-WSAUKCX6.js.map +1 -0
  30. package/dist/{chunk-6UQKMUZG.cjs → chunk-Z35GXHKF.cjs} +1 -1
  31. package/dist/{chunk-6UQKMUZG.cjs.map → chunk-Z35GXHKF.cjs.map} +1 -1
  32. package/dist/lib/utils.cjs.map +1 -1
  33. package/dist/react/accordion.cjs.map +1 -1
  34. package/dist/react/accordion.js.map +1 -1
  35. package/dist/react/alert-dialog.cjs +1 -1
  36. package/dist/react/alert-dialog.cjs.map +1 -1
  37. package/dist/react/alert-dialog.js +1 -1
  38. package/dist/react/alert-dialog.js.map +1 -1
  39. package/dist/react/alert.cjs.map +1 -1
  40. package/dist/react/alert.js.map +1 -1
  41. package/dist/react/aspect-ratio.cjs.map +1 -1
  42. package/dist/react/avatar.cjs.map +1 -1
  43. package/dist/react/avatar.js.map +1 -1
  44. package/dist/react/badge.cjs.map +1 -1
  45. package/dist/react/blockquote.cjs.map +1 -1
  46. package/dist/react/box.cjs.map +1 -1
  47. package/dist/react/breadcrumb.cjs.map +1 -1
  48. package/dist/react/breadcrumb.js.map +1 -1
  49. package/dist/react/button.cjs +1 -1
  50. package/dist/react/button.cjs.map +1 -1
  51. package/dist/react/button.js +1 -1
  52. package/dist/react/calendar.cjs +1 -1
  53. package/dist/react/calendar.cjs.map +1 -1
  54. package/dist/react/calendar.js +1 -1
  55. package/dist/react/calendar.js.map +1 -1
  56. package/dist/react/card.cjs.map +1 -1
  57. package/dist/react/card.js.map +1 -1
  58. package/dist/react/carousel.cjs +1 -1
  59. package/dist/react/carousel.cjs.map +1 -1
  60. package/dist/react/carousel.js +1 -1
  61. package/dist/react/carousel.js.map +1 -1
  62. package/dist/react/checkbox-cards.cjs.map +1 -1
  63. package/dist/react/checkbox-cards.js.map +1 -1
  64. package/dist/react/checkbox-group.cjs.map +1 -1
  65. package/dist/react/checkbox-group.js.map +1 -1
  66. package/dist/react/checkbox-group.primitive.cjs.map +1 -1
  67. package/dist/react/checkbox.cjs.map +1 -1
  68. package/dist/react/checkbox.js.map +1 -1
  69. package/dist/react/code.cjs.map +1 -1
  70. package/dist/react/collapsible.cjs.map +1 -1
  71. package/dist/react/collapsible.js.map +1 -1
  72. package/dist/react/command.cjs +1 -1
  73. package/dist/react/command.cjs.map +1 -1
  74. package/dist/react/command.js +1 -1
  75. package/dist/react/command.js.map +1 -1
  76. package/dist/react/container.cjs.map +1 -1
  77. package/dist/react/container.js.map +1 -1
  78. package/dist/react/context-menu.cjs.map +1 -1
  79. package/dist/react/context-menu.js.map +1 -1
  80. package/dist/react/data-table.cjs +1 -1
  81. package/dist/react/data-table.cjs.map +1 -1
  82. package/dist/react/data-table.js +1 -1
  83. package/dist/react/data-table.js.map +1 -1
  84. package/dist/react/dialog.cjs +1 -1
  85. package/dist/react/dialog.cjs.map +1 -1
  86. package/dist/react/dialog.js +1 -1
  87. package/dist/react/drawer.cjs.map +1 -1
  88. package/dist/react/drawer.js.map +1 -1
  89. package/dist/react/dropdown-menu.cjs +1 -1
  90. package/dist/react/dropdown-menu.cjs.map +1 -1
  91. package/dist/react/dropdown-menu.js +1 -1
  92. package/dist/react/em.cjs.map +1 -1
  93. package/dist/react/form.cjs +1 -1
  94. package/dist/react/form.cjs.map +1 -1
  95. package/dist/react/form.js +1 -1
  96. package/dist/react/form.js.map +1 -1
  97. package/dist/react/heading.cjs.map +1 -1
  98. package/dist/react/hover-card.cjs.map +1 -1
  99. package/dist/react/hover-card.js.map +1 -1
  100. package/dist/react/input-otp.cjs.map +1 -1
  101. package/dist/react/input-otp.js.map +1 -1
  102. package/dist/react/input.cjs +1 -1
  103. package/dist/react/input.cjs.map +1 -1
  104. package/dist/react/input.js +1 -1
  105. package/dist/react/kbd.cjs.map +1 -1
  106. package/dist/react/kbd.js.map +1 -1
  107. package/dist/react/label.cjs +1 -1
  108. package/dist/react/label.cjs.map +1 -1
  109. package/dist/react/label.js +1 -1
  110. package/dist/react/menubar.cjs.map +1 -1
  111. package/dist/react/menubar.js.map +1 -1
  112. package/dist/react/navigation-menu.cjs.map +1 -1
  113. package/dist/react/navigation-menu.js.map +1 -1
  114. package/dist/react/pagination.cjs +1 -1
  115. package/dist/react/pagination.cjs.map +1 -1
  116. package/dist/react/pagination.js +1 -1
  117. package/dist/react/pagination.js.map +1 -1
  118. package/dist/react/popover.cjs.map +1 -1
  119. package/dist/react/popover.js.map +1 -1
  120. package/dist/react/pre.cjs.map +1 -1
  121. package/dist/react/progress.cjs.map +1 -1
  122. package/dist/react/progress.js.map +1 -1
  123. package/dist/react/quote.cjs.map +1 -1
  124. package/dist/react/radio-cards.cjs.map +1 -1
  125. package/dist/react/radio-cards.js.map +1 -1
  126. package/dist/react/radio-group.cjs.map +1 -1
  127. package/dist/react/radio-group.js.map +1 -1
  128. package/dist/react/radio.cjs.map +1 -1
  129. package/dist/react/radio.js.map +1 -1
  130. package/dist/react/resizable.cjs.map +1 -1
  131. package/dist/react/resizable.js.map +1 -1
  132. package/dist/react/scroll-area.cjs.map +1 -1
  133. package/dist/react/scroll-area.js.map +1 -1
  134. package/dist/react/section.cjs.map +1 -1
  135. package/dist/react/select.cjs +1 -1
  136. package/dist/react/select.cjs.map +1 -1
  137. package/dist/react/select.js +1 -1
  138. package/dist/react/separator.cjs.map +1 -1
  139. package/dist/react/separator.js.map +1 -1
  140. package/dist/react/sheet.cjs.map +1 -1
  141. package/dist/react/sheet.js.map +1 -1
  142. package/dist/react/skeleton.cjs.map +1 -1
  143. package/dist/react/skeleton.js.map +1 -1
  144. package/dist/react/slider.cjs.map +1 -1
  145. package/dist/react/slider.js.map +1 -1
  146. package/dist/react/sonner.cjs.map +1 -1
  147. package/dist/react/spinner.cjs +1 -1
  148. package/dist/react/spinner.cjs.map +1 -1
  149. package/dist/react/spinner.js +1 -1
  150. package/dist/react/strong.cjs.map +1 -1
  151. package/dist/react/switch.cjs.map +1 -1
  152. package/dist/react/switch.js.map +1 -1
  153. package/dist/react/table.cjs.map +1 -1
  154. package/dist/react/table.js.map +1 -1
  155. package/dist/react/tabs.cjs.map +1 -1
  156. package/dist/react/tabs.js.map +1 -1
  157. package/dist/react/text-input.cjs +1 -1
  158. package/dist/react/text-input.cjs.map +1 -1
  159. package/dist/react/text-input.js +1 -1
  160. package/dist/react/text-input.js.map +1 -1
  161. package/dist/react/text.cjs.map +1 -1
  162. package/dist/react/textarea.cjs.map +1 -1
  163. package/dist/react/textarea.js.map +1 -1
  164. package/dist/react/toggle-group.cjs.map +1 -1
  165. package/dist/react/toggle-group.js.map +1 -1
  166. package/dist/react/toggle.cjs.map +1 -1
  167. package/dist/react/tooltip.cjs.map +1 -1
  168. package/dist/react/tooltip.js.map +1 -1
  169. package/package.json +3 -3
  170. package/dist/chunk-3COHZ24E.cjs.map +0 -1
  171. package/dist/chunk-4MTN7WZ2.cjs.map +0 -1
  172. package/dist/chunk-5QETIFO4.js.map +0 -1
  173. package/dist/chunk-AVEDWLNQ.js.map +0 -1
  174. package/dist/chunk-HDHZESSG.js.map +0 -1
  175. package/dist/chunk-JMM2MTPI.cjs.map +0 -1
  176. package/dist/chunk-JNOLIDCD.js.map +0 -1
  177. package/dist/chunk-LOJBMYTH.cjs.map +0 -1
  178. package/dist/chunk-RBP4PBCK.js.map +0 -1
  179. package/dist/chunk-T3G5USVY.cjs.map +0 -1
  180. package/dist/chunk-VDVLCSO4.js.map +0 -1
  181. package/dist/chunk-WKKCZQNO.cjs.map +0 -1
  182. package/dist/chunk-WQFHFTYS.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/react/select.tsx"],"names":["React","CaretSortIcon","CheckIcon","ChevronDownIcon","ChevronUpIcon","SelectPrimitive","jsx","jsxs","Select","SelectGroup","SelectValue","SelectTrigger","children","className","props","forwardedRef","cn","SelectScrollUpButton","SelectScrollDownButton","SelectContent","position","SelectLabel","SelectItem","SelectSeparator"],"mappings":"yCAEA,UAAYA,MAAW,QACvB,OAAS,iBAAAC,EAAe,aAAAC,EAAW,mBAAAC,EAAiB,iBAAAC,MAAqB,wBACzE,UAAYC,MAAqB,yBAiC7B,OAUI,OAAAC,EAVJ,QAAAC,MAAA,oBAzBJ,IAAMC,EAAyB,OAOzBC,EAA8B,QAO9BC,EAA8B,QAS9BC,EAAsB,aAC1B,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCR,EAAiB,UAAhB,CACC,IAAKQ,EACL,UAAWC,EACT,gVACAH,CACF,EACC,GAAGC,EAEH,UAAAF,EACDN,EAAiB,OAAhB,CAAqB,QAAO,GAC3B,SAAAA,EAACL,EAAA,CAAc,UAAU,oBAAoB,EAC/C,GACF,CAEJ,EAEAU,EAAc,YAA8B,UAAQ,YASpD,IAAMM,EAA6B,aACjC,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAiB,iBAAhB,CACC,IAAKS,EACL,UAAWC,EAAG,uDAAwDH,CAAS,EAC9E,GAAGC,EAEJ,SAAAR,EAACF,EAAA,EAAc,EACjB,CAEJ,EAEAa,EAAqB,YAA8B,iBAAe,YASlE,IAAMC,EAA+B,aACnC,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAiB,mBAAhB,CACC,IAAKS,EACL,UAAWC,EAAG,uDAAwDH,CAAS,EAC9E,GAAGC,EAEJ,SAAAR,EAACH,EAAA,EAAgB,EACnB,CAEJ,EAEAe,EAAuB,YAA8B,mBAAiB,YAStE,IAAMC,EAAsB,aAC1B,CAAC,CAAE,SAAAP,EAAU,UAAAC,EAAW,SAAAO,EAAW,SAAU,GAAGN,CAAM,EAAGC,IACvDT,EAAiB,SAAhB,CACC,SAAAC,EAAiB,UAAhB,CACC,IAAKQ,EACL,UAAWC,EACT,8uBACAI,IAAa,UACX,kIACFP,CACF,EACA,SAAUO,EACT,GAAGN,EAEJ,UAAAR,EAACW,EAAA,EAAqB,EACtBX,EAAiB,WAAhB,CACC,UAAWU,EACT,MACAI,IAAa,UACX,yFACJ,EAEC,SAAAR,EACH,EACAN,EAACY,EAAA,EAAuB,GAC1B,EACF,CAEJ,EAEAC,EAAc,YAA8B,UAAQ,YASpD,IAAME,EAAoB,aAAiD,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACnGT,EAAiB,QAAhB,CAAsB,IAAKS,EAAc,UAAWC,EAAG,oCAAqCH,CAAS,EAAI,GAAGC,EAAO,CACrH,EAEDO,EAAY,YAA8B,QAAM,YAShD,IAAMC,EAAmB,aACvB,CAAC,CAAE,SAAAV,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCR,EAAiB,OAAhB,CACC,IAAKQ,EACL,UAAWC,EACT,8NACAH,CACF,EACC,GAAGC,EAEJ,UAAAR,EAAC,QAAK,UAAU,6DACd,SAAAA,EAAiB,gBAAhB,CACC,SAAAA,EAACJ,EAAA,CAAU,UAAU,SAAS,EAChC,EACF,EACAI,EAAiB,WAAhB,CAA0B,SAAAM,EAAS,GACtC,CAEJ,EAEAU,EAAW,YAA8B,OAAK,YAS9C,IAAMC,EAAwB,aAC5B,CAAC,CAAE,UAAAV,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAiB,YAAhB,CAA0B,IAAKS,EAAc,UAAWC,EAAG,2BAA4BH,CAAS,EAAI,GAAGC,EAAO,CAEnH,EAEAS,EAAgB,YAA8B,YAAU","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { CaretSortIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Select\n * -------------------------------------------------------------------------- */\n\ntype SelectProps = React.ComponentProps<typeof SelectPrimitive.Root>;\nconst Select = SelectPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectGroup\n * -------------------------------------------------------------------------- */\n\ntype SelectGroupProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Group>;\nconst SelectGroup = SelectPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectValue\n * -------------------------------------------------------------------------- */\n\ntype SelectValueProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>;\nconst SelectValue = SelectPrimitive.Value;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectTrigger\n * -------------------------------------------------------------------------- */\n\ntype SelectTriggerElement = React.ElementRef<typeof SelectPrimitive.Trigger>;\ntype SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;\n\nconst SelectTrigger = React.forwardRef<SelectTriggerElement, SelectTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <SelectPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'border-input placeholder:text-muted-foreground flex h-10 w-full items-center justify-between gap-2 whitespace-nowrap rounded-md border bg-transparent px-3 text-sm shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-default disabled:opacity-50 [&>span]:line-clamp-1 [&>span]:truncate',\n className,\n )}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <CaretSortIcon className=\"size-4 opacity-50\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n ),\n);\n\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollUpButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollUpButtonElement = React.ElementRef<typeof SelectPrimitive.ScrollUpButton>;\ntype SelectScrollUpButtonProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>;\n\nconst SelectScrollUpButton = React.forwardRef<SelectScrollUpButtonElement, SelectScrollUpButtonProps>(\n ({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.ScrollUpButton\n ref={forwardedRef}\n className={cn('flex cursor-pointer items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUpIcon />\n </SelectPrimitive.ScrollUpButton>\n ),\n);\n\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollDownButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollDownButtonElement = React.ElementRef<typeof SelectPrimitive.ScrollDownButton>;\ntype SelectScrollDownButtonProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>;\n\nconst SelectScrollDownButton = React.forwardRef<SelectScrollDownButtonElement, SelectScrollDownButtonProps>(\n ({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.ScrollDownButton\n ref={forwardedRef}\n className={cn('flex cursor-pointer items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDownIcon />\n </SelectPrimitive.ScrollDownButton>\n ),\n);\n\nSelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectContent\n * -------------------------------------------------------------------------- */\n\ntype SelectContentElement = React.ElementRef<typeof SelectPrimitive.Content>;\ntype SelectContentProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;\n\nconst SelectContent = React.forwardRef<SelectContentElement, SelectContentProps>(\n ({ children, className, position = 'popper', ...props }, forwardedRef) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 relative z-50 max-h-96 min-w-32 overflow-hidden 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)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n ),\n);\n\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectLabel\n * -------------------------------------------------------------------------- */\n\ntype SelectLabelElement = React.ElementRef<typeof SelectPrimitive.Label>;\ntype SelectLabelProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>;\n\nconst SelectLabel = React.forwardRef<SelectLabelElement, SelectLabelProps>(({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.Label ref={forwardedRef} className={cn('px-2 py-1.5 text-sm font-semibold', className)} {...props} />\n));\n\nSelectLabel.displayName = SelectPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectItem\n * -------------------------------------------------------------------------- */\n\ntype SelectItemElement = React.ElementRef<typeof SelectPrimitive.Item>;\ntype SelectItemProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>;\n\nconst SelectItem = React.forwardRef<SelectItemElement, SelectItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <SelectPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm focus:outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50',\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\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectSeparator\n * -------------------------------------------------------------------------- */\n\ntype SelectSeparatorElement = React.ElementRef<typeof SelectPrimitive.Separator>;\ntype SelectSeparatorProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>;\n\nconst SelectSeparator = React.forwardRef<SelectSeparatorElement, SelectSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.Separator ref={forwardedRef} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n ),\n);\n\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n type SelectProps,\n type SelectGroupProps,\n type SelectValueProps,\n type SelectTriggerProps,\n type SelectContentProps,\n type SelectLabelProps,\n type SelectItemProps,\n type SelectSeparatorProps,\n type SelectScrollUpButtonProps,\n type SelectScrollDownButtonProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-Z35GXHKF.cjs","../src/react/select.tsx"],"names":["Select","SelectGroup","SelectValue","SelectTrigger","children","className","props","forwardedRef","jsxs","cn","jsx","CaretSortIcon","SelectScrollUpButton","ChevronUpIcon","SelectScrollDownButton","ChevronDownIcon","SelectContent","position","SelectLabel","SelectItem","CheckIcon","SelectSeparator"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-Z35GXHKF.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { CaretSortIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Select\n * -------------------------------------------------------------------------- */\n\ntype SelectProps = React.ComponentProps<typeof SelectPrimitive.Root>;\nconst Select = SelectPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectGroup\n * -------------------------------------------------------------------------- */\n\ntype SelectGroupProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Group>;\nconst SelectGroup = SelectPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectValue\n * -------------------------------------------------------------------------- */\n\ntype SelectValueProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Value>;\nconst SelectValue = SelectPrimitive.Value;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectTrigger\n * -------------------------------------------------------------------------- */\n\ntype SelectTriggerElement = React.ElementRef<typeof SelectPrimitive.Trigger>;\ntype SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;\n\nconst SelectTrigger = React.forwardRef<SelectTriggerElement, SelectTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <SelectPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'border-input placeholder:text-muted-foreground flex h-10 w-full items-center justify-between gap-2 whitespace-nowrap rounded-md border bg-transparent px-3 text-sm shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-default disabled:opacity-50 [&>span]:line-clamp-1 [&>span]:truncate',\n className,\n )}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <CaretSortIcon className=\"size-4 opacity-50\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n ),\n);\n\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollUpButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollUpButtonElement = React.ElementRef<typeof SelectPrimitive.ScrollUpButton>;\ntype SelectScrollUpButtonProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>;\n\nconst SelectScrollUpButton = React.forwardRef<SelectScrollUpButtonElement, SelectScrollUpButtonProps>(\n ({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.ScrollUpButton\n ref={forwardedRef}\n className={cn('flex cursor-pointer items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUpIcon />\n </SelectPrimitive.ScrollUpButton>\n ),\n);\n\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectScrollDownButton\n * -------------------------------------------------------------------------- */\n\ntype SelectScrollDownButtonElement = React.ElementRef<typeof SelectPrimitive.ScrollDownButton>;\ntype SelectScrollDownButtonProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>;\n\nconst SelectScrollDownButton = React.forwardRef<SelectScrollDownButtonElement, SelectScrollDownButtonProps>(\n ({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.ScrollDownButton\n ref={forwardedRef}\n className={cn('flex cursor-pointer items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDownIcon />\n </SelectPrimitive.ScrollDownButton>\n ),\n);\n\nSelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectContent\n * -------------------------------------------------------------------------- */\n\ntype SelectContentElement = React.ElementRef<typeof SelectPrimitive.Content>;\ntype SelectContentProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;\n\nconst SelectContent = React.forwardRef<SelectContentElement, SelectContentProps>(\n ({ children, className, position = 'popper', ...props }, forwardedRef) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 relative z-50 max-h-96 min-w-32 overflow-hidden 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)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n ),\n);\n\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectLabel\n * -------------------------------------------------------------------------- */\n\ntype SelectLabelElement = React.ElementRef<typeof SelectPrimitive.Label>;\ntype SelectLabelProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>;\n\nconst SelectLabel = React.forwardRef<SelectLabelElement, SelectLabelProps>(({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.Label ref={forwardedRef} className={cn('px-2 py-1.5 text-sm font-semibold', className)} {...props} />\n));\n\nSelectLabel.displayName = SelectPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectItem\n * -------------------------------------------------------------------------- */\n\ntype SelectItemElement = React.ElementRef<typeof SelectPrimitive.Item>;\ntype SelectItemProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>;\n\nconst SelectItem = React.forwardRef<SelectItemElement, SelectItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <SelectPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm focus:outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50',\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\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SelectSeparator\n * -------------------------------------------------------------------------- */\n\ntype SelectSeparatorElement = React.ElementRef<typeof SelectPrimitive.Separator>;\ntype SelectSeparatorProps = React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>;\n\nconst SelectSeparator = React.forwardRef<SelectSeparatorElement, SelectSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <SelectPrimitive.Separator ref={forwardedRef} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n ),\n);\n\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n type SelectProps,\n type SelectGroupProps,\n type SelectValueProps,\n type SelectTriggerProps,\n type SelectContentProps,\n type SelectLabelProps,\n type SelectItemProps,\n type SelectSeparatorProps,\n type SelectScrollUpButtonProps,\n type SelectScrollDownButtonProps,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/lib/utils.cjs"],"names":[],"mappings":"AAAA,kIAAoC,iCAAgB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/lib/utils.cjs"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/accordion.tsx"],"names":["React","AccordionPrimitive","ChevronDownIcon","jsx","jsxs","Accordion","AccordionItem","className","props","forwardedRef","cn","AccordionTrigger","children","AccordionContent"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BACpC,OAAS,mBAAAC,MAAuB,wBAmB5B,cAAAC,EAgBE,QAAAC,MAhBF,oBAXJ,IAAMC,EAA+B,OAS/BC,EAAsB,aAC1B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAoB,OAAnB,CAAwB,IAAKM,EAAc,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CAEjG,EAEAF,EAAc,YAAiC,OAAK,YASpD,IAAMK,EAAyB,aAC7B,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,SAAnB,CAA0B,UAAU,OACnC,SAAAC,EAAoB,UAAnB,CACC,IAAKK,EACL,UAAWC,EAAG,0EAA2EH,CAAS,EACjG,GAAGC,EAEH,UAAAI,EACDT,EAACD,EAAA,CAAgB,UAAU,sFAAsF,GACnH,EACF,CAEJ,EAEAS,EAAiB,YAAiC,UAAQ,YAS1D,IAAME,EAAyB,aAC7B,CAAC,CAAE,SAAAD,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,UAAnB,CACC,IAAKM,EACL,UAAU,oHACT,GAAGD,EAEJ,SAAAL,EAAC,OAAI,UAAWO,EAAG,YAAaH,CAAS,EAAI,SAAAK,EAAS,EACxD,CAEJ,EAEAC,EAAiB,YAAiC,UAAQ","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Item ref={forwardedRef} className={cn('border-b', className)} {...props} />\n ),\n);\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={forwardedRef}\n className={cn('group flex flex-1 items-center justify-between py-4 text-sm font-medium', className)}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n ),\n);\n\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentElement = React.ElementRef<typeof AccordionPrimitive.Content>;\ntype AccordionContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;\n\nconst AccordionContent = React.forwardRef<AccordionContentElement, AccordionContentProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Content\n ref={forwardedRef}\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn('pb-4 pt-0', className)}>{children}</div>\n </AccordionPrimitive.Content>\n ),\n);\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n type AccordionProps,\n type AccordionItemProps,\n type AccordionTriggerProps,\n type AccordionContentProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/accordion.cjs","../../src/react/accordion.tsx"],"names":["Accordion","AccordionItem","className","props","forwardedRef","jsx","cn","AccordionTrigger","children","jsxs","ChevronDownIcon","AccordionContent"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,6GACa,mDACJ,+CAmB5B,IAXEA,CAAAA,CAA+B,CAAA,CAAA,IAAA,CAS/BC,CAAAA,yBAAsB,CAAA,CAAA,UAAA,CAC1B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAoB,CAAA,IAAA,CAAnB,CAAwB,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,UAAG,CAAYJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAEjG,CAAA,CAEAF,CAAAA,CAAc,WAAA,CAAiC,CAAA,CAAA,IAAA,CAAK,WAAA,CASpD,IAAMM,CAAAA,CAAyB,CAAA,CAAA,UAAA,CAC7B,CAAC,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,6BAAAA,CAAoB,CAAA,MAAA,CAAnB,CAA0B,SAAA,CAAU,MAAA,CACnC,QAAA,CAAAI,8BAAAA,CAAoB,CAAA,OAAA,CAAnB,CACC,GAAA,CAAKL,CAAAA,CACL,SAAA,CAAWE,iCAAAA,yEAAG,CAA2EJ,CAAS,CAAA,CACjG,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAK,CAAAA,CACDH,6BAAAA,2BAACK,CAAA,CAAgB,SAAA,CAAU,qFAAA,CAAsF,CAAA,CAAA,CACnH,CAAA,CACF,CAEJ,CAAA,CAEAH,CAAAA,CAAiB,WAAA,CAAiC,CAAA,CAAA,OAAA,CAAQ,WAAA,CAS1D,IAAMI,CAAAA,CAAyB,CAAA,CAAA,UAAA,CAC7B,CAAC,CAAE,QAAA,CAAAH,CAAAA,CAAU,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,6BAAAA,CAAoB,CAAA,OAAA,CAAnB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAU,mHAAA,CACT,GAAGD,CAAAA,CAEJ,QAAA,CAAAE,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,WAAG,CAAaJ,CAAS,CAAA,CAAI,QAAA,CAAAM,CAAAA,CAAS,CAAA,CACxD,CAEJ,CAAA,CAEAG,CAAAA,CAAiB,WAAA,CAAiC,CAAA,CAAA,OAAA,CAAQ,WAAA,CAAA,6GAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/accordion.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Item ref={forwardedRef} className={cn('border-b', className)} {...props} />\n ),\n);\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={forwardedRef}\n className={cn('group flex flex-1 items-center justify-between py-4 text-sm font-medium', className)}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n ),\n);\n\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentElement = React.ElementRef<typeof AccordionPrimitive.Content>;\ntype AccordionContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;\n\nconst AccordionContent = React.forwardRef<AccordionContentElement, AccordionContentProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Content\n ref={forwardedRef}\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn('pb-4 pt-0', className)}>{children}</div>\n </AccordionPrimitive.Content>\n ),\n);\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n type AccordionProps,\n type AccordionItemProps,\n type AccordionTriggerProps,\n type AccordionContentProps,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/accordion.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Item ref={forwardedRef} className={cn('border-b', className)} {...props} />\n ),\n);\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={forwardedRef}\n className={cn('group flex flex-1 items-center justify-between py-4 text-sm font-medium', className)}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n ),\n);\n\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentElement = React.ElementRef<typeof AccordionPrimitive.Content>;\ntype AccordionContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;\n\nconst AccordionContent = React.forwardRef<AccordionContentElement, AccordionContentProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Content\n ref={forwardedRef}\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn('pb-4 pt-0', className)}>{children}</div>\n </AccordionPrimitive.Content>\n ),\n);\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n type AccordionProps,\n type AccordionItemProps,\n type AccordionTriggerProps,\n type AccordionContentProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BACpC,OAAS,mBAAAC,MAAuB,wBAmB5B,cAAAC,EAgBE,QAAAC,MAhBF,oBAXJ,IAAMC,EAA+B,OAS/BC,EAAsB,aAC1B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAoB,OAAnB,CAAwB,IAAKM,EAAc,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CAEjG,EAEAF,EAAc,YAAiC,OAAK,YASpD,IAAMK,EAAyB,aAC7B,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,SAAnB,CAA0B,UAAU,OACnC,SAAAC,EAAoB,UAAnB,CACC,IAAKK,EACL,UAAWC,EAAG,0EAA2EH,CAAS,EACjG,GAAGC,EAEH,UAAAI,EACDT,EAACU,EAAA,CAAgB,UAAU,sFAAsF,GACnH,EACF,CAEJ,EAEAF,EAAiB,YAAiC,UAAQ,YAS1D,IAAMG,EAAyB,aAC7B,CAAC,CAAE,SAAAF,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,UAAnB,CACC,IAAKM,EACL,UAAU,oHACT,GAAGD,EAEJ,SAAAL,EAAC,OAAI,UAAWO,EAAG,YAAaH,CAAS,EAAI,SAAAK,EAAS,EACxD,CAEJ,EAEAE,EAAiB,YAAiC,UAAQ","names":["React","AccordionPrimitive","ChevronDownIcon","jsx","jsxs","Accordion","AccordionItem","className","props","forwardedRef","cn","AccordionTrigger","children","ChevronDownIcon","AccordionContent"]}
1
+ {"version":3,"sources":["../../src/react/accordion.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Accordion\n * -------------------------------------------------------------------------- */\n\ntype AccordionProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;\nconst Accordion = AccordionPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionItem\n * -------------------------------------------------------------------------- */\n\ntype AccordionItemElement = React.ElementRef<typeof AccordionPrimitive.Item>;\ntype AccordionItemProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;\n\nconst AccordionItem = React.forwardRef<AccordionItemElement, AccordionItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Item ref={forwardedRef} className={cn('border-b', className)} {...props} />\n ),\n);\n\nAccordionItem.displayName = AccordionPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionTrigger\n * -------------------------------------------------------------------------- */\n\ntype AccordionTriggerElement = React.ElementRef<typeof AccordionPrimitive.Trigger>;\ntype AccordionTriggerProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;\n\nconst AccordionTrigger = React.forwardRef<AccordionTriggerElement, AccordionTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n ref={forwardedRef}\n className={cn('group flex flex-1 items-center justify-between py-4 text-sm font-medium', className)}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground size-4 shrink-0 transition group-data-[state=open]:rotate-180\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n ),\n);\n\nAccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AccordionContent\n * -------------------------------------------------------------------------- */\n\ntype AccordionContentElement = React.ElementRef<typeof AccordionPrimitive.Content>;\ntype AccordionContentProps = React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;\n\nconst AccordionContent = React.forwardRef<AccordionContentElement, AccordionContentProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <AccordionPrimitive.Content\n ref={forwardedRef}\n className=\"data-[state=open]:animate-collapsible-open data-[state=closed]:animate-collapsible-closed overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn('pb-4 pt-0', className)}>{children}</div>\n </AccordionPrimitive.Content>\n ),\n);\n\nAccordionContent.displayName = AccordionPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Accordion,\n AccordionItem,\n AccordionTrigger,\n AccordionContent,\n type AccordionProps,\n type AccordionItemProps,\n type AccordionTriggerProps,\n type AccordionContentProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BACpC,OAAS,mBAAAC,MAAuB,wBAmB5B,cAAAC,EAgBE,QAAAC,MAhBF,oBAXJ,IAAMC,EAA+B,OAS/BC,EAAsB,aAC1B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAoB,OAAnB,CAAwB,IAAKM,EAAc,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CAEjG,EAEAF,EAAc,YAAiC,OAAK,YASpD,IAAMK,EAAyB,aAC7B,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,SAAnB,CAA0B,UAAU,OACnC,SAAAC,EAAoB,UAAnB,CACC,IAAKK,EACL,UAAWC,EAAG,0EAA2EH,CAAS,EACjG,GAAGC,EAEH,UAAAI,EACDT,EAACU,EAAA,CAAgB,UAAU,sFAAsF,GACnH,EACF,CAEJ,EAEAF,EAAiB,YAAiC,UAAQ,YAS1D,IAAMG,EAAyB,aAC7B,CAAC,CAAE,SAAAF,EAAU,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAClCN,EAAoB,UAAnB,CACC,IAAKM,EACL,UAAU,oHACT,GAAGD,EAEJ,SAAAL,EAAC,OAAI,UAAWO,EAAG,YAAaH,CAAS,EAAI,SAAAK,EAAS,EACxD,CAEJ,EAEAE,EAAiB,YAAiC,UAAQ","names":["React","AccordionPrimitive","ChevronDownIcon","jsx","jsxs","Accordion","AccordionItem","className","props","forwardedRef","cn","AccordionTrigger","children","ChevronDownIcon","AccordionContent"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkWKKCZQNOcjs = require('../chunk-WKKCZQNO.cjs');require('../chunk-LOJBMYTH.cjs');var _chunkNU6SK3FCcjs = require('../chunk-NU6SK3FC.cjs');var _react = require('react'); var r = _interopRequireWildcard(_react);var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var e = _interopRequireWildcard(_reactalertdialog);var _jsxruntime = require('react/jsx-runtime');var P=e.Root,f= exports.AlertDialogTrigger =e.Trigger,p= exports.AlertDialogContent =r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Overlay,{className:"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8",children:_jsxruntime.jsx.call(void 0, e.Content,{ref:l,className:_chunkNU6SK3FCcjs.a.call(void 0, "bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg",t),...i})})}));p.displayName=e.Content.displayName;function d({className:t,...i}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkNU6SK3FCcjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...i})}function y({className:t,...i}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkNU6SK3FCcjs.a.call(void 0, "overflow-auto px-6 py-2",t),...i})}function R({className:t,...i}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkNU6SK3FCcjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...i})}var s=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:l,className:_chunkNU6SK3FCcjs.a.call(void 0, "text-lg font-semibold leading-none tracking-tight",t),...i}));s.displayName=e.Title.displayName;var m=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:l,className:_chunkNU6SK3FCcjs.a.call(void 0, "text-muted-foreground text-sm",t),...i}));m.displayName=e.Description.displayName;var g=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Action,{ref:l,className:_chunkWKKCZQNOcjs.a.call(void 0, {className:t}),...i}));g.displayName=e.Action.displayName;var A=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Cancel,{ref:l,className:_chunkWKKCZQNOcjs.a.call(void 0, {variant:"outline",className:t}),...i}));A.displayName=e.Cancel.displayName;exports.AlertDialog = P; exports.AlertDialogAction = g; exports.AlertDialogBody = y; exports.AlertDialogCancel = A; exports.AlertDialogContent = p; exports.AlertDialogDescription = m; exports.AlertDialogFooter = R; exports.AlertDialogHeader = d; exports.AlertDialogTitle = s; exports.AlertDialogTrigger = f;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkAZBLH63Jcjs = require('../chunk-AZBLH63J.cjs');require('../chunk-EIQS2H2C.cjs');var _chunkNU6SK3FCcjs = require('../chunk-NU6SK3FC.cjs');var _react = require('react'); var r = _interopRequireWildcard(_react);var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var e = _interopRequireWildcard(_reactalertdialog);var _jsxruntime = require('react/jsx-runtime');var P=e.Root,f= exports.AlertDialogTrigger =e.Trigger,p= exports.AlertDialogContent =r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Overlay,{className:"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8",children:_jsxruntime.jsx.call(void 0, e.Content,{ref:l,className:_chunkNU6SK3FCcjs.a.call(void 0, "bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg",t),...i})})}));p.displayName=e.Content.displayName;function d({className:t,...i}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkNU6SK3FCcjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...i})}function y({className:t,...i}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkNU6SK3FCcjs.a.call(void 0, "overflow-auto px-6 py-2",t),...i})}function R({className:t,...i}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkNU6SK3FCcjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...i})}var s=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:l,className:_chunkNU6SK3FCcjs.a.call(void 0, "text-lg font-semibold leading-none tracking-tight",t),...i}));s.displayName=e.Title.displayName;var m=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:l,className:_chunkNU6SK3FCcjs.a.call(void 0, "text-muted-foreground text-sm",t),...i}));m.displayName=e.Description.displayName;var g=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Action,{ref:l,className:_chunkAZBLH63Jcjs.a.call(void 0, {className:t}),...i}));g.displayName=e.Action.displayName;var A=r.forwardRef(({className:t,...i},l)=>_jsxruntime.jsx.call(void 0, e.Cancel,{ref:l,className:_chunkAZBLH63Jcjs.a.call(void 0, {variant:"outline",className:t}),...i}));A.displayName=e.Cancel.displayName;exports.AlertDialog = P; exports.AlertDialogAction = g; exports.AlertDialogBody = y; exports.AlertDialogCancel = A; exports.AlertDialogContent = p; exports.AlertDialogDescription = m; exports.AlertDialogFooter = R; exports.AlertDialogHeader = d; exports.AlertDialogTitle = s; exports.AlertDialogTrigger = f;
2
2
  //# sourceMappingURL=alert-dialog.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/alert-dialog.tsx"],"names":["React","AlertDialogPrimitive","jsx","AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","forwardedRef","cn","AlertDialogHeader","AlertDialogBody","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"],"mappings":"0HAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BA6B9B,cAAAC,MAAA,oBApBR,IAAMC,EAAmC,OAOnCC,EAA0C,UAS1CC,EAA2B,aAC/B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,SAAAA,EAAsB,UAArB,CAA6B,UAAU,mPACtC,SAAAA,EAAsB,UAArB,CACC,IAAKM,EACL,UAAWC,EACT,yVACAH,CACF,EACC,GAAGC,EACN,EACF,EACF,CAEJ,EAEAF,EAAmB,YAAmC,UAAQ,YAQ9D,SAASK,EAAkB,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OACEL,EAAC,OACC,UAAWO,EAAG,yEAA0EH,CAAS,EAChG,GAAGC,EACN,CAEJ,CAQA,SAASI,EAAgB,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAA4C,CACzF,OAAOL,EAAC,QAAK,UAAWO,EAAG,0BAA2BH,CAAS,EAAI,GAAGC,EAAO,CAC/E,CAQA,SAASK,EAAkB,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OACEL,EAAC,OACC,UAAWO,EAAG,iFAAkFH,CAAS,EACxG,GAAGC,EACN,CAEJ,CASA,IAAMM,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,QAArB,CACC,IAAKM,EACL,UAAWC,EAAG,oDAAqDH,CAAS,EAC3E,GAAGC,EACN,CAEJ,EAEAM,EAAiB,YAAmC,QAAM,YAS1D,IAAMC,EAA+B,aACnC,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,cAArB,CACC,IAAKM,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CAEJ,EAEAO,EAAuB,YAAmC,cAAY,YAStE,IAAMC,EAA0B,aAC9B,CAAC,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CAA4B,IAAKM,EAAc,UAAWQ,EAAe,CAAE,UAAAV,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEzG,EAEAQ,EAAkB,YAAmC,SAAO,YAS5D,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,IAAKM,EACL,UAAWQ,EAAe,CAAE,QAAS,UAAW,UAAAV,CAAU,CAAC,EAC1D,GAAGC,EACN,CAEJ,EAEAU,EAAkB,YAAmC,SAAO","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cn } from '../lib/utils';\nimport { buttonVariants } from './button';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8\">\n <AlertDialogPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg',\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Overlay>\n </AlertDialogPrimitive.Portal>\n ),\n);\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogHeader\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogBody\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogBodyProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogBody({ className, ...props }: AlertDialogBodyProps): React.JSX.Element {\n return <main className={cn('overflow-auto px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogFooter\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTitleElement = React.ElementRef<typeof AlertDialogPrimitive.Title>;\ntype AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;\n\nconst AlertDialogTitle = React.forwardRef<AlertDialogTitleElement, AlertDialogTitleProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Title\n ref={forwardedRef}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogDescriptionElement = React.ElementRef<typeof AlertDialogPrimitive.Description>;\ntype AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;\n\nconst AlertDialogDescription = React.forwardRef<AlertDialogDescriptionElement, AlertDialogDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogAction\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogActionElement = React.ElementRef<typeof AlertDialogPrimitive.Action>;\ntype AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;\n\nconst AlertDialogAction = React.forwardRef<AlertDialogActionElement, AlertDialogActionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Action ref={forwardedRef} className={buttonVariants({ className })} {...props} />\n ),\n);\n\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogCancel\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogCancelElement = React.ElementRef<typeof AlertDialogPrimitive.Cancel>;\ntype AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;\n\nconst AlertDialogCancel = React.forwardRef<AlertDialogCancelElement, AlertDialogCancelProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Cancel\n ref={forwardedRef}\n className={buttonVariants({ variant: 'outline', className })}\n {...props}\n />\n ),\n);\n\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogBody,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n type AlertDialogProps,\n type AlertDialogTriggerProps,\n type AlertDialogContentProps,\n type AlertDialogHeaderProps,\n type AlertDialogBodyProps,\n type AlertDialogFooterProps,\n type AlertDialogTitleProps,\n type AlertDialogDescriptionProps,\n type AlertDialogActionProps,\n type AlertDialogCancelProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/alert-dialog.cjs","../../src/react/alert-dialog.tsx"],"names":["AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","forwardedRef","jsx","cn","AlertDialogHeader","AlertDialogBody","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/alert-dialog.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/react/button';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8\">\n <AlertDialogPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg',\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Overlay>\n </AlertDialogPrimitive.Portal>\n ),\n);\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogHeader\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogBody\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogBodyProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogBody({ className, ...props }: AlertDialogBodyProps): React.JSX.Element {\n return <main className={cn('overflow-auto px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogFooter\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTitleElement = React.ElementRef<typeof AlertDialogPrimitive.Title>;\ntype AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;\n\nconst AlertDialogTitle = React.forwardRef<AlertDialogTitleElement, AlertDialogTitleProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Title\n ref={forwardedRef}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogDescriptionElement = React.ElementRef<typeof AlertDialogPrimitive.Description>;\ntype AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;\n\nconst AlertDialogDescription = React.forwardRef<AlertDialogDescriptionElement, AlertDialogDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogAction\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogActionElement = React.ElementRef<typeof AlertDialogPrimitive.Action>;\ntype AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;\n\nconst AlertDialogAction = React.forwardRef<AlertDialogActionElement, AlertDialogActionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Action ref={forwardedRef} className={buttonVariants({ className })} {...props} />\n ),\n);\n\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogCancel\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogCancelElement = React.ElementRef<typeof AlertDialogPrimitive.Cancel>;\ntype AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;\n\nconst AlertDialogCancel = React.forwardRef<AlertDialogCancelElement, AlertDialogCancelProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Cancel\n ref={forwardedRef}\n className={buttonVariants({ variant: 'outline', className })}\n {...props}\n />\n ),\n);\n\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogBody,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n type AlertDialogProps,\n type AlertDialogTriggerProps,\n type AlertDialogContentProps,\n type AlertDialogHeaderProps,\n type AlertDialogBodyProps,\n type AlertDialogFooterProps,\n type AlertDialogTitleProps,\n type AlertDialogDescriptionProps,\n type AlertDialogActionProps,\n type AlertDialogCancelProps,\n};\n"]}
@@ -1,2 +1,2 @@
1
- "use client";import{a as n}from"../chunk-VDVLCSO4.js";import"../chunk-RBP4PBCK.js";import{a}from"../chunk-5UXVZTFG.js";import*as r from"react";import*as e from"@radix-ui/react-alert-dialog";import{jsx as o}from"react/jsx-runtime";var P=e.Root,f=e.Trigger,p=r.forwardRef(({className:t,...i},l)=>o(e.Portal,{children:o(e.Overlay,{className:"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8",children:o(e.Content,{ref:l,className:a("bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg",t),...i})})}));p.displayName=e.Content.displayName;function d({className:t,...i}){return o("div",{className:a("flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...i})}function y({className:t,...i}){return o("main",{className:a("overflow-auto px-6 py-2",t),...i})}function R({className:t,...i}){return o("div",{className:a("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...i})}var s=r.forwardRef(({className:t,...i},l)=>o(e.Title,{ref:l,className:a("text-lg font-semibold leading-none tracking-tight",t),...i}));s.displayName=e.Title.displayName;var m=r.forwardRef(({className:t,...i},l)=>o(e.Description,{ref:l,className:a("text-muted-foreground text-sm",t),...i}));m.displayName=e.Description.displayName;var g=r.forwardRef(({className:t,...i},l)=>o(e.Action,{ref:l,className:n({className:t}),...i}));g.displayName=e.Action.displayName;var A=r.forwardRef(({className:t,...i},l)=>o(e.Cancel,{ref:l,className:n({variant:"outline",className:t}),...i}));A.displayName=e.Cancel.displayName;export{P as AlertDialog,g as AlertDialogAction,y as AlertDialogBody,A as AlertDialogCancel,p as AlertDialogContent,m as AlertDialogDescription,R as AlertDialogFooter,d as AlertDialogHeader,s as AlertDialogTitle,f as AlertDialogTrigger};
1
+ "use client";import{a as n}from"../chunk-MH6I6OV5.js";import"../chunk-LGVR62JW.js";import{a}from"../chunk-5UXVZTFG.js";import*as r from"react";import*as e from"@radix-ui/react-alert-dialog";import{jsx as o}from"react/jsx-runtime";var P=e.Root,f=e.Trigger,p=r.forwardRef(({className:t,...i},l)=>o(e.Portal,{children:o(e.Overlay,{className:"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8",children:o(e.Content,{ref:l,className:a("bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg",t),...i})})}));p.displayName=e.Content.displayName;function d({className:t,...i}){return o("div",{className:a("flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),...i})}function y({className:t,...i}){return o("main",{className:a("overflow-auto px-6 py-2",t),...i})}function R({className:t,...i}){return o("div",{className:a("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),...i})}var s=r.forwardRef(({className:t,...i},l)=>o(e.Title,{ref:l,className:a("text-lg font-semibold leading-none tracking-tight",t),...i}));s.displayName=e.Title.displayName;var m=r.forwardRef(({className:t,...i},l)=>o(e.Description,{ref:l,className:a("text-muted-foreground text-sm",t),...i}));m.displayName=e.Description.displayName;var g=r.forwardRef(({className:t,...i},l)=>o(e.Action,{ref:l,className:n({className:t}),...i}));g.displayName=e.Action.displayName;var A=r.forwardRef(({className:t,...i},l)=>o(e.Cancel,{ref:l,className:n({variant:"outline",className:t}),...i}));A.displayName=e.Cancel.displayName;export{P as AlertDialog,g as AlertDialogAction,y as AlertDialogBody,A as AlertDialogCancel,p as AlertDialogContent,m as AlertDialogDescription,R as AlertDialogFooter,d as AlertDialogHeader,s as AlertDialogTitle,f as AlertDialogTrigger};
2
2
  //# sourceMappingURL=alert-dialog.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/alert-dialog.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cn } from '../lib/utils';\nimport { buttonVariants } from './button';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8\">\n <AlertDialogPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg',\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Overlay>\n </AlertDialogPrimitive.Portal>\n ),\n);\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogHeader\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogBody\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogBodyProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogBody({ className, ...props }: AlertDialogBodyProps): React.JSX.Element {\n return <main className={cn('overflow-auto px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogFooter\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTitleElement = React.ElementRef<typeof AlertDialogPrimitive.Title>;\ntype AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;\n\nconst AlertDialogTitle = React.forwardRef<AlertDialogTitleElement, AlertDialogTitleProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Title\n ref={forwardedRef}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogDescriptionElement = React.ElementRef<typeof AlertDialogPrimitive.Description>;\ntype AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;\n\nconst AlertDialogDescription = React.forwardRef<AlertDialogDescriptionElement, AlertDialogDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogAction\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogActionElement = React.ElementRef<typeof AlertDialogPrimitive.Action>;\ntype AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;\n\nconst AlertDialogAction = React.forwardRef<AlertDialogActionElement, AlertDialogActionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Action ref={forwardedRef} className={buttonVariants({ className })} {...props} />\n ),\n);\n\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogCancel\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogCancelElement = React.ElementRef<typeof AlertDialogPrimitive.Cancel>;\ntype AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;\n\nconst AlertDialogCancel = React.forwardRef<AlertDialogCancelElement, AlertDialogCancelProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Cancel\n ref={forwardedRef}\n className={buttonVariants({ variant: 'outline', className })}\n {...props}\n />\n ),\n);\n\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogBody,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n type AlertDialogProps,\n type AlertDialogTriggerProps,\n type AlertDialogContentProps,\n type AlertDialogHeaderProps,\n type AlertDialogBodyProps,\n type AlertDialogFooterProps,\n type AlertDialogTitleProps,\n type AlertDialogDescriptionProps,\n type AlertDialogActionProps,\n type AlertDialogCancelProps,\n};\n"],"mappings":"uHAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BA6B9B,cAAAC,MAAA,oBApBR,IAAMC,EAAmC,OAOnCC,EAA0C,UAS1CC,EAA2B,aAC/B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,SAAAA,EAAsB,UAArB,CAA6B,UAAU,mPACtC,SAAAA,EAAsB,UAArB,CACC,IAAKM,EACL,UAAWC,EACT,yVACAH,CACF,EACC,GAAGC,EACN,EACF,EACF,CAEJ,EAEAF,EAAmB,YAAmC,UAAQ,YAQ9D,SAASK,EAAkB,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OACEL,EAAC,OACC,UAAWO,EAAG,yEAA0EH,CAAS,EAChG,GAAGC,EACN,CAEJ,CAQA,SAASI,EAAgB,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAA4C,CACzF,OAAOL,EAAC,QAAK,UAAWO,EAAG,0BAA2BH,CAAS,EAAI,GAAGC,EAAO,CAC/E,CAQA,SAASK,EAAkB,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OACEL,EAAC,OACC,UAAWO,EAAG,iFAAkFH,CAAS,EACxG,GAAGC,EACN,CAEJ,CASA,IAAMM,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,QAArB,CACC,IAAKM,EACL,UAAWC,EAAG,oDAAqDH,CAAS,EAC3E,GAAGC,EACN,CAEJ,EAEAM,EAAiB,YAAmC,QAAM,YAS1D,IAAMC,EAA+B,aACnC,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,cAArB,CACC,IAAKM,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CAEJ,EAEAO,EAAuB,YAAmC,cAAY,YAStE,IAAMC,EAA0B,aAC9B,CAAC,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CAA4B,IAAKM,EAAc,UAAWQ,EAAe,CAAE,UAAAV,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEzG,EAEAQ,EAAkB,YAAmC,SAAO,YAS5D,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,IAAKM,EACL,UAAWQ,EAAe,CAAE,QAAS,UAAW,UAAAV,CAAU,CAAC,EAC1D,GAAGC,EACN,CAEJ,EAEAU,EAAkB,YAAmC,SAAO","names":["React","AlertDialogPrimitive","jsx","AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","forwardedRef","cn","AlertDialogHeader","AlertDialogBody","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"]}
1
+ {"version":3,"sources":["../../src/react/alert-dialog.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/react/button';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialog\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogProps = React.ComponentProps<typeof AlertDialogPrimitive.Root>;\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTrigger\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTriggerProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>;\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogContent\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogContentElement = React.ElementRef<typeof AlertDialogPrimitive.Content>;\ntype AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;\n\nconst AlertDialogContent = React.forwardRef<AlertDialogContentElement, AlertDialogContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Portal>\n <AlertDialogPrimitive.Overlay className=\"data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 grid place-items-center overflow-auto bg-black/80 p-4 sm:pb-12 sm:pt-8\">\n <AlertDialogPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95 data-[state=open]:animate-duration-200 data-[state=closed]:animate-duration-200 data-[state=open]:fade-in data-[state=closed]:animate-out data-[state=closed]:fade-out relative z-50 flex w-full max-w-lg flex-col rounded-lg border shadow-lg',\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Overlay>\n </AlertDialogPrimitive.Portal>\n ),\n);\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogHeader\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogBody\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogBodyProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogBody({ className, ...props }: AlertDialogBodyProps): React.JSX.Element {\n return <main className={cn('overflow-auto px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogFooter\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): React.JSX.Element {\n return (\n <div\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogTitleElement = React.ElementRef<typeof AlertDialogPrimitive.Title>;\ntype AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>;\n\nconst AlertDialogTitle = React.forwardRef<AlertDialogTitleElement, AlertDialogTitleProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Title\n ref={forwardedRef}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogDescriptionElement = React.ElementRef<typeof AlertDialogPrimitive.Description>;\ntype AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>;\n\nconst AlertDialogDescription = React.forwardRef<AlertDialogDescriptionElement, AlertDialogDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n ),\n);\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogAction\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogActionElement = React.ElementRef<typeof AlertDialogPrimitive.Action>;\ntype AlertDialogActionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>;\n\nconst AlertDialogAction = React.forwardRef<AlertDialogActionElement, AlertDialogActionProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Action ref={forwardedRef} className={buttonVariants({ className })} {...props} />\n ),\n);\n\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDialogCancel\n * -------------------------------------------------------------------------- */\n\ntype AlertDialogCancelElement = React.ElementRef<typeof AlertDialogPrimitive.Cancel>;\ntype AlertDialogCancelProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>;\n\nconst AlertDialogCancel = React.forwardRef<AlertDialogCancelElement, AlertDialogCancelProps>(\n ({ className, ...props }, forwardedRef) => (\n <AlertDialogPrimitive.Cancel\n ref={forwardedRef}\n className={buttonVariants({ variant: 'outline', className })}\n {...props}\n />\n ),\n);\n\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n AlertDialog,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogBody,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n type AlertDialogProps,\n type AlertDialogTriggerProps,\n type AlertDialogContentProps,\n type AlertDialogHeaderProps,\n type AlertDialogBodyProps,\n type AlertDialogFooterProps,\n type AlertDialogTitleProps,\n type AlertDialogDescriptionProps,\n type AlertDialogActionProps,\n type AlertDialogCancelProps,\n};\n"],"mappings":"uHAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BA6B9B,cAAAC,MAAA,oBApBR,IAAMC,EAAmC,OAOnCC,EAA0C,UAS1CC,EAA2B,aAC/B,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,SAAAA,EAAsB,UAArB,CAA6B,UAAU,mPACtC,SAAAA,EAAsB,UAArB,CACC,IAAKM,EACL,UAAWC,EACT,yVACAH,CACF,EACC,GAAGC,EACN,EACF,EACF,CAEJ,EAEAF,EAAmB,YAAmC,UAAQ,YAQ9D,SAASK,EAAkB,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OACEL,EAAC,OACC,UAAWO,EAAG,yEAA0EH,CAAS,EAChG,GAAGC,EACN,CAEJ,CAQA,SAASI,EAAgB,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAA4C,CACzF,OAAOL,EAAC,QAAK,UAAWO,EAAG,0BAA2BH,CAAS,EAAI,GAAGC,EAAO,CAC/E,CAQA,SAASK,EAAkB,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAA8C,CAC7F,OACEL,EAAC,OACC,UAAWO,EAAG,iFAAkFH,CAAS,EACxG,GAAGC,EACN,CAEJ,CASA,IAAMM,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,QAArB,CACC,IAAKM,EACL,UAAWC,EAAG,oDAAqDH,CAAS,EAC3E,GAAGC,EACN,CAEJ,EAEAM,EAAiB,YAAmC,QAAM,YAS1D,IAAMC,EAA+B,aACnC,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,cAArB,CACC,IAAKM,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CAEJ,EAEAO,EAAuB,YAAmC,cAAY,YAStE,IAAMC,EAA0B,aAC9B,CAAC,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CAA4B,IAAKM,EAAc,UAAWQ,EAAe,CAAE,UAAAV,CAAU,CAAC,EAAI,GAAGC,EAAO,CAEzG,EAEAQ,EAAkB,YAAmC,SAAO,YAS5D,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAsB,SAArB,CACC,IAAKM,EACL,UAAWQ,EAAe,CAAE,QAAS,UAAW,UAAAV,CAAU,CAAC,EAC1D,GAAGC,EACN,CAEJ,EAEAU,EAAkB,YAAmC,SAAO","names":["React","AlertDialogPrimitive","jsx","AlertDialog","AlertDialogTrigger","AlertDialogContent","className","props","forwardedRef","cn","AlertDialogHeader","AlertDialogBody","AlertDialogFooter","AlertDialogTitle","AlertDialogDescription","AlertDialogAction","buttonVariants","AlertDialogCancel"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/alert.tsx"],"names":["React","tv","jsx","alertVariants","Alert","className","variant","props","forwardedRef","AlertTitle","children","cn","AlertDescription"],"mappings":"0CAAA,UAAYA,MAAW,QACvB,OAAS,MAAAC,MAA6B,oBA8BpC,cAAAC,MAAA,oBAvBF,IAAMC,EAAgBF,EAAG,CACvB,KAAM,2IACN,SAAU,CACR,QAAS,CACP,QAAS,wDACT,YAAa,yFACf,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAWKG,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAC1FN,EAAC,OAAI,IAAKM,EAAc,UAAWL,EAAc,CAAE,QAAAG,EAAS,UAAAD,CAAU,CAAC,EAAG,KAAK,QAAS,GAAGE,EAAO,CACnG,EAEDH,EAAM,YAAc,QASpB,IAAMK,EAAmB,aACvB,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGE,CAAM,EAAGC,IAClCN,EAAC,MAAG,IAAKM,EAAc,UAAWG,EAAG,+CAAgDN,CAAS,EAAI,GAAGE,EAClG,SAAAG,EACH,CAEJ,EAEAD,EAAW,YAAc,aASzB,IAAMG,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGE,CAAM,EAAGC,IACxBN,EAAC,OAAI,IAAKM,EAAc,UAAWG,EAAG,gCAAiCN,CAAS,EAAI,GAAGE,EAAO,CAElG,EAEAK,EAAiB,YAAc","sourcesContent":["import * as React from 'react';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = tv({\n base: '[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7',\n variants: {\n variant: {\n default: 'bg-background text-foreground [&>svg]:text-foreground',\n destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={alertVariants({ variant, className })} role=\"alert\" {...props} />\n));\n\nAlert.displayName = 'Alert';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <h5 ref={forwardedRef} className={cn('mb-1 font-medium leading-none tracking-tight', className)} {...props}>\n {children}\n </h5>\n ),\n);\n\nAlertTitle.displayName = 'AlertTitle';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionElement = HTMLDivElement;\ntype AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\nconst AlertDescription = React.forwardRef<AlertDescriptionElement, AlertDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={cn('text-sm [&_p]:leading-relaxed', className)} {...props} />\n ),\n);\n\nAlertDescription.displayName = 'AlertDescription';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/alert.cjs","../../src/react/alert.tsx"],"names":["alertVariants","tv","Alert","className","variant","props","forwardedRef","jsx","AlertTitle","children","cn","AlertDescription"],"mappings":"AAAA,oZAAyC,uECAlB,qDACe,+CA8BpC,IAvBIA,CAAAA,CAAgBC,kCAAAA,CACpB,IAAA,CAAM,0IAAA,CACN,QAAA,CAAU,CACR,OAAA,CAAS,CACP,OAAA,CAAS,uDAAA,CACT,WAAA,CAAa,yFACf,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SACX,CACF,CAAC,CAAA,CAWKC,CAAAA,iBAAc,CAAA,CAAA,UAAA,CAAqC,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1FC,6BAAAA,KAAC,CAAA,CAAI,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWN,CAAAA,CAAc,CAAE,OAAA,CAAAI,CAAAA,CAAS,SAAA,CAAAD,CAAU,CAAC,CAAA,CAAG,IAAA,CAAK,OAAA,CAAS,GAAGE,CAAAA,CAAO,CACnG,CAAA,CAEDH,CAAAA,CAAM,WAAA,CAAc,OAAA,CASpB,IAAMM,CAAAA,CAAmB,CAAA,CAAA,UAAA,CACvB,CAAC,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAN,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,6BAAAA,IAAC,CAAA,CAAG,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWI,iCAAAA,8CAAG,CAAgDP,CAAS,CAAA,CAAI,GAAGE,CAAAA,CAClG,QAAA,CAAAI,CAAAA,CACH,CAEJ,CAAA,CAEAD,CAAAA,CAAW,WAAA,CAAc,YAAA,CASzB,IAAMG,CAAAA,CAAyB,CAAA,CAAA,UAAA,CAC7B,CAAC,CAAE,SAAA,CAAAR,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,KAAC,CAAA,CAAI,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWI,iCAAAA,+BAAG,CAAiCP,CAAS,CAAA,CAAI,GAAGE,CAAAA,CAAO,CAElG,CAAA,CAEAM,CAAAA,CAAiB,WAAA,CAAc,kBAAA,CAAA,wEAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/alert.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = tv({\n base: '[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7',\n variants: {\n variant: {\n default: 'bg-background text-foreground [&>svg]:text-foreground',\n destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={alertVariants({ variant, className })} role=\"alert\" {...props} />\n));\n\nAlert.displayName = 'Alert';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <h5 ref={forwardedRef} className={cn('mb-1 font-medium leading-none tracking-tight', className)} {...props}>\n {children}\n </h5>\n ),\n);\n\nAlertTitle.displayName = 'AlertTitle';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionElement = HTMLDivElement;\ntype AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\nconst AlertDescription = React.forwardRef<AlertDescriptionElement, AlertDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={cn('text-sm [&_p]:leading-relaxed', className)} {...props} />\n ),\n);\n\nAlertDescription.displayName = 'AlertDescription';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/alert.tsx"],"sourcesContent":["import * as React from 'react';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = tv({\n base: '[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7',\n variants: {\n variant: {\n default: 'bg-background text-foreground [&>svg]:text-foreground',\n destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={alertVariants({ variant, className })} role=\"alert\" {...props} />\n));\n\nAlert.displayName = 'Alert';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <h5 ref={forwardedRef} className={cn('mb-1 font-medium leading-none tracking-tight', className)} {...props}>\n {children}\n </h5>\n ),\n);\n\nAlertTitle.displayName = 'AlertTitle';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionElement = HTMLDivElement;\ntype AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\nconst AlertDescription = React.forwardRef<AlertDescriptionElement, AlertDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={cn('text-sm [&_p]:leading-relaxed', className)} {...props} />\n ),\n);\n\nAlertDescription.displayName = 'AlertDescription';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps };\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,OAAS,MAAAC,MAA6B,oBA8BpC,cAAAC,MAAA,oBAvBF,IAAMC,EAAgBC,EAAG,CACvB,KAAM,2IACN,SAAU,CACR,QAAS,CACP,QAAS,wDACT,YAAa,yFACf,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAWKC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAC1FP,EAAC,OAAI,IAAKO,EAAc,UAAWN,EAAc,CAAE,QAAAI,EAAS,UAAAD,CAAU,CAAC,EAAG,KAAK,QAAS,GAAGE,EAAO,CACnG,EAEDH,EAAM,YAAc,QASpB,IAAMK,EAAmB,aACvB,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGE,CAAM,EAAGC,IAClCP,EAAC,MAAG,IAAKO,EAAc,UAAWG,EAAG,+CAAgDN,CAAS,EAAI,GAAGE,EAClG,SAAAG,EACH,CAEJ,EAEAD,EAAW,YAAc,aASzB,IAAMG,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGE,CAAM,EAAGC,IACxBP,EAAC,OAAI,IAAKO,EAAc,UAAWG,EAAG,gCAAiCN,CAAS,EAAI,GAAGE,EAAO,CAElG,EAEAK,EAAiB,YAAc","names":["React","tv","jsx","alertVariants","tv","Alert","className","variant","props","forwardedRef","AlertTitle","children","cn","AlertDescription"]}
1
+ {"version":3,"sources":["../../src/react/alert.tsx"],"sourcesContent":["import * as React from 'react';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: Alert\n * -------------------------------------------------------------------------- */\n\nconst alertVariants = tv({\n base: '[&>svg+div]:-translate-y-0.75 relative w-full rounded-lg border p-4 text-sm [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg~*]:pl-7',\n variants: {\n variant: {\n default: 'bg-background text-foreground [&>svg]:text-foreground',\n destructive: 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype AlertVariantsProps = VariantProps<typeof alertVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Alert\n * -------------------------------------------------------------------------- */\n\ntype AlertElement = HTMLDivElement;\ntype AlertProps = React.HTMLAttributes<HTMLDivElement> & AlertVariantsProps;\n\nconst Alert = React.forwardRef<AlertElement, AlertProps>(({ className, variant, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={alertVariants({ variant, className })} role=\"alert\" {...props} />\n));\n\nAlert.displayName = 'Alert';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertTitle\n * -------------------------------------------------------------------------- */\n\ntype AlertTitleElement = HTMLHeadingElement;\ntype AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;\n\nconst AlertTitle = React.forwardRef<AlertTitleElement, AlertTitleProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <h5 ref={forwardedRef} className={cn('mb-1 font-medium leading-none tracking-tight', className)} {...props}>\n {children}\n </h5>\n ),\n);\n\nAlertTitle.displayName = 'AlertTitle';\n\n/* -----------------------------------------------------------------------------\n * Component: AlertDescription\n * -------------------------------------------------------------------------- */\n\ntype AlertDescriptionElement = HTMLDivElement;\ntype AlertDescriptionProps = React.HTMLAttributes<HTMLDivElement>;\n\nconst AlertDescription = React.forwardRef<AlertDescriptionElement, AlertDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={cn('text-sm [&_p]:leading-relaxed', className)} {...props} />\n ),\n);\n\nAlertDescription.displayName = 'AlertDescription';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Alert, AlertTitle, AlertDescription, type AlertProps, type AlertTitleProps, type AlertDescriptionProps };\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,OAAS,MAAAC,MAA6B,oBA8BpC,cAAAC,MAAA,oBAvBF,IAAMC,EAAgBC,EAAG,CACvB,KAAM,2IACN,SAAU,CACR,QAAS,CACP,QAAS,wDACT,YAAa,yFACf,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAWKC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAC1FP,EAAC,OAAI,IAAKO,EAAc,UAAWN,EAAc,CAAE,QAAAI,EAAS,UAAAD,CAAU,CAAC,EAAG,KAAK,QAAS,GAAGE,EAAO,CACnG,EAEDH,EAAM,YAAc,QASpB,IAAMK,EAAmB,aACvB,CAAC,CAAE,SAAAC,EAAU,UAAAL,EAAW,GAAGE,CAAM,EAAGC,IAClCP,EAAC,MAAG,IAAKO,EAAc,UAAWG,EAAG,+CAAgDN,CAAS,EAAI,GAAGE,EAClG,SAAAG,EACH,CAEJ,EAEAD,EAAW,YAAc,aASzB,IAAMG,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGE,CAAM,EAAGC,IACxBP,EAAC,OAAI,IAAKO,EAAc,UAAWG,EAAG,gCAAiCN,CAAS,EAAI,GAAGE,EAAO,CAElG,EAEAK,EAAiB,YAAc","names":["React","tv","jsx","alertVariants","tv","Alert","className","variant","props","forwardedRef","AlertTitle","children","cn","AlertDescription"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/aspect-ratio.tsx"],"names":["AspectRatioPrimitive","AspectRatio"],"mappings":"aAEA,UAAYA,MAA0B,+BAQtC,IAAMC,EAAmC","sourcesContent":["'use client';\n\nimport * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';\nimport type * as React from 'react';\n\n/* -----------------------------------------------------------------------------\n * Component: AspectRatio\n * -------------------------------------------------------------------------- */\n\ntype AspectRatioProps = React.ComponentPropsWithoutRef<typeof AspectRatioPrimitive.Root>;\nconst AspectRatio = AspectRatioPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { AspectRatio, type AspectRatioProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/aspect-ratio.cjs","../../src/react/aspect-ratio.tsx"],"names":["AspectRatio"],"mappings":"AAAA,uWAAY,CCEZ,oHAAsC,IAQhCA,CAAAA,CAAmC,CAAA,CAAA,IAAA,CAAA,wBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/aspect-ratio.cjs","sourcesContent":[null,"'use client';\n\nimport * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';\nimport type * as React from 'react';\n\n/* -----------------------------------------------------------------------------\n * Component: AspectRatio\n * -------------------------------------------------------------------------- */\n\ntype AspectRatioProps = React.ComponentPropsWithoutRef<typeof AspectRatioPrimitive.Root>;\nconst AspectRatio = AspectRatioPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { AspectRatio, type AspectRatioProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/avatar.tsx"],"names":["React","AvatarPrimitive","jsx","Avatar","className","props","forwardedRef","cn","AvatarImage","AvatarFallback"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAqB,yBAW/B,cAAAC,MAAA,oBADF,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAiB,OAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,8DAA+DH,CAAS,EACrF,GAAGC,EACN,CACD,EAEDF,EAAO,YAA8B,OAAK,YAS1C,IAAMK,EAAoB,aAAiD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACnGJ,EAAiB,QAAhB,CAAsB,IAAKI,EAAc,UAAWC,EAAG,0BAA2BH,CAAS,EAAI,GAAGC,EAAO,CAC3G,EAEDG,EAAY,YAA8B,QAAM,YAShD,IAAMC,EAAuB,aAC3B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAiB,WAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,mEAAoEH,CAAS,EAC1F,GAAGC,EACN,CAEJ,EAEAI,EAAe,YAA8B,WAAS","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AvatarPrimitive from '@radix-ui/react-avatar';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Avatar\n * -------------------------------------------------------------------------- */\n\ntype AvatarElement = React.ElementRef<typeof AvatarPrimitive.Root>;\ntype AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;\n\nconst Avatar = React.forwardRef<AvatarElement, AvatarProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Root\n ref={forwardedRef}\n className={cn('relative flex size-10 shrink-0 overflow-hidden rounded-full', className)}\n {...props}\n />\n));\n\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarImage\n * -------------------------------------------------------------------------- */\n\ntype AvatarImageElement = React.ElementRef<typeof AvatarPrimitive.Image>;\ntype AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;\n\nconst AvatarImage = React.forwardRef<AvatarImageElement, AvatarImageProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Image ref={forwardedRef} className={cn('aspect-square size-full', className)} {...props} />\n));\n\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarFallback\n * -------------------------------------------------------------------------- */\n\ntype AvatarFallbackElement = React.ElementRef<typeof AvatarPrimitive.Fallback>;\ntype AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;\n\nconst AvatarFallback = React.forwardRef<AvatarFallbackElement, AvatarFallbackProps>(\n ({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Fallback\n ref={forwardedRef}\n className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}\n {...props}\n />\n ),\n);\n\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Avatar, AvatarImage, AvatarFallback, type AvatarProps, type AvatarImageProps, type AvatarFallbackProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/avatar.cjs","../../src/react/avatar.tsx"],"names":["Avatar","className","props","forwardedRef","jsx","cn","AvatarImage","AvatarFallback"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,oGACU,+CAW/B,IADIA,CAAAA,CAAe,CAAA,CAAA,UAAA,CAAuC,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACpFC,6BAAAA,CAAiB,CAAA,IAAA,CAAhB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,6DAAG,CAA+DJ,CAAS,CAAA,CACrF,GAAGC,CAAAA,CACN,CACD,CAAA,CAEDF,CAAAA,CAAO,WAAA,CAA8B,CAAA,CAAA,IAAA,CAAK,WAAA,CAS1C,IAAMM,CAAAA,CAAoB,CAAA,CAAA,UAAA,CAAiD,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACnGC,6BAAAA,CAAiB,CAAA,KAAA,CAAhB,CAAsB,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,yBAAG,CAA2BJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAC3G,CAAA,CAEDI,CAAAA,CAAY,WAAA,CAA8B,CAAA,CAAA,KAAA,CAAM,WAAA,CAShD,IAAMC,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAiB,CAAA,QAAA,CAAhB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,kEAAG,CAAoEJ,CAAS,CAAA,CAC1F,GAAGC,CAAAA,CACN,CAEJ,CAAA,CAEAK,CAAAA,CAAe,WAAA,CAA8B,CAAA,CAAA,QAAA,CAAS,WAAA,CAAA,wEAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/avatar.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as AvatarPrimitive from '@radix-ui/react-avatar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Avatar\n * -------------------------------------------------------------------------- */\n\ntype AvatarElement = React.ElementRef<typeof AvatarPrimitive.Root>;\ntype AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;\n\nconst Avatar = React.forwardRef<AvatarElement, AvatarProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Root\n ref={forwardedRef}\n className={cn('relative flex size-10 shrink-0 overflow-hidden rounded-full', className)}\n {...props}\n />\n));\n\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarImage\n * -------------------------------------------------------------------------- */\n\ntype AvatarImageElement = React.ElementRef<typeof AvatarPrimitive.Image>;\ntype AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;\n\nconst AvatarImage = React.forwardRef<AvatarImageElement, AvatarImageProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Image ref={forwardedRef} className={cn('aspect-square size-full', className)} {...props} />\n));\n\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarFallback\n * -------------------------------------------------------------------------- */\n\ntype AvatarFallbackElement = React.ElementRef<typeof AvatarPrimitive.Fallback>;\ntype AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;\n\nconst AvatarFallback = React.forwardRef<AvatarFallbackElement, AvatarFallbackProps>(\n ({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Fallback\n ref={forwardedRef}\n className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}\n {...props}\n />\n ),\n);\n\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Avatar, AvatarImage, AvatarFallback, type AvatarProps, type AvatarImageProps, type AvatarFallbackProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/avatar.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AvatarPrimitive from '@radix-ui/react-avatar';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Avatar\n * -------------------------------------------------------------------------- */\n\ntype AvatarElement = React.ElementRef<typeof AvatarPrimitive.Root>;\ntype AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;\n\nconst Avatar = React.forwardRef<AvatarElement, AvatarProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Root\n ref={forwardedRef}\n className={cn('relative flex size-10 shrink-0 overflow-hidden rounded-full', className)}\n {...props}\n />\n));\n\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarImage\n * -------------------------------------------------------------------------- */\n\ntype AvatarImageElement = React.ElementRef<typeof AvatarPrimitive.Image>;\ntype AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;\n\nconst AvatarImage = React.forwardRef<AvatarImageElement, AvatarImageProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Image ref={forwardedRef} className={cn('aspect-square size-full', className)} {...props} />\n));\n\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarFallback\n * -------------------------------------------------------------------------- */\n\ntype AvatarFallbackElement = React.ElementRef<typeof AvatarPrimitive.Fallback>;\ntype AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;\n\nconst AvatarFallback = React.forwardRef<AvatarFallbackElement, AvatarFallbackProps>(\n ({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Fallback\n ref={forwardedRef}\n className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}\n {...props}\n />\n ),\n);\n\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Avatar, AvatarImage, AvatarFallback, type AvatarProps, type AvatarImageProps, type AvatarFallbackProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAqB,yBAW/B,cAAAC,MAAA,oBADF,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAiB,OAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,8DAA+DH,CAAS,EACrF,GAAGC,EACN,CACD,EAEDF,EAAO,YAA8B,OAAK,YAS1C,IAAMK,EAAoB,aAAiD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACnGJ,EAAiB,QAAhB,CAAsB,IAAKI,EAAc,UAAWC,EAAG,0BAA2BH,CAAS,EAAI,GAAGC,EAAO,CAC3G,EAEDG,EAAY,YAA8B,QAAM,YAShD,IAAMC,EAAuB,aAC3B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAiB,WAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,mEAAoEH,CAAS,EAC1F,GAAGC,EACN,CAEJ,EAEAI,EAAe,YAA8B,WAAS","names":["React","AvatarPrimitive","jsx","Avatar","className","props","forwardedRef","cn","AvatarImage","AvatarFallback"]}
1
+ {"version":3,"sources":["../../src/react/avatar.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AvatarPrimitive from '@radix-ui/react-avatar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Avatar\n * -------------------------------------------------------------------------- */\n\ntype AvatarElement = React.ElementRef<typeof AvatarPrimitive.Root>;\ntype AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;\n\nconst Avatar = React.forwardRef<AvatarElement, AvatarProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Root\n ref={forwardedRef}\n className={cn('relative flex size-10 shrink-0 overflow-hidden rounded-full', className)}\n {...props}\n />\n));\n\nAvatar.displayName = AvatarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarImage\n * -------------------------------------------------------------------------- */\n\ntype AvatarImageElement = React.ElementRef<typeof AvatarPrimitive.Image>;\ntype AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;\n\nconst AvatarImage = React.forwardRef<AvatarImageElement, AvatarImageProps>(({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Image ref={forwardedRef} className={cn('aspect-square size-full', className)} {...props} />\n));\n\nAvatarImage.displayName = AvatarPrimitive.Image.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: AvatarFallback\n * -------------------------------------------------------------------------- */\n\ntype AvatarFallbackElement = React.ElementRef<typeof AvatarPrimitive.Fallback>;\ntype AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;\n\nconst AvatarFallback = React.forwardRef<AvatarFallbackElement, AvatarFallbackProps>(\n ({ className, ...props }, forwardedRef) => (\n <AvatarPrimitive.Fallback\n ref={forwardedRef}\n className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}\n {...props}\n />\n ),\n);\n\nAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Avatar, AvatarImage, AvatarFallback, type AvatarProps, type AvatarImageProps, type AvatarFallbackProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAqB,yBAW/B,cAAAC,MAAA,oBADF,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAiB,OAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,8DAA+DH,CAAS,EACrF,GAAGC,EACN,CACD,EAEDF,EAAO,YAA8B,OAAK,YAS1C,IAAMK,EAAoB,aAAiD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACnGJ,EAAiB,QAAhB,CAAsB,IAAKI,EAAc,UAAWC,EAAG,0BAA2BH,CAAS,EAAI,GAAGC,EAAO,CAC3G,EAEDG,EAAY,YAA8B,QAAM,YAShD,IAAMC,EAAuB,aAC3B,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAiB,WAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,mEAAoEH,CAAS,EAC1F,GAAGC,EACN,CAEJ,EAEAI,EAAe,YAA8B,WAAS","names":["React","AvatarPrimitive","jsx","Avatar","className","props","forwardedRef","cn","AvatarImage","AvatarFallback"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/badge.tsx"],"names":["tv","jsx","badgeVariants","Badge","className","variant","props"],"mappings":"AACA,OAAS,MAAAA,MAA6B,oBA8B7B,cAAAC,MAAA,oBAxBT,IAAMC,EAAgBF,EAAG,CACvB,KAAM,4FACN,SAAU,CACR,QAAS,CACP,QAAS,+DACT,UAAW,4DACX,YAAa,uEACb,QAAS,iBACX,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAUD,SAASG,EAAM,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,CAAM,EAAkC,CAC9E,OAAOL,EAAC,OAAI,UAAWC,EAAc,CAAE,QAAAG,EAAS,UAAAD,CAAU,CAAC,EAAI,GAAGE,EAAO,CAC3E","sourcesContent":["import * as React from 'react';\nimport { tv, type VariantProps } from 'tailwind-variants';\n\n/* -----------------------------------------------------------------------------\n * Variant: Badge\n * -------------------------------------------------------------------------- */\n\nconst badgeVariants = tv({\n base: 'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition',\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground border-transparent shadow',\n secondary: 'bg-secondary text-secondary-foreground border-transparent',\n destructive: 'bg-destructive text-destructive-foreground border-transparent shadow',\n outline: 'text-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype BadgeVariantsProps = VariantProps<typeof badgeVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Badge\n * -------------------------------------------------------------------------- */\n\ntype BadgeProps = React.HTMLAttributes<HTMLDivElement> & BadgeVariantsProps;\n\nfunction Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element {\n return <div className={badgeVariants({ variant, className })} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Badge, type BadgeProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/badge.tsx"],"names":["badgeVariants","tv","Badge","className","variant","props","jsx"],"mappings":"AACA,8HAAsC,+CA8B7B,IAxBHA,CAAAA,CAAgBC,kCAAAA,CACpB,IAAA,CAAM,2FAAA,CACN,QAAA,CAAU,CACR,OAAA,CAAS,CACP,OAAA,CAAS,8DAAA,CACT,SAAA,CAAW,2DAAA,CACX,WAAA,CAAa,sEAAA,CACb,OAAA,CAAS,iBACX,CACF,CAAA,CACA,eAAA,CAAiB,CACf,OAAA,CAAS,SACX,CACF,CAAC,CAAA,CAUD,SAASC,CAAAA,CAAM,CAAE,SAAA,CAAAC,CAAAA,CAAW,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAkC,CAC9E,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWN,CAAAA,CAAc,CAAE,OAAA,CAAAI,CAAAA,CAAS,SAAA,CAAAD,CAAU,CAAC,CAAA,CAAI,GAAGE,CAAAA,CAAO,CAC3E,CAAA,kBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/badge.cjs","sourcesContent":["import * as React from 'react';\nimport { tv, type VariantProps } from 'tailwind-variants';\n\n/* -----------------------------------------------------------------------------\n * Variant: Badge\n * -------------------------------------------------------------------------- */\n\nconst badgeVariants = tv({\n base: 'inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition',\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground border-transparent shadow',\n secondary: 'bg-secondary text-secondary-foreground border-transparent',\n destructive: 'bg-destructive text-destructive-foreground border-transparent shadow',\n outline: 'text-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\ntype BadgeVariantsProps = VariantProps<typeof badgeVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Badge\n * -------------------------------------------------------------------------- */\n\ntype BadgeProps = React.HTMLAttributes<HTMLDivElement> & BadgeVariantsProps;\n\nfunction Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element {\n return <div className={badgeVariants({ variant, className })} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Badge, type BadgeProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/blockquote.tsx"],"names":["React","Slot","jsx","Blockquote","asChild","props","forwardedRef"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAmB,aAA+C,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGvFJ,EAFWE,EAAUH,EAAO,aAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAW,YAAc","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Blockquote\n * -------------------------------------------------------------------------- */\n\ntype BlockquoteElement = HTMLQuoteElement;\n\ninterface BlockquoteProps extends React.BlockquoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Blockquote = React.forwardRef<BlockquoteElement, BlockquoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'blockquote';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nBlockquote.displayName = 'Blockquote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Blockquote, type BlockquoteProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/blockquote.tsx"],"names":["Blockquote","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAA+C,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGvFC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,YAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAW,WAAA,CAAc,YAAA,CAAA,uBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/blockquote.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Blockquote\n * -------------------------------------------------------------------------- */\n\ntype BlockquoteElement = HTMLQuoteElement;\n\ninterface BlockquoteProps extends React.BlockquoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Blockquote = React.forwardRef<BlockquoteElement, BlockquoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'blockquote';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nBlockquote.displayName = 'Blockquote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Blockquote, type BlockquoteProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/box.tsx"],"names":["React","Slot","jsx","Box","Tag","asChild","props","forwardedRef"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAuBZ,cAAAC,MAAA,oBAHT,IAAMC,EAAY,aAAiC,CAAC,CAAE,GAAIC,EAAM,MAAO,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGnFL,EAFWG,EAAUJ,EAAOG,EAE3B,CAAU,IAAKG,EAAe,GAAGD,EAAO,CACjD,EAEDH,EAAI,YAAc","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Box\n * -------------------------------------------------------------------------- */\n\ntype BoxElement = HTMLDivElement;\n\ninterface BoxDivProps extends React.HTMLAttributes<HTMLDivElement> {\n as?: 'div';\n}\n\ninterface BoxSpanProps extends React.HTMLAttributes<HTMLSpanElement> {\n as: 'span';\n}\n\ntype BoxProps = (BoxDivProps | BoxSpanProps) & {\n asChild?: boolean;\n};\n\nconst Box = React.forwardRef<BoxElement, BoxProps>(({ as: Tag = 'div', asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : Tag;\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nBox.displayName = 'Box';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Box, type BoxProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/box.tsx"],"names":["Box","Tag","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAuBZ,IAHHA,CAAAA,CAAY,CAAA,CAAA,UAAA,CAAiC,CAAC,CAAE,EAAA,CAAIC,CAAAA,CAAM,KAAA,CAAO,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGnFC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAOL,CAAAA,CAE3B,CAAU,GAAA,CAAKG,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDH,CAAAA,CAAI,WAAA,CAAc,KAAA,CAAA,gBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/box.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Box\n * -------------------------------------------------------------------------- */\n\ntype BoxElement = HTMLDivElement;\n\ninterface BoxDivProps extends React.HTMLAttributes<HTMLDivElement> {\n as?: 'div';\n}\n\ninterface BoxSpanProps extends React.HTMLAttributes<HTMLSpanElement> {\n as: 'span';\n}\n\ntype BoxProps = (BoxDivProps | BoxSpanProps) & {\n asChild?: boolean;\n};\n\nconst Box = React.forwardRef<BoxElement, BoxProps>(({ as: Tag = 'div', asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : Tag;\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nBox.displayName = 'Box';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Box, type BoxProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/breadcrumb.tsx"],"names":["React","Slot","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Breadcrumb","props","forwardedRef","BreadcrumbList","className","cn","BreadcrumbItem","BreadcrumbLink","asChild","BreadcrumbPage","BreadcrumbSeparator","children","BreadcrumbEllipsis"],"mappings":"0CAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBACrB,OAAS,oBAAAC,EAAkB,sBAAAC,MAA0B,wBAcnD,cAAAC,EA0GE,QAAAC,MA1GF,oBADF,IAAMC,EAAmB,aAA+C,CAAC,CAAE,GAAGC,CAAM,EAAGC,IACrFJ,EAAC,OAAI,IAAKI,EAAc,aAAW,aAAc,GAAGD,EAAO,CAC5D,EAEDD,EAAW,YAAc,aASzB,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,MACC,IAAKI,EACL,UAAWG,EACT,2FACAD,CACF,EACC,GAAGH,EACN,CAEJ,EAEAE,EAAe,YAAc,iBAS7B,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAF,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,MAAG,IAAKI,EAAc,UAAWG,EAAG,mCAAoCD,CAAS,EAAI,GAAGH,EAAO,CAEpG,EAEAK,EAAe,YAAc,iBAY7B,IAAMC,EAAuB,aAC3B,CAAC,CAAE,QAAAC,EAAS,UAAAJ,EAAW,GAAGH,CAAM,EAAGC,IAG1BJ,EAFWU,EAAUb,EAAO,IAE3B,CAAU,IAAKO,EAAc,UAAWG,EAAG,mCAAoCD,CAAS,EAAI,GAAGH,EAAO,CAElH,EAEAM,EAAe,YAAc,iBAS7B,IAAME,EAAuB,aAC3B,CAAC,CAAE,UAAAL,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,QACC,IAAKI,EACL,eAAa,OACb,gBAAc,OACd,UAAWG,EAAG,8BAA+BD,CAAS,EACtD,KAAK,OACJ,GAAGH,EACN,CAEJ,EAEAQ,EAAe,YAAc,iBAQ7B,SAASC,EAAoB,CAAE,SAAAC,EAAU,UAAAP,EAAW,GAAGH,CAAM,EAAgD,CAC3G,OACEH,EAAC,MAAG,cAAY,OAAO,UAAWO,EAAG,mBAAoBD,CAAS,EAAG,KAAK,eAAgB,GAAGH,EAC1F,SAAAU,GAAYb,EAACF,EAAA,EAAiB,EACjC,CAEJ,CAQA,SAASgB,EAAmB,CAAE,UAAAR,EAAW,GAAGH,CAAM,EAA+C,CAC/F,OACEF,EAAC,QACC,cAAY,OACZ,UAAWM,EAAG,0CAA2CD,CAAS,EAClE,KAAK,eACJ,GAAGH,EAEJ,UAAAH,EAACD,EAAA,CAAmB,UAAU,SAAS,EACvCC,EAAC,QAAK,UAAU,UAAU,gBAAI,GAChC,CAEJ","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Breadcrumb\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbElement = HTMLElement;\n\ninterface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {\n separator?: React.ReactNode;\n}\n\nconst Breadcrumb = React.forwardRef<BreadcrumbElement, BreadcrumbProps>(({ ...props }, forwardedRef) => (\n <nav ref={forwardedRef} aria-label=\"breadcrumb\" {...props} />\n));\n\nBreadcrumb.displayName = 'Breadcrumb';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbList\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbListElement = HTMLOListElement;\ntype BreadcrumbListProps = React.OlHTMLAttributes<HTMLOListElement>;\n\nconst BreadcrumbList = React.forwardRef<BreadcrumbListElement, BreadcrumbListProps>(\n ({ className, ...props }, forwardedRef) => (\n <ol\n ref={forwardedRef}\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5',\n className,\n )}\n {...props}\n />\n ),\n);\n\nBreadcrumbList.displayName = 'BreadcrumbList';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbItem\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbItemElement = HTMLLIElement;\ntype BreadcrumbItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst BreadcrumbItem = React.forwardRef<BreadcrumbItemElement, BreadcrumbItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <li ref={forwardedRef} className={cn('inline-flex items-center gap-1.5', className)} {...props} />\n ),\n);\n\nBreadcrumbItem.displayName = 'BreadcrumbItem';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbLink\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbLinkElement = HTMLAnchorElement;\n\ninterface BreadcrumbLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n asChild?: boolean;\n}\n\nconst BreadcrumbLink = React.forwardRef<BreadcrumbLinkElement, BreadcrumbLinkProps>(\n ({ asChild, className, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'a';\n\n return <Component ref={forwardedRef} className={cn('hover:text-foreground transition', className)} {...props} />;\n },\n);\n\nBreadcrumbLink.displayName = 'BreadcrumbLink';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbPage\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbPageElement = HTMLSpanElement;\ntype BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;\n\nconst BreadcrumbPage = React.forwardRef<BreadcrumbPageElement, BreadcrumbPageProps>(\n ({ className, ...props }, forwardedRef) => (\n <span\n ref={forwardedRef}\n aria-current=\"page\"\n aria-disabled=\"true\"\n className={cn('text-foreground font-normal', className)}\n role=\"link\"\n {...props}\n />\n ),\n);\n\nBreadcrumbPage.displayName = 'BreadcrumbPage';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbSeparator\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbSeparatorProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nfunction BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): React.JSX.Element {\n return (\n <li aria-hidden=\"true\" className={cn('[&>svg]:size-3.5', className)} role=\"presentation\" {...props}>\n {children ?? <ChevronRightIcon />}\n </li>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbEllipsis\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): React.JSX.Element {\n return (\n <span\n aria-hidden=\"true\"\n className={cn('flex size-4 items-center justify-center', className)}\n role=\"presentation\"\n {...props}\n >\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n type BreadcrumbProps,\n type BreadcrumbListProps,\n type BreadcrumbItemProps,\n type BreadcrumbLinkProps,\n type BreadcrumbPageProps,\n type BreadcrumbSeparatorProps,\n type BreadcrumbEllipsisProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/breadcrumb.cjs","../../src/react/breadcrumb.tsx"],"names":["Breadcrumb","props","forwardedRef","jsx","BreadcrumbList","className","cn","BreadcrumbItem","BreadcrumbLink","asChild","Slot","BreadcrumbPage","BreadcrumbSeparator","children","ChevronRightIcon","BreadcrumbEllipsis","jsxs","DotsHorizontalIcon"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/breadcrumb.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Breadcrumb\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbElement = HTMLElement;\n\ninterface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {\n separator?: React.ReactNode;\n}\n\nconst Breadcrumb = React.forwardRef<BreadcrumbElement, BreadcrumbProps>(({ ...props }, forwardedRef) => (\n <nav ref={forwardedRef} aria-label=\"breadcrumb\" {...props} />\n));\n\nBreadcrumb.displayName = 'Breadcrumb';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbList\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbListElement = HTMLOListElement;\ntype BreadcrumbListProps = React.OlHTMLAttributes<HTMLOListElement>;\n\nconst BreadcrumbList = React.forwardRef<BreadcrumbListElement, BreadcrumbListProps>(\n ({ className, ...props }, forwardedRef) => (\n <ol\n ref={forwardedRef}\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5',\n className,\n )}\n {...props}\n />\n ),\n);\n\nBreadcrumbList.displayName = 'BreadcrumbList';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbItem\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbItemElement = HTMLLIElement;\ntype BreadcrumbItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst BreadcrumbItem = React.forwardRef<BreadcrumbItemElement, BreadcrumbItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <li ref={forwardedRef} className={cn('inline-flex items-center gap-1.5', className)} {...props} />\n ),\n);\n\nBreadcrumbItem.displayName = 'BreadcrumbItem';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbLink\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbLinkElement = HTMLAnchorElement;\n\ninterface BreadcrumbLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n asChild?: boolean;\n}\n\nconst BreadcrumbLink = React.forwardRef<BreadcrumbLinkElement, BreadcrumbLinkProps>(\n ({ asChild, className, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'a';\n\n return <Component ref={forwardedRef} className={cn('hover:text-foreground transition', className)} {...props} />;\n },\n);\n\nBreadcrumbLink.displayName = 'BreadcrumbLink';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbPage\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbPageElement = HTMLSpanElement;\ntype BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;\n\nconst BreadcrumbPage = React.forwardRef<BreadcrumbPageElement, BreadcrumbPageProps>(\n ({ className, ...props }, forwardedRef) => (\n <span\n ref={forwardedRef}\n aria-current=\"page\"\n aria-disabled=\"true\"\n className={cn('text-foreground font-normal', className)}\n role=\"link\"\n {...props}\n />\n ),\n);\n\nBreadcrumbPage.displayName = 'BreadcrumbPage';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbSeparator\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbSeparatorProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nfunction BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): React.JSX.Element {\n return (\n <li aria-hidden=\"true\" className={cn('[&>svg]:size-3.5', className)} role=\"presentation\" {...props}>\n {children ?? <ChevronRightIcon />}\n </li>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbEllipsis\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): React.JSX.Element {\n return (\n <span\n aria-hidden=\"true\"\n className={cn('flex size-4 items-center justify-center', className)}\n role=\"presentation\"\n {...props}\n >\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n type BreadcrumbProps,\n type BreadcrumbListProps,\n type BreadcrumbItemProps,\n type BreadcrumbLinkProps,\n type BreadcrumbPageProps,\n type BreadcrumbSeparatorProps,\n type BreadcrumbEllipsisProps,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Breadcrumb\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbElement = HTMLElement;\n\ninterface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {\n separator?: React.ReactNode;\n}\n\nconst Breadcrumb = React.forwardRef<BreadcrumbElement, BreadcrumbProps>(({ ...props }, forwardedRef) => (\n <nav ref={forwardedRef} aria-label=\"breadcrumb\" {...props} />\n));\n\nBreadcrumb.displayName = 'Breadcrumb';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbList\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbListElement = HTMLOListElement;\ntype BreadcrumbListProps = React.OlHTMLAttributes<HTMLOListElement>;\n\nconst BreadcrumbList = React.forwardRef<BreadcrumbListElement, BreadcrumbListProps>(\n ({ className, ...props }, forwardedRef) => (\n <ol\n ref={forwardedRef}\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5',\n className,\n )}\n {...props}\n />\n ),\n);\n\nBreadcrumbList.displayName = 'BreadcrumbList';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbItem\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbItemElement = HTMLLIElement;\ntype BreadcrumbItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst BreadcrumbItem = React.forwardRef<BreadcrumbItemElement, BreadcrumbItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <li ref={forwardedRef} className={cn('inline-flex items-center gap-1.5', className)} {...props} />\n ),\n);\n\nBreadcrumbItem.displayName = 'BreadcrumbItem';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbLink\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbLinkElement = HTMLAnchorElement;\n\ninterface BreadcrumbLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n asChild?: boolean;\n}\n\nconst BreadcrumbLink = React.forwardRef<BreadcrumbLinkElement, BreadcrumbLinkProps>(\n ({ asChild, className, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'a';\n\n return <Component ref={forwardedRef} className={cn('hover:text-foreground transition', className)} {...props} />;\n },\n);\n\nBreadcrumbLink.displayName = 'BreadcrumbLink';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbPage\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbPageElement = HTMLSpanElement;\ntype BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;\n\nconst BreadcrumbPage = React.forwardRef<BreadcrumbPageElement, BreadcrumbPageProps>(\n ({ className, ...props }, forwardedRef) => (\n <span\n ref={forwardedRef}\n aria-current=\"page\"\n aria-disabled=\"true\"\n className={cn('text-foreground font-normal', className)}\n role=\"link\"\n {...props}\n />\n ),\n);\n\nBreadcrumbPage.displayName = 'BreadcrumbPage';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbSeparator\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbSeparatorProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nfunction BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): React.JSX.Element {\n return (\n <li aria-hidden=\"true\" className={cn('[&>svg]:size-3.5', className)} role=\"presentation\" {...props}>\n {children ?? <ChevronRightIcon />}\n </li>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbEllipsis\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): React.JSX.Element {\n return (\n <span\n aria-hidden=\"true\"\n className={cn('flex size-4 items-center justify-center', className)}\n role=\"presentation\"\n {...props}\n >\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n type BreadcrumbProps,\n type BreadcrumbListProps,\n type BreadcrumbItemProps,\n type BreadcrumbLinkProps,\n type BreadcrumbPageProps,\n type BreadcrumbSeparatorProps,\n type BreadcrumbEllipsisProps,\n};\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBACrB,OAAS,oBAAAC,EAAkB,sBAAAC,MAA0B,wBAcnD,cAAAC,EA0GE,QAAAC,MA1GF,oBADF,IAAMC,EAAmB,aAA+C,CAAC,CAAE,GAAGC,CAAM,EAAGC,IACrFJ,EAAC,OAAI,IAAKI,EAAc,aAAW,aAAc,GAAGD,EAAO,CAC5D,EAEDD,EAAW,YAAc,aASzB,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,MACC,IAAKI,EACL,UAAWG,EACT,2FACAD,CACF,EACC,GAAGH,EACN,CAEJ,EAEAE,EAAe,YAAc,iBAS7B,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAF,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,MAAG,IAAKI,EAAc,UAAWG,EAAG,mCAAoCD,CAAS,EAAI,GAAGH,EAAO,CAEpG,EAEAK,EAAe,YAAc,iBAY7B,IAAMC,EAAuB,aAC3B,CAAC,CAAE,QAAAC,EAAS,UAAAJ,EAAW,GAAGH,CAAM,EAAGC,IAG1BJ,EAFWU,EAAUC,EAAO,IAE3B,CAAU,IAAKP,EAAc,UAAWG,EAAG,mCAAoCD,CAAS,EAAI,GAAGH,EAAO,CAElH,EAEAM,EAAe,YAAc,iBAS7B,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAN,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,QACC,IAAKI,EACL,eAAa,OACb,gBAAc,OACd,UAAWG,EAAG,8BAA+BD,CAAS,EACtD,KAAK,OACJ,GAAGH,EACN,CAEJ,EAEAS,EAAe,YAAc,iBAQ7B,SAASC,EAAoB,CAAE,SAAAC,EAAU,UAAAR,EAAW,GAAGH,CAAM,EAAgD,CAC3G,OACEH,EAAC,MAAG,cAAY,OAAO,UAAWO,EAAG,mBAAoBD,CAAS,EAAG,KAAK,eAAgB,GAAGH,EAC1F,SAAAW,GAAYd,EAACe,EAAA,EAAiB,EACjC,CAEJ,CAQA,SAASC,EAAmB,CAAE,UAAAV,EAAW,GAAGH,CAAM,EAA+C,CAC/F,OACEF,EAAC,QACC,cAAY,OACZ,UAAWM,EAAG,0CAA2CD,CAAS,EAClE,KAAK,eACJ,GAAGH,EAEJ,UAAAH,EAACiB,EAAA,CAAmB,UAAU,SAAS,EACvCjB,EAAC,QAAK,UAAU,UAAU,gBAAI,GAChC,CAEJ","names":["React","Slot","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Breadcrumb","props","forwardedRef","BreadcrumbList","className","cn","BreadcrumbItem","BreadcrumbLink","asChild","Slot","BreadcrumbPage","BreadcrumbSeparator","children","ChevronRightIcon","BreadcrumbEllipsis","DotsHorizontalIcon"]}
1
+ {"version":3,"sources":["../../src/react/breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Breadcrumb\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbElement = HTMLElement;\n\ninterface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {\n separator?: React.ReactNode;\n}\n\nconst Breadcrumb = React.forwardRef<BreadcrumbElement, BreadcrumbProps>(({ ...props }, forwardedRef) => (\n <nav ref={forwardedRef} aria-label=\"breadcrumb\" {...props} />\n));\n\nBreadcrumb.displayName = 'Breadcrumb';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbList\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbListElement = HTMLOListElement;\ntype BreadcrumbListProps = React.OlHTMLAttributes<HTMLOListElement>;\n\nconst BreadcrumbList = React.forwardRef<BreadcrumbListElement, BreadcrumbListProps>(\n ({ className, ...props }, forwardedRef) => (\n <ol\n ref={forwardedRef}\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5',\n className,\n )}\n {...props}\n />\n ),\n);\n\nBreadcrumbList.displayName = 'BreadcrumbList';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbItem\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbItemElement = HTMLLIElement;\ntype BreadcrumbItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst BreadcrumbItem = React.forwardRef<BreadcrumbItemElement, BreadcrumbItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <li ref={forwardedRef} className={cn('inline-flex items-center gap-1.5', className)} {...props} />\n ),\n);\n\nBreadcrumbItem.displayName = 'BreadcrumbItem';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbLink\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbLinkElement = HTMLAnchorElement;\n\ninterface BreadcrumbLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n asChild?: boolean;\n}\n\nconst BreadcrumbLink = React.forwardRef<BreadcrumbLinkElement, BreadcrumbLinkProps>(\n ({ asChild, className, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'a';\n\n return <Component ref={forwardedRef} className={cn('hover:text-foreground transition', className)} {...props} />;\n },\n);\n\nBreadcrumbLink.displayName = 'BreadcrumbLink';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbPage\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbPageElement = HTMLSpanElement;\ntype BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;\n\nconst BreadcrumbPage = React.forwardRef<BreadcrumbPageElement, BreadcrumbPageProps>(\n ({ className, ...props }, forwardedRef) => (\n <span\n ref={forwardedRef}\n aria-current=\"page\"\n aria-disabled=\"true\"\n className={cn('text-foreground font-normal', className)}\n role=\"link\"\n {...props}\n />\n ),\n);\n\nBreadcrumbPage.displayName = 'BreadcrumbPage';\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbSeparator\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbSeparatorProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nfunction BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): React.JSX.Element {\n return (\n <li aria-hidden=\"true\" className={cn('[&>svg]:size-3.5', className)} role=\"presentation\" {...props}>\n {children ?? <ChevronRightIcon />}\n </li>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: BreadcrumbEllipsis\n * -------------------------------------------------------------------------- */\n\ntype BreadcrumbEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): React.JSX.Element {\n return (\n <span\n aria-hidden=\"true\"\n className={cn('flex size-4 items-center justify-center', className)}\n role=\"presentation\"\n {...props}\n >\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n type BreadcrumbProps,\n type BreadcrumbListProps,\n type BreadcrumbItemProps,\n type BreadcrumbLinkProps,\n type BreadcrumbPageProps,\n type BreadcrumbSeparatorProps,\n type BreadcrumbEllipsisProps,\n};\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBACrB,OAAS,oBAAAC,EAAkB,sBAAAC,MAA0B,wBAcnD,cAAAC,EA0GE,QAAAC,MA1GF,oBADF,IAAMC,EAAmB,aAA+C,CAAC,CAAE,GAAGC,CAAM,EAAGC,IACrFJ,EAAC,OAAI,IAAKI,EAAc,aAAW,aAAc,GAAGD,EAAO,CAC5D,EAEDD,EAAW,YAAc,aASzB,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,MACC,IAAKI,EACL,UAAWG,EACT,2FACAD,CACF,EACC,GAAGH,EACN,CAEJ,EAEAE,EAAe,YAAc,iBAS7B,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAF,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,MAAG,IAAKI,EAAc,UAAWG,EAAG,mCAAoCD,CAAS,EAAI,GAAGH,EAAO,CAEpG,EAEAK,EAAe,YAAc,iBAY7B,IAAMC,EAAuB,aAC3B,CAAC,CAAE,QAAAC,EAAS,UAAAJ,EAAW,GAAGH,CAAM,EAAGC,IAG1BJ,EAFWU,EAAUC,EAAO,IAE3B,CAAU,IAAKP,EAAc,UAAWG,EAAG,mCAAoCD,CAAS,EAAI,GAAGH,EAAO,CAElH,EAEAM,EAAe,YAAc,iBAS7B,IAAMG,EAAuB,aAC3B,CAAC,CAAE,UAAAN,EAAW,GAAGH,CAAM,EAAGC,IACxBJ,EAAC,QACC,IAAKI,EACL,eAAa,OACb,gBAAc,OACd,UAAWG,EAAG,8BAA+BD,CAAS,EACtD,KAAK,OACJ,GAAGH,EACN,CAEJ,EAEAS,EAAe,YAAc,iBAQ7B,SAASC,EAAoB,CAAE,SAAAC,EAAU,UAAAR,EAAW,GAAGH,CAAM,EAAgD,CAC3G,OACEH,EAAC,MAAG,cAAY,OAAO,UAAWO,EAAG,mBAAoBD,CAAS,EAAG,KAAK,eAAgB,GAAGH,EAC1F,SAAAW,GAAYd,EAACe,EAAA,EAAiB,EACjC,CAEJ,CAQA,SAASC,EAAmB,CAAE,UAAAV,EAAW,GAAGH,CAAM,EAA+C,CAC/F,OACEF,EAAC,QACC,cAAY,OACZ,UAAWM,EAAG,0CAA2CD,CAAS,EAClE,KAAK,eACJ,GAAGH,EAEJ,UAAAH,EAACiB,EAAA,CAAmB,UAAU,SAAS,EACvCjB,EAAC,QAAK,UAAU,UAAU,gBAAI,GAChC,CAEJ","names":["React","Slot","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Breadcrumb","props","forwardedRef","BreadcrumbList","className","cn","BreadcrumbItem","BreadcrumbLink","asChild","Slot","BreadcrumbPage","BreadcrumbSeparator","children","ChevronRightIcon","BreadcrumbEllipsis","DotsHorizontalIcon"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKKCZQNOcjs = require('../chunk-WKKCZQNO.cjs');require('../chunk-LOJBMYTH.cjs');require('../chunk-NU6SK3FC.cjs');exports.Button = _chunkWKKCZQNOcjs.b; exports.buttonVariants = _chunkWKKCZQNOcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAZBLH63Jcjs = require('../chunk-AZBLH63J.cjs');require('../chunk-EIQS2H2C.cjs');require('../chunk-NU6SK3FC.cjs');exports.Button = _chunkAZBLH63Jcjs.b; exports.buttonVariants = _chunkAZBLH63Jcjs.a;
2
2
  //# sourceMappingURL=button.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/button.cjs"],"names":[],"mappings":"AAAA,kIAAsC,iCAA8B,iCAA8B,mFAAwC","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/button.cjs"}
@@ -1,2 +1,2 @@
1
- import{a,b}from"../chunk-VDVLCSO4.js";import"../chunk-RBP4PBCK.js";import"../chunk-5UXVZTFG.js";export{b as Button,a as buttonVariants};
1
+ import{a,b}from"../chunk-MH6I6OV5.js";import"../chunk-LGVR62JW.js";import"../chunk-5UXVZTFG.js";export{b as Button,a as buttonVariants};
2
2
  //# sourceMappingURL=button.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkWKKCZQNOcjs = require('../chunk-WKKCZQNO.cjs');require('../chunk-LOJBMYTH.cjs');var _chunkNU6SK3FCcjs = require('../chunk-NU6SK3FC.cjs');var _reactdaypicker = require('react-day-picker');var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function l({children:t,...e}){return _jsxruntime.jsx.call(void 0, _reacticons.ChevronLeftIcon,{className:"size-4",...e})}function m({children:t,...e}){return _jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"size-4",...e})}function g({className:t,classNames:e,showOutsideDays:d=!0,...o}){return _jsxruntime.jsx.call(void 0, _reactdaypicker.DayPicker,{className:_chunkNU6SK3FCcjs.a.call(void 0, "p-3",t),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:_chunkWKKCZQNOcjs.a.call(void 0, {variant:"outline",className:"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"}),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-xs",row:"flex w-full mt-2",cell:_chunkNU6SK3FCcjs.a.call(void 0, "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-start)]:rounded-l-md [&:has(>.day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:_chunkWKKCZQNOcjs.a.call(void 0, {variant:"ghost",className:"size-9 p-0 font-normal aria-selected:opacity-100"}),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...e},components:{IconLeft:l,IconRight:m},showOutsideDays:d,...o})}exports.Calendar = g;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkAZBLH63Jcjs = require('../chunk-AZBLH63J.cjs');require('../chunk-EIQS2H2C.cjs');var _chunkNU6SK3FCcjs = require('../chunk-NU6SK3FC.cjs');var _reactdaypicker = require('react-day-picker');var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function l({children:t,...e}){return _jsxruntime.jsx.call(void 0, _reacticons.ChevronLeftIcon,{className:"size-4",...e})}function m({children:t,...e}){return _jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"size-4",...e})}function g({className:t,classNames:e,showOutsideDays:d=!0,...o}){return _jsxruntime.jsx.call(void 0, _reactdaypicker.DayPicker,{className:_chunkNU6SK3FCcjs.a.call(void 0, "p-3",t),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:_chunkAZBLH63Jcjs.a.call(void 0, {variant:"outline",className:"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"}),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-xs",row:"flex w-full mt-2",cell:_chunkNU6SK3FCcjs.a.call(void 0, "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-start)]:rounded-l-md [&:has(>.day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:_chunkAZBLH63Jcjs.a.call(void 0, {variant:"ghost",className:"size-9 p-0 font-normal aria-selected:opacity-100"}),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...e},components:{IconLeft:l,IconRight:m},showOutsideDays:d,...o})}exports.Calendar = g;
2
2
  //# sourceMappingURL=calendar.cjs.map