@codefast/ui 0.0.69 → 0.0.70

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 (76) hide show
  1. package/dist/chunk-3COHZ24E.cjs.map +1 -1
  2. package/dist/chunk-4MTN7WZ2.cjs.map +1 -1
  3. package/dist/chunk-5RJANBDJ.cjs.map +1 -1
  4. package/dist/chunk-6UQKMUZG.cjs.map +1 -1
  5. package/dist/chunk-EW7DAPDC.cjs.map +1 -1
  6. package/dist/chunk-JMM2MTPI.cjs.map +1 -1
  7. package/dist/chunk-LOJBMYTH.cjs.map +1 -1
  8. package/dist/chunk-NU6SK3FC.cjs.map +1 -1
  9. package/dist/chunk-T3G5USVY.cjs.map +1 -1
  10. package/dist/chunk-WKKCZQNO.cjs.map +1 -1
  11. package/dist/lib/utils.cjs.map +1 -1
  12. package/dist/react/accordion.cjs.map +1 -1
  13. package/dist/react/alert-dialog.cjs.map +1 -1
  14. package/dist/react/alert.cjs.map +1 -1
  15. package/dist/react/aspect-ratio.cjs.map +1 -1
  16. package/dist/react/avatar.cjs.map +1 -1
  17. package/dist/react/badge.cjs.map +1 -1
  18. package/dist/react/blockquote.cjs.map +1 -1
  19. package/dist/react/box.cjs.map +1 -1
  20. package/dist/react/breadcrumb.cjs.map +1 -1
  21. package/dist/react/button.cjs.map +1 -1
  22. package/dist/react/calendar.cjs.map +1 -1
  23. package/dist/react/card.cjs.map +1 -1
  24. package/dist/react/carousel.cjs.map +1 -1
  25. package/dist/react/checkbox-cards.cjs.map +1 -1
  26. package/dist/react/checkbox-group.cjs.map +1 -1
  27. package/dist/react/checkbox-group.primitive.cjs.map +1 -1
  28. package/dist/react/checkbox.cjs.map +1 -1
  29. package/dist/react/code.cjs.map +1 -1
  30. package/dist/react/collapsible.cjs.map +1 -1
  31. package/dist/react/command.cjs.map +1 -1
  32. package/dist/react/container.cjs.map +1 -1
  33. package/dist/react/context-menu.cjs.map +1 -1
  34. package/dist/react/data-table.cjs.map +1 -1
  35. package/dist/react/dialog.cjs.map +1 -1
  36. package/dist/react/drawer.cjs.map +1 -1
  37. package/dist/react/dropdown-menu.cjs.map +1 -1
  38. package/dist/react/em.cjs.map +1 -1
  39. package/dist/react/form.cjs.map +1 -1
  40. package/dist/react/heading.cjs.map +1 -1
  41. package/dist/react/hover-card.cjs.map +1 -1
  42. package/dist/react/input-otp.cjs.map +1 -1
  43. package/dist/react/input.cjs.map +1 -1
  44. package/dist/react/kbd.cjs.map +1 -1
  45. package/dist/react/label.cjs.map +1 -1
  46. package/dist/react/menubar.cjs.map +1 -1
  47. package/dist/react/navigation-menu.cjs.map +1 -1
  48. package/dist/react/pagination.cjs.map +1 -1
  49. package/dist/react/popover.cjs.map +1 -1
  50. package/dist/react/pre.cjs.map +1 -1
  51. package/dist/react/progress.cjs.map +1 -1
  52. package/dist/react/quote.cjs.map +1 -1
  53. package/dist/react/radio-cards.cjs.map +1 -1
  54. package/dist/react/radio-group.cjs.map +1 -1
  55. package/dist/react/radio.cjs.map +1 -1
  56. package/dist/react/resizable.cjs.map +1 -1
  57. package/dist/react/scroll-area.cjs.map +1 -1
  58. package/dist/react/section.cjs.map +1 -1
  59. package/dist/react/select.cjs.map +1 -1
  60. package/dist/react/separator.cjs.map +1 -1
  61. package/dist/react/sheet.cjs.map +1 -1
  62. package/dist/react/skeleton.cjs.map +1 -1
  63. package/dist/react/slider.cjs.map +1 -1
  64. package/dist/react/sonner.cjs.map +1 -1
  65. package/dist/react/spinner.cjs.map +1 -1
  66. package/dist/react/strong.cjs.map +1 -1
  67. package/dist/react/switch.cjs.map +1 -1
  68. package/dist/react/table.cjs.map +1 -1
  69. package/dist/react/tabs.cjs.map +1 -1
  70. package/dist/react/text-input.cjs.map +1 -1
  71. package/dist/react/text.cjs.map +1 -1
  72. package/dist/react/textarea.cjs.map +1 -1
  73. package/dist/react/toggle-group.cjs.map +1 -1
  74. package/dist/react/toggle.cjs.map +1 -1
  75. package/dist/react/tooltip.cjs.map +1 -1
  76. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/quote.tsx"],"names":["React","Slot","jsx","Quote","asChild","props","forwardedRef"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAc,aAAqC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGxEJ,EAFWE,EAAUH,EAAO,IAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAM,YAAc","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'q';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nQuote.displayName = 'Quote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/quote.tsx"],"names":["Quote","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAc,CAAA,CAAA,UAAA,CAAqC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGxEC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,GAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAM,WAAA,CAAc,OAAA,CAAA,kBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/quote.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'q';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nQuote.displayName = 'Quote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/radio-cards.tsx"],"names":["React","RadioGroupPrimitive","jsx","RadioCards","className","props","forwardedRef","cn","RadioCardsItem"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BAW5B,cAAAC,MAAA,oBADT,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzFJ,EAAqB,OAApB,CAAyB,UAAWK,EAAG,aAAcH,CAAS,EAAI,GAAGC,EAAO,IAAKC,EAAc,CACxG,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAC3B,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAEtBJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,qQACAH,CACF,EACC,GAAGC,EACN,CAGN,EAEAG,EAAe,YAAkC,OAAK","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCards\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioCardsProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioCards = React.forwardRef<RadioCardsElement, RadioCardsProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioCards.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCardsItem\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioCardsItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioCardsItem = React.forwardRef<RadioCardsItemElement, RadioCardsItemProps>(\n ({ className, ...props }, forwardedRef) => {\n return (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2',\n className,\n )}\n {...props}\n />\n );\n },\n);\n\nRadioCardsItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioCards, RadioCardsItem, type RadioCardsProps, type RadioCardsItemProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/radio-cards.cjs","../../src/react/radio-cards.tsx"],"names":["RadioCards","className","props","forwardedRef","jsx","cn","RadioCardsItem"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,iHACc,+CAW5B,IADHA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAA+C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACzFC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CAAyB,SAAA,CAAWC,iCAAAA,YAAG,CAAcJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,GAAA,CAAKC,CAAAA,CAAc,CACxG,CAAA,CAEDH,CAAAA,CAAW,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CASlD,IAAMM,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAEtBC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,oQACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAGN,CAAA,CAEAI,CAAAA,CAAe,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,mDAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/radio-cards.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCards\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioCardsProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioCards = React.forwardRef<RadioCardsElement, RadioCardsProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioCards.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioCardsItem\n * -------------------------------------------------------------------------- */\n\ntype RadioCardsItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioCardsItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioCardsItem = React.forwardRef<RadioCardsItemElement, RadioCardsItemProps>(\n ({ className, ...props }, forwardedRef) => {\n return (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2',\n className,\n )}\n {...props}\n />\n );\n },\n);\n\nRadioCardsItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioCards, RadioCardsItem, type RadioCardsProps, type RadioCardsItemProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/radio-group.tsx"],"names":["React","RadioGroupPrimitive","jsx","RadioGroup","className","props","forwardedRef","cn","RadioGroupItem"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BAW5B,cAAAC,MAAA,oBADT,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACzFJ,EAAqB,OAApB,CAAyB,UAAWK,EAAG,aAAcH,CAAS,EAAI,GAAGC,EAAO,IAAKC,EAAc,CACxG,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAC3B,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAEtBJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,kQACAH,CACF,EACC,GAAGC,EAEJ,SAAAH,EAAqB,YAApB,CAA8B,UAAU,qHAAqH,EAChK,CAGN,EAEAM,EAAe,YAAkC,OAAK","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroup\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioGroup = React.forwardRef<RadioGroupElement, RadioGroupProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroupItem\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioGroupItem = React.forwardRef<RadioGroupItemElement, RadioGroupItemProps>(\n ({ className, ...props }, forwardedRef) => {\n return (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'border-input hover:border-primary text-foreground aria-checked:border-primary group peer aspect-square size-4 rounded-full border focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"after:bg-primary relative flex size-full items-center justify-center after:block after:size-2.5 after:rounded-full\" />\n </RadioGroupPrimitive.Item>\n );\n },\n);\n\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioGroup, RadioGroupItem, type RadioGroupProps, type RadioGroupItemProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/radio-group.cjs","../../src/react/radio-group.tsx"],"names":["RadioGroup","className","props","forwardedRef","jsx","cn","RadioGroupItem"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,iHACc,+CAW5B,IADHA,CAAAA,CAAmB,CAAA,CAAA,UAAA,CAA+C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACzFC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CAAyB,SAAA,CAAWC,iCAAAA,YAAG,CAAcJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,GAAA,CAAKC,CAAAA,CAAc,CACxG,CAAA,CAEDH,CAAAA,CAAW,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CASlD,IAAMM,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAEtBC,6BAAAA,CAAqB,CAAA,IAAA,CAApB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,iQACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CAEJ,QAAA,CAAAE,6BAAAA,CAAqB,CAAA,SAAA,CAApB,CAA8B,SAAA,CAAU,oHAAA,CAAqH,CAAA,CAChK,CAGN,CAAA,CAEAE,CAAAA,CAAe,WAAA,CAAkC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,mDAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/radio-group.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroup\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupElement = React.ElementRef<typeof RadioGroupPrimitive.Root>;\ntype RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;\n\nconst RadioGroup = React.forwardRef<RadioGroupElement, RadioGroupProps>(({ className, ...props }, forwardedRef) => {\n return <RadioGroupPrimitive.Root className={cn('grid gap-2', className)} {...props} ref={forwardedRef} />;\n});\n\nRadioGroup.displayName = RadioGroupPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: RadioGroupItem\n * -------------------------------------------------------------------------- */\n\ntype RadioGroupItemElement = React.ElementRef<typeof RadioGroupPrimitive.Item>;\ntype RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;\n\nconst RadioGroupItem = React.forwardRef<RadioGroupItemElement, RadioGroupItemProps>(\n ({ className, ...props }, forwardedRef) => {\n return (\n <RadioGroupPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'border-input hover:border-primary text-foreground aria-checked:border-primary group peer aspect-square size-4 rounded-full border focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"after:bg-primary relative flex size-full items-center justify-center after:block after:size-2.5 after:rounded-full\" />\n </RadioGroupPrimitive.Item>\n );\n },\n);\n\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioGroup, RadioGroupItem, type RadioGroupProps, type RadioGroupItemProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/radio.tsx"],"names":["React","composeEventHandlers","jsx","Radio","className","onValueChange","onChange","props","forwardedRef","cn","event"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,OAAS,wBAAAC,MAA4B,sBAgB/B,cAAAC,MAAA,oBAHN,IAAMC,EAAc,aAClB,CAAC,CAAE,UAAAC,EAAW,cAAAC,EAAe,SAAAC,EAAU,GAAGC,CAAM,EAAGC,IAE/CN,EAAC,SACC,IAAKM,EACL,UAAWC,EACT,4aACAL,CACF,EACA,KAAK,QACL,SAAUH,EAAqBK,EAAWI,GAAUL,IAAgBK,EAAM,cAAc,KAAK,CAAC,EAC7F,GAAGH,EACN,CAGN,EAEAJ,EAAM,YAAc","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Radio\n * -------------------------------------------------------------------------- */\n\ntype RadioElement = HTMLInputElement;\n\ninterface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {\n onValueChange?: (value: string) => void;\n}\n\nconst Radio = React.forwardRef<RadioElement, RadioProps>(\n ({ className, onValueChange, onChange, ...props }, forwardedRef) => {\n return (\n <input\n ref={forwardedRef}\n className={cn(\n 'before:border-input hover:before:border-primary checked:before:border-primary checked:after:bg-primary peer relative flex appearance-none items-center justify-center rounded-full before:size-4 before:rounded-full before:border checked:after:absolute checked:after:size-2.5 checked:after:rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n className,\n )}\n type=\"radio\"\n onChange={composeEventHandlers(onChange, (event) => onValueChange?.(event.currentTarget.value))}\n {...props}\n />\n );\n },\n);\n\nRadio.displayName = 'Radio';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/radio.cjs","../../src/react/radio.tsx"],"names":["Radio","className","onValueChange","onChange","props","forwardedRef","jsx","cn","composeEventHandlers","event"],"mappings":"AAAA,22BAAY,CAAC,yDAAyC,uECE/B,gDACc,+CAgB/B,IAHAA,CAAAA,CAAc,CAAA,CAAA,UAAA,CAClB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,aAAA,CAAAC,CAAAA,CAAe,QAAA,CAAAC,CAAAA,CAAU,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAE/CC,6BAAAA,OAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,2aACT,CACAN,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CACL,QAAA,CAAUO,6CAAAA,CAAqBL,CAAWM,CAAAA,kBAAUP,CAAAA,wBAAAA,CAAgBO,CAAAA,CAAM,aAAA,CAAc,KAAK,GAAC,CAAA,CAC7F,GAAGL,CAAAA,CACN,CAGN,CAAA,CAEAJ,CAAAA,CAAM,WAAA,CAAc,OAAA,CAAA,kBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/radio.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Radio\n * -------------------------------------------------------------------------- */\n\ntype RadioElement = HTMLInputElement;\n\ninterface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {\n onValueChange?: (value: string) => void;\n}\n\nconst Radio = React.forwardRef<RadioElement, RadioProps>(\n ({ className, onValueChange, onChange, ...props }, forwardedRef) => {\n return (\n <input\n ref={forwardedRef}\n className={cn(\n 'before:border-input hover:before:border-primary checked:before:border-primary checked:after:bg-primary peer relative flex appearance-none items-center justify-center rounded-full before:size-4 before:rounded-full before:border checked:after:absolute checked:after:size-2.5 checked:after:rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n className,\n )}\n type=\"radio\"\n onChange={composeEventHandlers(onChange, (event) => onValueChange?.(event.currentTarget.value))}\n {...props}\n />\n );\n },\n);\n\nRadio.displayName = 'Radio';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/resizable.tsx"],"names":["ResizablePrimitive","DragHandleDots2Icon","jsx","ResizablePanelGroup","className","props","cn","ResizablePanel","ResizableHandle","withHandle"],"mappings":"uDAGA,UAAYA,MAAwB,yBACpC,OAAS,uBAAAC,MAA2B,wBAYhC,cAAAC,MAAA,oBALJ,SAASC,EAAoB,CAC3B,UAAAC,EACA,GAAGC,CACL,EAAkF,CAChF,OACEH,EAAoB,aAAnB,CACC,UAAWI,EAAG,gEAAiEF,CAAS,EACvF,GAAGC,EACN,CAEJ,CAMA,IAAME,EAAoC,QAM1C,SAASC,EAAgB,CACvB,WAAAC,EACA,UAAAL,EACA,GAAGC,CACL,EAEsB,CACpB,OACEH,EAAoB,oBAAnB,CACC,UAAWI,EACT,mnBACAF,CACF,EACC,GAAGC,EAEH,SAAAI,EACCP,EAAC,OAAI,UAAU,4EACb,SAAAA,EAACD,EAAA,CAAoB,UAAU,WAAW,EAC5C,EACE,KACN,CAEJ","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ResizablePrimitive from 'react-resizable-panels';\nimport { DragHandleDots2Icon } from '@radix-ui/react-icons';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanelGroup\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): React.JSX.Element {\n return (\n <ResizablePrimitive.PanelGroup\n className={cn('flex size-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanel\n * -------------------------------------------------------------------------- */\n\nconst ResizablePanel = ResizablePrimitive.Panel;\n\n/* -----------------------------------------------------------------------------\n * Component: ResizableHandle\n * -------------------------------------------------------------------------- */\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}): React.JSX.Element {\n return (\n <ResizablePrimitive.PanelResizeHandle\n className={cn(\n 'bg-border relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle ? (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <DragHandleDots2Icon className=\"size-2.5\" />\n </div>\n ) : null}\n </ResizablePrimitive.PanelResizeHandle>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/resizable.cjs","../../src/react/resizable.tsx"],"names":["ResizablePanelGroup","className","props","jsx","cn","ResizablePanel","ResizableHandle","withHandle","DragHandleDots2Icon"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,sHCGlB,mDACA,+CAYhC,SALKA,CAAAA,CAAoB,CAC3B,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAAkF,CAChF,OACEC,6BAAAA,CAAoB,CAAA,UAAA,CAAnB,CACC,SAAA,CAAWC,iCAAAA,+DAAG,CAAiEH,CAAS,CAAA,CACvF,GAAGC,CAAAA,CACN,CAEJ,CAMA,IAAMG,CAAAA,CAAoC,CAAA,CAAA,KAAA,CAM1C,SAASC,CAAAA,CAAgB,CACvB,UAAA,CAAAC,CAAAA,CACA,SAAA,CAAAN,CAAAA,CACA,GAAGC,CACL,CAAA,CAEsB,CACpB,OACEC,6BAAAA,CAAoB,CAAA,iBAAA,CAAnB,CACC,SAAA,CAAWC,iCAAAA,knBACT,CACAH,CACF,CAAA,CACC,GAAGC,CAAAA,CAEH,QAAA,CAAAK,CAAAA,CACCJ,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,2EAAA,CACb,QAAA,CAAAA,6BAAAA,+BAACK,CAAA,CAAoB,SAAA,CAAU,UAAA,CAAW,CAAA,CAC5C,CAAA,CACE,IAAA,CACN,CAEJ,CAAA,yFAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/resizable.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as ResizablePrimitive from 'react-resizable-panels';\nimport { DragHandleDots2Icon } from '@radix-ui/react-icons';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanelGroup\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): React.JSX.Element {\n return (\n <ResizablePrimitive.PanelGroup\n className={cn('flex size-full data-[panel-group-direction=vertical]:flex-col', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanel\n * -------------------------------------------------------------------------- */\n\nconst ResizablePanel = ResizablePrimitive.Panel;\n\n/* -----------------------------------------------------------------------------\n * Component: ResizableHandle\n * -------------------------------------------------------------------------- */\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}): React.JSX.Element {\n return (\n <ResizablePrimitive.PanelResizeHandle\n className={cn(\n 'bg-border relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n {...props}\n >\n {withHandle ? (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <DragHandleDots2Icon className=\"size-2.5\" />\n </div>\n ) : null}\n </ResizablePrimitive.PanelResizeHandle>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ResizablePanelGroup, ResizablePanel, ResizableHandle };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/scroll-area.tsx"],"names":["React","ScrollAreaPrimitive","createContextScope","tv","jsx","jsxs","SCROLL_AREA_NAME","createCarouselContext","CarouselProvider","useCarouselContext","ScrollArea","__scopeScrollArea","children","className","size","props","forwardedRef","cn","ScrollAreaScrollbar","scrollAreaScrollbarVariants","orientation"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BACrC,OAAS,sBAAAC,MAAsC,0BAC/C,OAAS,MAAAC,MAA6B,oBAuBhC,OACE,OAAAC,EADF,QAAAC,MAAA,oBAhBN,IAAMC,EAAmB,aAInB,CAACC,CAAqB,EAAIL,EAAmBI,CAAgB,EAI7D,CAACE,EAAkBC,CAAkB,EAAIF,EAA8CD,CAAgB,EAKvGI,EAAmB,aACvB,CAAC,CAAE,kBAAAC,EAAmB,SAAAC,EAAU,UAAAC,EAAW,KAAAC,EAAO,IAAK,GAAGC,CAAM,EAAiCC,IAC/FZ,EAACI,EAAA,CAAiB,MAAOG,EAAmB,KAAMG,EAChD,SAAAT,EAAqB,OAApB,CAAyB,IAAKW,EAAc,UAAWC,EAAG,2BAA4BJ,CAAS,EAAI,GAAGE,EACrG,UAAAX,EAAqB,WAApB,CAA6B,UAAU,2CACrC,SAAAQ,EACH,EACAR,EAACc,EAAA,CAAoB,YAAY,WAAW,EAC5Cd,EAACc,EAAA,CAAoB,YAAY,aAAa,EAC9Cd,EAAqB,SAApB,EAA2B,GAC9B,EACF,CAEJ,EAEAM,EAAW,YAAkC,OAAK,YAMlD,IAAMS,EAA8BhB,EAAG,CACrC,KAAM,8CACN,SAAU,CACR,YAAa,CACX,SAAU,gDACV,WAAY,+CACd,EACA,KAAM,CACJ,KAAM,GACN,EAAK,GACL,EAAK,GACL,EAAK,EACP,CACF,EACA,iBAAkB,CAChB,CAAE,YAAa,WAAY,KAAM,IAAK,UAAW,OAAQ,EACzD,CAAE,YAAa,WAAY,KAAM,IAAK,UAAW,KAAM,EACvD,CAAE,YAAa,WAAY,KAAM,IAAK,UAAW,OAAQ,EACzD,CAAE,YAAa,aAAc,KAAM,IAAK,UAAW,OAAQ,EAC3D,CAAE,YAAa,aAAc,KAAM,IAAK,UAAW,KAAM,EACzD,CAAE,YAAa,aAAc,KAAM,IAAK,UAAW,OAAQ,CAC7D,CACF,CAAC,EAWKe,EAA4B,aAChC,CACE,CAAE,kBAAAP,EAAmB,UAAAE,EAAW,YAAAO,EAAc,WAAY,GAAGL,CAAM,EACnEC,IACG,CACH,GAAM,CAAE,KAAAF,CAAK,EAAIL,EAAmBH,EAAkBK,CAAiB,EAEvE,OACEP,EAAqB,YAApB,CACC,IAAKY,EACL,UAAWG,EAA4B,CAAE,YAAAC,EAAa,KAAAN,EAAM,UAAAD,CAAU,CAAC,EACvE,YAAaO,EACZ,GAAGL,EAEJ,SAAAX,EAAqB,kBAApB,CAAoC,UAAU,yCAAyC,EAC1F,CAEJ,CACF,EAEAc,EAAoB,YAAkC,YAAU","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\nimport { createContextScope, type Scope } from '@radix-ui/react-context';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollArea\n * -------------------------------------------------------------------------- */\n\nconst SCROLL_AREA_NAME = 'ScrollArea';\n\ntype ScopedProps<P> = P & { __scopeScrollArea?: Scope };\n\nconst [createCarouselContext] = createContextScope(SCROLL_AREA_NAME);\n\ntype ScrollAreaContextValue = Pick<ScrollAreaScrollbarVariantsProps, 'size'>;\n\nconst [CarouselProvider, useCarouselContext] = createCarouselContext<ScrollAreaContextValue>(SCROLL_AREA_NAME);\n\ntype ScrollAreaElement = React.ElementRef<typeof ScrollAreaPrimitive.Root>;\ntype ScrollAreaProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & ScrollAreaContextValue;\n\nconst ScrollArea = React.forwardRef<ScrollAreaElement, ScrollAreaProps>(\n ({ __scopeScrollArea, children, className, size = '2', ...props }: ScopedProps<ScrollAreaProps>, forwardedRef) => (\n <CarouselProvider scope={__scopeScrollArea} size={size}>\n <ScrollAreaPrimitive.Root ref={forwardedRef} className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit] [&>*]:h-full\">\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollAreaScrollbar orientation=\"vertical\" />\n <ScrollAreaScrollbar orientation=\"horizontal\" />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n </CarouselProvider>\n ),\n);\n\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Variant: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\nconst scrollAreaScrollbarVariants = tv({\n base: 'flex touch-none select-none p-px transition',\n variants: {\n orientation: {\n vertical: 'h-full flex-row border-l border-l-transparent',\n horizontal: 'w-full flex-col border-t border-t-transparent',\n },\n size: {\n none: '',\n '1': '',\n '2': '',\n '3': '',\n },\n },\n compoundVariants: [\n { orientation: 'vertical', size: '1', className: 'w-1.5' },\n { orientation: 'vertical', size: '2', className: 'w-2' },\n { orientation: 'vertical', size: '3', className: 'w-2.5' },\n { orientation: 'horizontal', size: '1', className: 'h-1.5' },\n { orientation: 'horizontal', size: '2', className: 'h-2' },\n { orientation: 'horizontal', size: '3', className: 'h-2.5' },\n ],\n});\n\ntype ScrollAreaScrollbarVariantsProps = VariantProps<typeof scrollAreaScrollbarVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaScrollbarElement = React.ElementRef<typeof ScrollAreaPrimitive.Scrollbar>;\ntype ScrollAreaScrollbarProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Scrollbar>;\n\nconst ScrollAreaScrollbar = React.forwardRef<ScrollAreaScrollbarElement, ScrollAreaScrollbarProps>(\n (\n { __scopeScrollArea, className, orientation = 'vertical', ...props }: ScopedProps<ScrollAreaScrollbarProps>,\n forwardedRef,\n ) => {\n const { size } = useCarouselContext(SCROLL_AREA_NAME, __scopeScrollArea);\n\n return (\n <ScrollAreaPrimitive.Scrollbar\n ref={forwardedRef}\n className={scrollAreaScrollbarVariants({ orientation, size, className })}\n orientation={orientation}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.Scrollbar>\n );\n },\n);\n\nScrollAreaScrollbar.displayName = ScrollAreaPrimitive.Scrollbar.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ScrollArea, ScrollAreaScrollbar, type ScrollAreaProps, type ScrollAreaScrollbarProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/scroll-area.cjs","../../src/react/scroll-area.tsx"],"names":["SCROLL_AREA_NAME","createCarouselContext","createContextScope","CarouselProvider","useCarouselContext","ScrollArea","__scopeScrollArea","children","className","size","props","forwardedRef","jsx","jsxs","cn","ScrollAreaScrollbar","scrollAreaScrollbarVariants","tv","orientation"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/scroll-area.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\nimport { createContextScope, type Scope } from '@radix-ui/react-context';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollArea\n * -------------------------------------------------------------------------- */\n\nconst SCROLL_AREA_NAME = 'ScrollArea';\n\ntype ScopedProps<P> = P & { __scopeScrollArea?: Scope };\n\nconst [createCarouselContext] = createContextScope(SCROLL_AREA_NAME);\n\ntype ScrollAreaContextValue = Pick<ScrollAreaScrollbarVariantsProps, 'size'>;\n\nconst [CarouselProvider, useCarouselContext] = createCarouselContext<ScrollAreaContextValue>(SCROLL_AREA_NAME);\n\ntype ScrollAreaElement = React.ElementRef<typeof ScrollAreaPrimitive.Root>;\ntype ScrollAreaProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> & ScrollAreaContextValue;\n\nconst ScrollArea = React.forwardRef<ScrollAreaElement, ScrollAreaProps>(\n ({ __scopeScrollArea, children, className, size = '2', ...props }: ScopedProps<ScrollAreaProps>, forwardedRef) => (\n <CarouselProvider scope={__scopeScrollArea} size={size}>\n <ScrollAreaPrimitive.Root ref={forwardedRef} className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit] [&>*]:h-full\">\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollAreaScrollbar orientation=\"vertical\" />\n <ScrollAreaScrollbar orientation=\"horizontal\" />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n </CarouselProvider>\n ),\n);\n\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Variant: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\nconst scrollAreaScrollbarVariants = tv({\n base: 'flex touch-none select-none p-px transition',\n variants: {\n orientation: {\n vertical: 'h-full flex-row border-l border-l-transparent',\n horizontal: 'w-full flex-col border-t border-t-transparent',\n },\n size: {\n none: '',\n '1': '',\n '2': '',\n '3': '',\n },\n },\n compoundVariants: [\n { orientation: 'vertical', size: '1', className: 'w-1.5' },\n { orientation: 'vertical', size: '2', className: 'w-2' },\n { orientation: 'vertical', size: '3', className: 'w-2.5' },\n { orientation: 'horizontal', size: '1', className: 'h-1.5' },\n { orientation: 'horizontal', size: '2', className: 'h-2' },\n { orientation: 'horizontal', size: '3', className: 'h-2.5' },\n ],\n});\n\ntype ScrollAreaScrollbarVariantsProps = VariantProps<typeof scrollAreaScrollbarVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaScrollbarElement = React.ElementRef<typeof ScrollAreaPrimitive.Scrollbar>;\ntype ScrollAreaScrollbarProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Scrollbar>;\n\nconst ScrollAreaScrollbar = React.forwardRef<ScrollAreaScrollbarElement, ScrollAreaScrollbarProps>(\n (\n { __scopeScrollArea, className, orientation = 'vertical', ...props }: ScopedProps<ScrollAreaScrollbarProps>,\n forwardedRef,\n ) => {\n const { size } = useCarouselContext(SCROLL_AREA_NAME, __scopeScrollArea);\n\n return (\n <ScrollAreaPrimitive.Scrollbar\n ref={forwardedRef}\n className={scrollAreaScrollbarVariants({ orientation, size, className })}\n orientation={orientation}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.Scrollbar>\n );\n },\n);\n\nScrollAreaScrollbar.displayName = ScrollAreaPrimitive.Scrollbar.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ScrollArea, ScrollAreaScrollbar, type ScrollAreaProps, type ScrollAreaScrollbarProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/section.tsx"],"names":["React","Slot","jsx","Section","asChild","props","forwardedRef"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAgB,aAAyC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAG9EJ,EAFWE,EAAUH,EAAO,UAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAQ,YAAc","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'section';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nSection.displayName = 'Section';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section, type SectionProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/section.tsx"],"names":["Section","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAgB,CAAA,CAAA,UAAA,CAAyC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAG9EC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,SAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAQ,WAAA,CAAc,SAAA,CAAA,oBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/section.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'section';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nSection.displayName = 'Section';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section, type SectionProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/select.cjs"],"names":[],"mappings":"AAAA,qFAAY,CAAC,yDAAsD,iCAA8B,mcAAwM","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/select.cjs"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/separator.tsx"],"names":["React","SeparatorPrimitive","jsx","Separator","className","orientation","decorative","props","forwardedRef","cn"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BAYhC,cAAAC,MAAA,oBAFJ,IAAMC,EAAkB,aACtB,CAAC,CAAE,UAAAC,EAAW,YAAAC,EAAc,aAAc,WAAAC,EAAa,GAAM,GAAGC,CAAM,EAAGC,IACvEN,EAAoB,OAAnB,CACC,IAAKM,EACL,UAAWC,EAAG,qBAAsBJ,IAAgB,aAAe,cAAgB,cAAeD,CAAS,EAC3G,WAAYE,EACZ,YAAaD,EACZ,GAAGE,EACN,CAEJ,EAEAJ,EAAU,YAAiC,OAAK","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SeparatorPrimitive from '@radix-ui/react-separator';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Separator\n * -------------------------------------------------------------------------- */\n\ntype SeparatorElement = React.ElementRef<typeof SeparatorPrimitive.Root>;\ntype SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;\n\nconst Separator = React.forwardRef<SeparatorElement, SeparatorProps>(\n ({ className, orientation = 'horizontal', decorative = true, ...props }, forwardedRef) => (\n <SeparatorPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-border shrink-0', orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px', className)}\n decorative={decorative}\n orientation={orientation}\n {...props}\n />\n ),\n);\n\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Separator, type SeparatorProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/separator.cjs","../../src/react/separator.tsx"],"names":["Separator","className","orientation","decorative","props","forwardedRef","jsx","cn"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,6GACa,+CAYhC,IAFEA,CAAAA,CAAkB,CAAA,CAAA,UAAA,CACtB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,WAAA,CAAAC,CAAAA,CAAc,YAAA,CAAc,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAA,CAAM,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACvEC,6BAAAA,CAAoB,CAAA,IAAA,CAAnB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,oBAAG,CAAsBL,CAAAA,GAAgB,YAAA,CAAe,aAAA,CAAgB,aAAA,CAAeD,CAAS,CAAA,CAC3G,UAAA,CAAYE,CAAAA,CACZ,WAAA,CAAaD,CAAAA,CACZ,GAAGE,CAAAA,CACN,CAEJ,CAAA,CAEAJ,CAAAA,CAAU,WAAA,CAAiC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,sBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/separator.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as SeparatorPrimitive from '@radix-ui/react-separator';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Separator\n * -------------------------------------------------------------------------- */\n\ntype SeparatorElement = React.ElementRef<typeof SeparatorPrimitive.Root>;\ntype SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;\n\nconst Separator = React.forwardRef<SeparatorElement, SeparatorProps>(\n ({ className, orientation = 'horizontal', decorative = true, ...props }, forwardedRef) => (\n <SeparatorPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-border shrink-0', orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px', className)}\n decorative={decorative}\n orientation={orientation}\n {...props}\n />\n ),\n);\n\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Separator, type SeparatorProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/sheet.tsx"],"names":["React","SheetPrimitive","Cross2Icon","tv","jsx","jsxs","Sheet","SheetTrigger","SheetClose","sheetContentVariants","SheetContent","children","side","className","props","forwardedRef","SheetHeader","cn","SheetBody","SheetFooter","SheetTitle","SheetDescription"],"mappings":"kDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAoB,yBAChC,OAAS,cAAAC,MAAkB,wBAC3B,OAAS,MAAAC,MAA6B,oBAyDhC,cAAAC,EAGE,QAAAC,MAHF,oBAjDN,IAAMC,EAAuB,OAOvBC,EAA8B,UAO9BC,EAA4B,QAM5BC,EAAuBN,EAAG,CAC9B,KAAM,kOACN,SAAU,CACR,KAAM,CACJ,IAAK,iHACL,OACE,0HACF,KAAM,gIACN,MACE,kIACJ,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CAAC,EAWKO,EAAqB,aACzB,CAAC,CAAE,SAAAC,EAAU,KAAAC,EAAO,QAAS,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClDV,EAAgB,SAAf,CACC,UAAAD,EAAgB,UAAf,CAAuB,UAAU,wLAAwL,EAC1NC,EAAgB,UAAf,CAAuB,IAAKU,EAAc,UAAWN,EAAqB,CAAE,KAAAG,EAAM,UAAAC,CAAU,CAAC,EAAI,GAAGC,EAClG,UAAAH,EACDN,EAAgB,QAAf,CAAqB,UAAU,yNAC9B,UAAAD,EAACF,EAAA,CAAW,UAAU,SAAS,EAC/BE,EAAC,QAAK,UAAU,UAAU,iBAAK,GACjC,GACF,GACF,CAEJ,EAEAM,EAAa,YAA6B,UAAQ,YAQlD,SAASM,EAAY,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAwC,CACjF,OACEV,EAAC,UACC,UAAWa,EAAG,yEAA0EJ,CAAS,EAChG,GAAGC,EACN,CAEJ,CAQA,SAASI,EAAU,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAwC,CAC/E,OAAOV,EAAC,QAAK,UAAWa,EAAG,YAAaJ,CAAS,EAAI,GAAGC,EAAO,CACjE,CAQA,SAASK,EAAY,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAwC,CACjF,OACEV,EAAC,UACC,UAAWa,EAAG,iFAAkFJ,CAAS,EACxG,GAAGC,EACN,CAEJ,CAEAK,EAAY,YAAc,cAS1B,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IAChGX,EAAgB,QAAf,CACC,IAAKW,EACL,UAAWE,EAAG,wCAAyCJ,CAAS,EAC/D,GAAGC,EACN,CACD,EAEDM,EAAW,YAA6B,QAAM,YAS9C,IAAMC,EAAyB,aAC7B,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBX,EAAgB,cAAf,CACC,IAAKW,EACL,UAAWE,EAAG,gCAAiCJ,CAAS,EACvD,GAAGC,EACN,CAEJ,EAEAO,EAAiB,YAA6B,cAAY","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SheetPrimitive from '@radix-ui/react-dialog';\nimport { Cross2Icon } from '@radix-ui/react-icons';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\ntype SheetProps = React.ComponentProps<typeof SheetPrimitive.Root>;\nconst Sheet = SheetPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\ntype SheetTriggerProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Trigger>;\nconst SheetTrigger = SheetPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\ntype SheetCloseProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Close>;\nconst SheetClose = SheetPrimitive.Close;\n\n/* -----------------------------------------------------------------------------\n * Variant: SheetContent\n * -------------------------------------------------------------------------- */\n\nconst sheetContentVariants = tv({\n base: 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 animate-ease-in-out fixed z-50 flex flex-col overflow-auto shadow-lg',\n variants: {\n side: {\n top: 'data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 max-h-screen border-b',\n bottom:\n 'data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 max-h-screen border-t',\n left: 'data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n right:\n 'data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n});\n\ntype SheetContentVariantsProps = VariantProps<typeof sheetContentVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\ntype SheetContentElement = React.ElementRef<typeof SheetPrimitive.Content>;\ntype SheetContentProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content> & SheetContentVariantsProps;\n\nconst SheetContent = React.forwardRef<SheetContentElement, SheetContentProps>(\n ({ children, side = 'right', className, ...props }, forwardedRef) => (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay className=\"data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80\" />\n <SheetPrimitive.Content ref={forwardedRef} className={sheetContentVariants({ side, className })} {...props}>\n {children}\n <SheetPrimitive.Close className=\"data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm p-1 opacity-70 transition hover:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none\">\n <Cross2Icon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n ),\n);\n\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\ntype SheetHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetHeader({ className, ...props }: SheetHeaderProps): React.JSX.Element {\n return (\n <header\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: SheetBody\n * -------------------------------------------------------------------------- */\n\ntype SheetBodyProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetBody({ className, ...props }: SheetHeaderProps): React.JSX.Element {\n return <main className={cn('px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\ntype SheetFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetFooter({ className, ...props }: SheetFooterProps): React.JSX.Element {\n return (\n <footer\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\nSheetFooter.displayName = 'SheetFooter';\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\ntype SheetTitleElement = React.ElementRef<typeof SheetPrimitive.Title>;\ntype SheetTitleProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>;\n\nconst SheetTitle = React.forwardRef<SheetTitleElement, SheetTitleProps>(({ className, ...props }, forwardedRef) => (\n <SheetPrimitive.Title\n ref={forwardedRef}\n className={cn('text-foreground text-lg font-semibold', className)}\n {...props}\n />\n));\n\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\ntype SheetDescriptionElement = React.ElementRef<typeof SheetPrimitive.Description>;\ntype SheetDescriptionProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>;\n\nconst SheetDescription = React.forwardRef<SheetDescriptionElement, SheetDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <SheetPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n ),\n);\n\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetBody,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n type SheetProps,\n type SheetTriggerProps,\n type SheetCloseProps,\n type SheetContentProps,\n type SheetHeaderProps,\n type SheetBodyProps,\n type SheetFooterProps,\n type SheetTitleProps,\n type SheetDescriptionProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/sheet.cjs","../../src/react/sheet.tsx"],"names":["Sheet","SheetTrigger","SheetClose","sheetContentVariants","tv","SheetContent","children","side","className","props","forwardedRef","jsxs","jsx","Cross2Icon","SheetHeader","cn","SheetBody","SheetFooter","SheetTitle","SheetDescription"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/sheet.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as SheetPrimitive from '@radix-ui/react-dialog';\nimport { Cross2Icon } from '@radix-ui/react-icons';\nimport { tv, type VariantProps } from 'tailwind-variants';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\ntype SheetProps = React.ComponentProps<typeof SheetPrimitive.Root>;\nconst Sheet = SheetPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\ntype SheetTriggerProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Trigger>;\nconst SheetTrigger = SheetPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\ntype SheetCloseProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Close>;\nconst SheetClose = SheetPrimitive.Close;\n\n/* -----------------------------------------------------------------------------\n * Variant: SheetContent\n * -------------------------------------------------------------------------- */\n\nconst sheetContentVariants = tv({\n base: 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 animate-ease-in-out fixed z-50 flex flex-col overflow-auto shadow-lg',\n variants: {\n side: {\n top: 'data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 max-h-screen border-b',\n bottom:\n 'data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 max-h-screen border-t',\n left: 'data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n right:\n 'data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n});\n\ntype SheetContentVariantsProps = VariantProps<typeof sheetContentVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\ntype SheetContentElement = React.ElementRef<typeof SheetPrimitive.Content>;\ntype SheetContentProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content> & SheetContentVariantsProps;\n\nconst SheetContent = React.forwardRef<SheetContentElement, SheetContentProps>(\n ({ children, side = 'right', className, ...props }, forwardedRef) => (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay className=\"data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80\" />\n <SheetPrimitive.Content ref={forwardedRef} className={sheetContentVariants({ side, className })} {...props}>\n {children}\n <SheetPrimitive.Close className=\"data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm p-1 opacity-70 transition hover:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none\">\n <Cross2Icon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n ),\n);\n\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\ntype SheetHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetHeader({ className, ...props }: SheetHeaderProps): React.JSX.Element {\n return (\n <header\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: SheetBody\n * -------------------------------------------------------------------------- */\n\ntype SheetBodyProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetBody({ className, ...props }: SheetHeaderProps): React.JSX.Element {\n return <main className={cn('px-6 py-2', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\ntype SheetFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetFooter({ className, ...props }: SheetFooterProps): React.JSX.Element {\n return (\n <footer\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\nSheetFooter.displayName = 'SheetFooter';\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\ntype SheetTitleElement = React.ElementRef<typeof SheetPrimitive.Title>;\ntype SheetTitleProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>;\n\nconst SheetTitle = React.forwardRef<SheetTitleElement, SheetTitleProps>(({ className, ...props }, forwardedRef) => (\n <SheetPrimitive.Title\n ref={forwardedRef}\n className={cn('text-foreground text-lg font-semibold', className)}\n {...props}\n />\n));\n\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\ntype SheetDescriptionElement = React.ElementRef<typeof SheetPrimitive.Description>;\ntype SheetDescriptionProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>;\n\nconst SheetDescription = React.forwardRef<SheetDescriptionElement, SheetDescriptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <SheetPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n ),\n);\n\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetBody,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n type SheetProps,\n type SheetTriggerProps,\n type SheetCloseProps,\n type SheetContentProps,\n type SheetHeaderProps,\n type SheetBodyProps,\n type SheetFooterProps,\n type SheetTitleProps,\n type SheetDescriptionProps,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/skeleton.tsx"],"names":["jsx","Skeleton","className","props","cn"],"mappings":"0CAUS,cAAAA,MAAA,oBADT,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAqC,CAC3E,OAAOH,EAAC,OAAI,UAAWI,EAAG,sCAAuCF,CAAS,EAAI,GAAGC,EAAO,CAC1F","sourcesContent":["import * as React from 'react';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element {\n return <div className={cn('bg-primary/10 animate-pulse rounded', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Skeleton, type SkeletonProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/skeleton.cjs","../../src/react/skeleton.tsx"],"names":["Skeleton","className","props","jsx","cn"],"mappings":"AAAA,kIAAyC,+CCUhC,SADAA,CAAAA,CAAS,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAqC,CAC3E,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,qCAAG,CAAuCH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAC1F,CAAA,qBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/skeleton.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element {\n return <div className={cn('bg-primary/10 animate-pulse rounded', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Skeleton, type SkeletonProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/slider.tsx"],"names":["React","SliderPrimitive","jsx","jsxs","Slider","className","props","forwardedRef","cn","value","index"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAqB,yBAW/B,OAMI,OAAAC,EANJ,QAAAC,MAAA,oBADF,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAiB,OAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,2DAA4DH,CAAS,EAClF,GAAGC,EAEJ,UAAAJ,EAAiB,QAAhB,CAAsB,UAAU,wEAC/B,SAAAA,EAAiB,QAAhB,CAAsB,UAAU,6BAA6B,EAChE,GAEEI,EAAM,OAASA,EAAM,cAAgB,CAAC,GAAG,IAAI,CAACG,EAAOC,IACrDR,EAAiB,QAAhB,CAGC,UAAU,mNACT,GAAII,EAAM,WAAa,OAAY,CAAE,SAAUA,EAAM,QAAS,EAAI,QAF9DI,CAGP,CACD,GACH,CACD,EAEDN,EAAO,YAA8B,OAAK","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SliderPrimitive from '@radix-ui/react-slider';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Slider\n * -------------------------------------------------------------------------- */\n\ntype SliderElement = React.ElementRef<typeof SliderPrimitive.Root>;\ntype SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;\n\nconst Slider = React.forwardRef<SliderElement, SliderProps>(({ className, ...props }, forwardedRef) => (\n <SliderPrimitive.Root\n ref={forwardedRef}\n className={cn('relative flex w-full touch-none select-none items-center', className)}\n {...props}\n >\n <SliderPrimitive.Track className=\"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full\">\n <SliderPrimitive.Range className=\"bg-primary absolute h-full\" />\n </SliderPrimitive.Track>\n\n {(props.value ?? props.defaultValue ?? []).map((value, index) => (\n <SliderPrimitive.Thumb\n // eslint-disable-next-line react/no-array-index-key -- index is stable\n key={index}\n className=\"border-primary/50 bg-background block size-4 rounded-full border shadow transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50\"\n {...(props.tabIndex !== undefined ? { tabIndex: props.tabIndex } : undefined)}\n />\n ))}\n </SliderPrimitive.Root>\n));\n\nSlider.displayName = SliderPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Slider, type SliderProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/slider.cjs","../../src/react/slider.tsx"],"names":["Slider","className","props","forwardedRef","jsxs","cn","jsx","value","index"],"mappings":"AAAA,2cAAY,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,8BAAAA,CAAiB,CAAA,IAAA,CAAhB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,0DAAG,CAA4DJ,CAAS,CAAA,CAClF,GAAGC,CAAAA,CAEJ,QAAA,CAAA,CAAAI,6BAAAA,CAAiB,CAAA,KAAA,CAAhB,CAAsB,SAAA,CAAU,uEAAA,CAC/B,QAAA,CAAAA,6BAAAA,CAAiB,CAAA,KAAA,CAAhB,CAAsB,SAAA,CAAU,4BAAA,CAA6B,CAAA,CAChE,CAAA,CAAA,mCAEEJ,CAAAA,CAAM,KAAA,SAASA,CAAAA,CAAM,cAAA,SAAgB,CAAC,GAAA,CAAA,CAAG,GAAA,CAAI,CAACK,CAAAA,CAAOC,CAAAA,CAAAA,EACrDF,6BAAAA,CAAiB,CAAA,KAAA,CAAhB,CAGC,SAAA,CAAU,kNAAA,CACT,GAAIJ,CAAAA,CAAM,QAAA,GAAa,KAAA,CAAA,CAAY,CAAE,QAAA,CAAUA,CAAAA,CAAM,QAAS,CAAA,CAAI,KAAA,CAAA,CAAA,CAF9DM,CAGP,CACD,CAAA,CAAA,CACH,CACD,CAAA,CAEDR,CAAAA,CAAO,WAAA,CAA8B,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,mBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/slider.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as SliderPrimitive from '@radix-ui/react-slider';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Slider\n * -------------------------------------------------------------------------- */\n\ntype SliderElement = React.ElementRef<typeof SliderPrimitive.Root>;\ntype SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;\n\nconst Slider = React.forwardRef<SliderElement, SliderProps>(({ className, ...props }, forwardedRef) => (\n <SliderPrimitive.Root\n ref={forwardedRef}\n className={cn('relative flex w-full touch-none select-none items-center', className)}\n {...props}\n >\n <SliderPrimitive.Track className=\"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full\">\n <SliderPrimitive.Range className=\"bg-primary absolute h-full\" />\n </SliderPrimitive.Track>\n\n {(props.value ?? props.defaultValue ?? []).map((value, index) => (\n <SliderPrimitive.Thumb\n // eslint-disable-next-line react/no-array-index-key -- index is stable\n key={index}\n className=\"border-primary/50 bg-background block size-4 rounded-full border shadow transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50\"\n {...(props.tabIndex !== undefined ? { tabIndex: props.tabIndex } : undefined)}\n />\n ))}\n </SliderPrimitive.Root>\n));\n\nSlider.displayName = SliderPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Slider, type SliderProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/sonner.tsx"],"names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,UAAU,gBACV,MAAOI,EACP,aAAc,CACZ,WAAY,CACV,aAAc,mEACd,aAAc,+DACd,QAAS,6BACT,YAAa,uCACb,MACE,uIACJ,CACF,EACC,GAAGD,EACN,CAEJ","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme } from 'next-themes';\nimport { toast, Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = 'light' | 'dark' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n className=\"toaster group\"\n theme={theme}\n toastOptions={{\n classNames: {\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n content: 'w-full flex flex-col gap-1',\n description: 'group-[.toast]:text-muted-foreground',\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/sonner.cjs","../../src/react/sonner.tsx"],"names":["Toaster","props","theme","useTheme","jsx","Sonner"],"mappings":"AAAA,qFAAY,CCGZ,yCAAyB,gCACgB,+CAarC,SAJKA,CAAAA,CAAQ,CAAE,GAAGC,CAAM,CAAA,CAAoC,CAC9D,GAAM,CAAE,KAAA,CAAAC,CAAAA,CAAQ,QAAS,CAAA,CAAIC,kCAAAA,CAAS,CAEtC,OACEC,6BAAAA,eAACC,CAAA,CACC,SAAA,CAAU,eAAA,CACV,KAAA,CAAOH,CAAAA,CACP,YAAA,CAAc,CACZ,UAAA,CAAY,CACV,YAAA,CAAc,kEAAA,CACd,YAAA,CAAc,8DAAA,CACd,OAAA,CAAS,4BAAA,CACT,WAAA,CAAa,sCAAA,CACb,KAAA,CACE,uIACJ,CACF,CAAA,CACC,GAAGD,CAAAA,CACN,CAEJ,CAAA,mDAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/sonner.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { useTheme } from 'next-themes';\nimport { toast, Toaster as Sonner } from 'sonner';\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = 'light' | 'dark' | 'system' | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = 'system' } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n className=\"toaster group\"\n theme={theme}\n toastOptions={{\n classNames: {\n actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground',\n cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',\n content: 'w-full flex flex-col gap-1',\n description: 'group-[.toast]:text-muted-foreground',\n toast:\n 'group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg',\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/spinner.cjs"],"names":[],"mappings":"AAAA,kIAAoC,iCAA8B,sCAAqB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/spinner.cjs"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/strong.tsx"],"names":["React","Slot","jsx","Strong","asChild","props","forwardedRef"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAe,aAAuC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAG3EJ,EAFWE,EAAUH,EAAO,SAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAO,YAAc","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'strong';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nStrong.displayName = 'Strong';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Strong, type StrongProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/strong.tsx"],"names":["Strong","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAe,CAAA,CAAA,UAAA,CAAuC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAG3EC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,QAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAO,WAAA,CAAc,QAAA,CAAA,mBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/strong.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'strong';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nStrong.displayName = 'Strong';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Strong, type StrongProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/switch.tsx"],"names":["React","SwitchPrimitives","jsx","Switch","className","props","forwardedRef","cn"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAsB,yBAmB9B,cAAAC,MAAA,oBATJ,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAkB,OAAjB,CACC,UAAWK,EACT,wSACAH,CACF,EACC,GAAGC,EACJ,IAAKC,EAEL,SAAAJ,EAAkB,QAAjB,CAAuB,UAAU,2JAA2J,EAC/L,CACD,EAEDC,EAAO,YAA+B,OAAK","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as SwitchPrimitives from '@radix-ui/react-switch';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Switch\n * -------------------------------------------------------------------------- */\n\ntype SwitchElement = React.ElementRef<typeof SwitchPrimitives.Root>;\ntype SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;\n\nconst Switch = React.forwardRef<SwitchElement, SwitchProps>(({ className, ...props }, forwardedRef) => (\n <SwitchPrimitives.Root\n className={cn(\n 'data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-sm transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-default disabled:opacity-50',\n className,\n )}\n {...props}\n ref={forwardedRef}\n >\n <SwitchPrimitives.Thumb className=\"bg-background pointer-events-none block size-4 rounded-full shadow-lg transition data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0\" />\n </SwitchPrimitives.Root>\n));\n\nSwitch.displayName = SwitchPrimitives.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Switch, type SwitchProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/switch.cjs","../../src/react/switch.tsx"],"names":["Switch","className","props","forwardedRef","jsx","cn"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,oGACW,+CAmB9B,IATEA,CAAAA,CAAe,CAAA,CAAA,UAAA,CAAuC,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACpFC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CACC,SAAA,CAAWC,iCAAAA,uSACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACJ,GAAA,CAAKC,CAAAA,CAEL,QAAA,CAAAC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,SAAA,CAAU,0JAAA,CAA2J,CAAA,CAC/L,CACD,CAAA,CAEDJ,CAAAA,CAAO,WAAA,CAA+B,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,mBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/switch.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as SwitchPrimitives from '@radix-ui/react-switch';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Switch\n * -------------------------------------------------------------------------- */\n\ntype SwitchElement = React.ElementRef<typeof SwitchPrimitives.Root>;\ntype SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;\n\nconst Switch = React.forwardRef<SwitchElement, SwitchProps>(({ className, ...props }, forwardedRef) => (\n <SwitchPrimitives.Root\n className={cn(\n 'data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-sm transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-default disabled:opacity-50',\n className,\n )}\n {...props}\n ref={forwardedRef}\n >\n <SwitchPrimitives.Thumb className=\"bg-background pointer-events-none block size-4 rounded-full shadow-lg transition data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0\" />\n </SwitchPrimitives.Root>\n));\n\nSwitch.displayName = SwitchPrimitives.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Switch, type SwitchProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/table.tsx"],"names":["React","jsx","Table","className","props","forwardedRef","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":"0CAAA,UAAYA,MAAW,QAYnB,cAAAC,MAAA,oBAFJ,IAAMC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACjFJ,EAAC,OAAI,UAAU,gCACb,SAAAA,EAAC,SAAM,IAAKI,EAAc,UAAWC,EAAG,gCAAiCH,CAAS,EAAI,GAAGC,EAAO,EAClG,CACD,EAEDF,EAAM,YAAc,QASpB,IAAMK,EAAoB,aAAiD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACnGJ,EAAC,SAAM,IAAKI,EAAc,UAAWC,EAAG,kBAAmBH,CAAS,EAAI,GAAGC,EAAO,CACnF,EAEDG,EAAY,YAAc,cAS1B,IAAMC,EAAkB,aAA6C,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IAC7FJ,EAAC,SAAM,IAAKI,EAAc,UAAWC,EAAG,6BAA8BH,CAAS,EAAI,GAAGC,EAAO,CAC9F,EAEDI,EAAU,YAAc,YASxB,IAAMC,EAAoB,aAAiD,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IACnGJ,EAAC,SACC,IAAKI,EACL,UAAWC,EAAG,0DAA2DH,CAAS,EACjF,GAAGC,EACN,CACD,EAEDK,EAAY,YAAc,cAS1B,IAAMC,EAAiB,aAA2C,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IAC1FJ,EAAC,MACC,IAAKI,EACL,UAAWC,EAAG,uEAAwEH,CAAS,EAC9F,GAAGC,EACN,CACD,EAEDM,EAAS,YAAc,WASvB,IAAMC,EAAkB,aAA6C,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IAC7FJ,EAAC,MACC,IAAKI,EACL,UAAWC,EACT,mGACAH,CACF,EACC,GAAGC,EACN,CACD,EAEDO,EAAU,YAAc,YASxB,IAAMC,EAAkB,aAA6C,CAAC,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAGC,IAC7FJ,EAAC,MAAG,IAAKI,EAAc,UAAWC,EAAG,iDAAkDH,CAAS,EAAI,GAAGC,EAAO,CAC/G,EAEDQ,EAAU,YAAc,YASxB,IAAMC,EAAqB,aACzB,CAAC,CAAE,UAAAV,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAC,WAAQ,IAAKI,EAAc,UAAWC,EAAG,qCAAsCH,CAAS,EAAI,GAAGC,EAAO,CAE3G,EAEAS,EAAa,YAAc","sourcesContent":["import * as React from 'react';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Table\n * -------------------------------------------------------------------------- */\n\ntype TableElement = HTMLTableElement;\ntype TableProps = React.HTMLAttributes<HTMLTableElement>;\n\nconst Table = React.forwardRef<TableElement, TableProps>(({ className, ...props }, forwardedRef) => (\n <div className=\"relative w-full overflow-auto\">\n <table ref={forwardedRef} className={cn('w-full caption-bottom text-sm', className)} {...props} />\n </div>\n));\n\nTable.displayName = 'Table';\n\n/* -----------------------------------------------------------------------------\n * Component: TableHeader\n * -------------------------------------------------------------------------- */\n\ntype TableHeaderElement = HTMLTableSectionElement;\ntype TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement>;\n\nconst TableHeader = React.forwardRef<TableHeaderElement, TableHeaderProps>(({ className, ...props }, forwardedRef) => (\n <thead ref={forwardedRef} className={cn('[&_tr]:border-b', className)} {...props} />\n));\n\nTableHeader.displayName = 'TableHeader';\n\n/* -----------------------------------------------------------------------------\n * Component: TableBody\n * -------------------------------------------------------------------------- */\n\ntype TableBodyElement = HTMLTableSectionElement;\ntype TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement>;\n\nconst TableBody = React.forwardRef<TableBodyElement, TableBodyProps>(({ className, ...props }, forwardedRef) => (\n <tbody ref={forwardedRef} className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n));\n\nTableBody.displayName = 'TableBody';\n\n/* -----------------------------------------------------------------------------\n * Component: TableFooter\n * -------------------------------------------------------------------------- */\n\ntype TableFooterElement = HTMLTableSectionElement;\ntype TableFooterProps = React.HTMLAttributes<HTMLTableSectionElement>;\n\nconst TableFooter = React.forwardRef<TableFooterElement, TableFooterProps>(({ className, ...props }, forwardedRef) => (\n <tfoot\n ref={forwardedRef}\n className={cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', className)}\n {...props}\n />\n));\n\nTableFooter.displayName = 'TableFooter';\n\n/* -----------------------------------------------------------------------------\n * Component: TableRow\n * -------------------------------------------------------------------------- */\n\ntype TableRowElement = HTMLTableRowElement;\ntype TableRowProps = React.HTMLAttributes<HTMLTableRowElement>;\n\nconst TableRow = React.forwardRef<TableRowElement, TableRowProps>(({ className, ...props }, forwardedRef) => (\n <tr\n ref={forwardedRef}\n className={cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition', className)}\n {...props}\n />\n));\n\nTableRow.displayName = 'TableRow';\n\n/* -----------------------------------------------------------------------------\n * Component: TableHead\n * -------------------------------------------------------------------------- */\n\ntype TableHeadElement = HTMLTableCellElement;\ntype TableHeadProps = React.ThHTMLAttributes<HTMLTableCellElement>;\n\nconst TableHead = React.forwardRef<TableHeadElement, TableHeadProps>(({ className, ...props }, forwardedRef) => (\n <th\n ref={forwardedRef}\n className={cn(\n 'text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0',\n className,\n )}\n {...props}\n />\n));\n\nTableHead.displayName = 'TableHead';\n\n/* -----------------------------------------------------------------------------\n * Component: TableCell\n * -------------------------------------------------------------------------- */\n\ntype TableCellElement = HTMLTableCellElement;\ntype TableCellProps = React.TdHTMLAttributes<HTMLTableCellElement>;\n\nconst TableCell = React.forwardRef<TableCellElement, TableCellProps>(({ className, ...props }, forwardedRef) => (\n <td ref={forwardedRef} className={cn('p-4 align-middle [&:has([role=checkbox])]:pr-0', className)} {...props} />\n));\n\nTableCell.displayName = 'TableCell';\n\n/* -----------------------------------------------------------------------------\n * Component: TableCaption\n * -------------------------------------------------------------------------- */\n\ntype TableCaptionElement = HTMLTableCaptionElement;\ntype TableCaptionProps = React.HTMLAttributes<HTMLTableCaptionElement>;\n\nconst TableCaption = React.forwardRef<TableCaptionElement, TableCaptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <caption ref={forwardedRef} className={cn('text-muted-foreground mt-4 text-sm', className)} {...props} />\n ),\n);\n\nTableCaption.displayName = 'TableCaption';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n type TableProps,\n type TableHeaderProps,\n type TableBodyProps,\n type TableFooterProps,\n type TableHeadProps,\n type TableRowProps,\n type TableCellProps,\n type TableCaptionProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/table.cjs","../../src/react/table.tsx"],"names":["Table","className","props","forwardedRef","jsx","cn","TableHeader","TableBody","TableFooter","TableRow","TableHead","TableCell","TableCaption"],"mappings":"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","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/table.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Table\n * -------------------------------------------------------------------------- */\n\ntype TableElement = HTMLTableElement;\ntype TableProps = React.HTMLAttributes<HTMLTableElement>;\n\nconst Table = React.forwardRef<TableElement, TableProps>(({ className, ...props }, forwardedRef) => (\n <div className=\"relative w-full overflow-auto\">\n <table ref={forwardedRef} className={cn('w-full caption-bottom text-sm', className)} {...props} />\n </div>\n));\n\nTable.displayName = 'Table';\n\n/* -----------------------------------------------------------------------------\n * Component: TableHeader\n * -------------------------------------------------------------------------- */\n\ntype TableHeaderElement = HTMLTableSectionElement;\ntype TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement>;\n\nconst TableHeader = React.forwardRef<TableHeaderElement, TableHeaderProps>(({ className, ...props }, forwardedRef) => (\n <thead ref={forwardedRef} className={cn('[&_tr]:border-b', className)} {...props} />\n));\n\nTableHeader.displayName = 'TableHeader';\n\n/* -----------------------------------------------------------------------------\n * Component: TableBody\n * -------------------------------------------------------------------------- */\n\ntype TableBodyElement = HTMLTableSectionElement;\ntype TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement>;\n\nconst TableBody = React.forwardRef<TableBodyElement, TableBodyProps>(({ className, ...props }, forwardedRef) => (\n <tbody ref={forwardedRef} className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n));\n\nTableBody.displayName = 'TableBody';\n\n/* -----------------------------------------------------------------------------\n * Component: TableFooter\n * -------------------------------------------------------------------------- */\n\ntype TableFooterElement = HTMLTableSectionElement;\ntype TableFooterProps = React.HTMLAttributes<HTMLTableSectionElement>;\n\nconst TableFooter = React.forwardRef<TableFooterElement, TableFooterProps>(({ className, ...props }, forwardedRef) => (\n <tfoot\n ref={forwardedRef}\n className={cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', className)}\n {...props}\n />\n));\n\nTableFooter.displayName = 'TableFooter';\n\n/* -----------------------------------------------------------------------------\n * Component: TableRow\n * -------------------------------------------------------------------------- */\n\ntype TableRowElement = HTMLTableRowElement;\ntype TableRowProps = React.HTMLAttributes<HTMLTableRowElement>;\n\nconst TableRow = React.forwardRef<TableRowElement, TableRowProps>(({ className, ...props }, forwardedRef) => (\n <tr\n ref={forwardedRef}\n className={cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition', className)}\n {...props}\n />\n));\n\nTableRow.displayName = 'TableRow';\n\n/* -----------------------------------------------------------------------------\n * Component: TableHead\n * -------------------------------------------------------------------------- */\n\ntype TableHeadElement = HTMLTableCellElement;\ntype TableHeadProps = React.ThHTMLAttributes<HTMLTableCellElement>;\n\nconst TableHead = React.forwardRef<TableHeadElement, TableHeadProps>(({ className, ...props }, forwardedRef) => (\n <th\n ref={forwardedRef}\n className={cn(\n 'text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0',\n className,\n )}\n {...props}\n />\n));\n\nTableHead.displayName = 'TableHead';\n\n/* -----------------------------------------------------------------------------\n * Component: TableCell\n * -------------------------------------------------------------------------- */\n\ntype TableCellElement = HTMLTableCellElement;\ntype TableCellProps = React.TdHTMLAttributes<HTMLTableCellElement>;\n\nconst TableCell = React.forwardRef<TableCellElement, TableCellProps>(({ className, ...props }, forwardedRef) => (\n <td ref={forwardedRef} className={cn('p-4 align-middle [&:has([role=checkbox])]:pr-0', className)} {...props} />\n));\n\nTableCell.displayName = 'TableCell';\n\n/* -----------------------------------------------------------------------------\n * Component: TableCaption\n * -------------------------------------------------------------------------- */\n\ntype TableCaptionElement = HTMLTableCaptionElement;\ntype TableCaptionProps = React.HTMLAttributes<HTMLTableCaptionElement>;\n\nconst TableCaption = React.forwardRef<TableCaptionElement, TableCaptionProps>(\n ({ className, ...props }, forwardedRef) => (\n <caption ref={forwardedRef} className={cn('text-muted-foreground mt-4 text-sm', className)} {...props} />\n ),\n);\n\nTableCaption.displayName = 'TableCaption';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n type TableProps,\n type TableHeaderProps,\n type TableBodyProps,\n type TableFooterProps,\n type TableHeadProps,\n type TableRowProps,\n type TableCellProps,\n type TableCaptionProps,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/tabs.tsx"],"names":["React","TabsPrimitive","jsx","Tabs","TabsList","className","props","forwardedRef","cn","TabsTrigger","TabsContent"],"mappings":"kDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAmB,uBAkB7B,cAAAC,MAAA,oBAVF,IAAMC,EAAqB,OASrBC,EAAiB,aAA2C,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1FL,EAAe,OAAd,CACC,IAAKK,EACL,UAAWC,EACT,mGACAH,CACF,EACC,GAAGC,EACN,CACD,EAEDF,EAAS,YAA4B,OAAK,YAS1C,IAAMK,EAAoB,aAAiD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACnGL,EAAe,UAAd,CACC,IAAKK,EACL,UAAWC,EACT,4WACAH,CACF,EACC,GAAGC,EACN,CACD,EAEDG,EAAY,YAA4B,UAAQ,YAShD,IAAMC,EAAoB,aAAiD,CAAC,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAGC,IACnGL,EAAe,UAAd,CACC,IAAKK,EACL,UAAWC,EACT,+FACAH,CACF,EACC,GAAGC,EACN,CACD,EAEDI,EAAY,YAA4B,UAAQ","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Tabs\n * -------------------------------------------------------------------------- */\n\ntype TabsProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>;\nconst Tabs = TabsPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsList\n * -------------------------------------------------------------------------- */\n\ntype TabsListElement = React.ElementRef<typeof TabsPrimitive.List>;\ntype TabsListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;\n\nconst TabsList = React.forwardRef<TabsListElement, TabsListProps>(({ className, ...props }, forwardedRef) => (\n <TabsPrimitive.List\n ref={forwardedRef}\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-md p-1',\n className,\n )}\n {...props}\n />\n));\n\nTabsList.displayName = TabsPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsTrigger\n * -------------------------------------------------------------------------- */\n\ntype TabsTriggerElement = React.ElementRef<typeof TabsPrimitive.Trigger>;\ntype TabsTriggerProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>;\n\nconst TabsTrigger = React.forwardRef<TabsTriggerElement, TabsTriggerProps>(({ className, ...props }, forwardedRef) => (\n <TabsPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm',\n className,\n )}\n {...props}\n />\n));\n\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsContent\n * -------------------------------------------------------------------------- */\n\ntype TabsContentElement = React.ElementRef<typeof TabsPrimitive.Content>;\ntype TabsContentProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;\n\nconst TabsContent = React.forwardRef<TabsContentElement, TabsContentProps>(({ className, ...props }, forwardedRef) => (\n <TabsPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'mt-2 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2',\n className,\n )}\n {...props}\n />\n));\n\nTabsContent.displayName = TabsPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Tabs,\n TabsList,\n TabsTrigger,\n TabsContent,\n type TabsProps,\n type TabsListProps,\n type TabsTriggerProps,\n type TabsContentProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/tabs.cjs","../../src/react/tabs.tsx"],"names":["Tabs","TabsList","className","props","forwardedRef","jsx","cn","TabsTrigger","TabsContent"],"mappings":"AAAA,uWAAY,CAAC,yDAAoC,uECE1B,8FACQ,+CAkB7B,IAVIA,CAAAA,CAAqB,CAAA,CAAA,IAAA,CASrBC,CAAAA,oBAAiB,CAAA,CAAA,UAAA,CAA2C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1FC,6BAAAA,CAAe,CAAA,IAAA,CAAd,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,kGACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACD,CAAA,CAEDF,CAAAA,CAAS,WAAA,CAA4B,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,CAAe,CAAA,OAAA,CAAd,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,2WACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACD,CAAA,CAEDI,CAAAA,CAAY,WAAA,CAA4B,CAAA,CAAA,OAAA,CAAQ,WAAA,CAShD,IAAMC,CAAAA,CAAoB,CAAA,CAAA,UAAA,CAAiD,CAAC,CAAE,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACnGC,6BAAAA,CAAe,CAAA,OAAA,CAAd,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,8FACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CACD,CAAA,CAEDK,CAAAA,CAAY,WAAA,CAA4B,CAAA,CAAA,OAAA,CAAQ,WAAA,CAAA,yFAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/tabs.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as TabsPrimitive from '@radix-ui/react-tabs';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Tabs\n * -------------------------------------------------------------------------- */\n\ntype TabsProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root>;\nconst Tabs = TabsPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsList\n * -------------------------------------------------------------------------- */\n\ntype TabsListElement = React.ElementRef<typeof TabsPrimitive.List>;\ntype TabsListProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;\n\nconst TabsList = React.forwardRef<TabsListElement, TabsListProps>(({ className, ...props }, forwardedRef) => (\n <TabsPrimitive.List\n ref={forwardedRef}\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-10 items-center justify-center gap-1 rounded-md p-1',\n className,\n )}\n {...props}\n />\n));\n\nTabsList.displayName = TabsPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsTrigger\n * -------------------------------------------------------------------------- */\n\ntype TabsTriggerElement = React.ElementRef<typeof TabsPrimitive.Trigger>;\ntype TabsTriggerProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>;\n\nconst TabsTrigger = React.forwardRef<TabsTriggerElement, TabsTriggerProps>(({ className, ...props }, forwardedRef) => (\n <TabsPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium outline-transparent transition-all focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm',\n className,\n )}\n {...props}\n />\n));\n\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: TabsContent\n * -------------------------------------------------------------------------- */\n\ntype TabsContentElement = React.ElementRef<typeof TabsPrimitive.Content>;\ntype TabsContentProps = React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;\n\nconst TabsContent = React.forwardRef<TabsContentElement, TabsContentProps>(({ className, ...props }, forwardedRef) => (\n <TabsPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'mt-2 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2',\n className,\n )}\n {...props}\n />\n));\n\nTabsContent.displayName = TabsPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Tabs,\n TabsList,\n TabsTrigger,\n TabsContent,\n type TabsProps,\n type TabsListProps,\n type TabsTriggerProps,\n type TabsContentProps,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/text-input.tsx"],"names":["React","jsx","TextInput","className","loading","loaderPosition","prefix","suffix","inputSize","props","ref","Input","InputSlot"],"mappings":"0HAEA,UAAYA,MAAW,QAqBf,cAAAC,MAAA,oBAXR,IAAMC,EAAkB,aACtB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,eAAAC,EAAgB,OAAAC,EAAQ,OAAAC,EAAQ,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAE1ET,EAACU,EAAA,CACC,UAAWR,EACX,UAAWK,EACX,eAAgBH,EAChB,QAASD,EACT,OAAQE,EACR,OAAQC,EAER,SAAAN,EAACW,EAAA,CAAU,IAAKF,EAAM,GAAGD,EAAO,EAClC,CAGN,EAEAP,EAAU,YAAc","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Input, type InputProps, InputSlot, type InputSlotProps } from './input';\n\n/* -----------------------------------------------------------------------------\n * Component: TextInput\n * -------------------------------------------------------------------------- */\n\ntype TextInputElement = HTMLInputElement;\ninterface TextInputProps extends InputProps, Omit<InputSlotProps, 'prefix'> {}\n\nconst TextInput = React.forwardRef<TextInputElement, TextInputProps>(\n ({ className, loading, loaderPosition, prefix, suffix, inputSize, ...props }, ref) => {\n return (\n <Input\n className={className}\n inputSize={inputSize}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix}\n suffix={suffix}\n >\n <InputSlot ref={ref} {...props} />\n </Input>\n );\n },\n);\n\nTextInput.displayName = 'TextInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { TextInput, type TextInputProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/text-input.cjs","../../src/react/text-input.tsx"],"names":["TextInput","className","loading","loaderPosition","prefix","suffix","inputSize","props","ref","jsx","Input","InputSlot"],"mappings":"AAAA,uWAAY,CAAC,yDAAgD,iCAA8B,iCAA8B,uECElG,+CAqBf,IAXFA,CAAAA,CAAkB,CAAA,CAAA,UAAA,CACtB,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,OAAA,CAAAC,CAAAA,CAAS,cAAA,CAAAC,CAAAA,CAAgB,MAAA,CAAAC,CAAAA,CAAQ,MAAA,CAAAC,CAAAA,CAAQ,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAE1EC,6BAAAA,mBAACC,CAAA,CACC,SAAA,CAAWT,CAAAA,CACX,SAAA,CAAWK,CAAAA,CACX,cAAA,CAAgBH,CAAAA,CAChB,OAAA,CAASD,CAAAA,CACT,MAAA,CAAQE,CAAAA,CACR,MAAA,CAAQC,CAAAA,CAER,QAAA,CAAAI,6BAAAA,mBAACE,CAAA,CAAU,GAAA,CAAKH,CAAAA,CAAM,GAAGD,CAAAA,CAAO,CAAA,CAClC,CAGN,CAAA,CAEAP,CAAAA,CAAU,WAAA,CAAc,WAAA,CAAA,sBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/text-input.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { Input, type InputProps, InputSlot, type InputSlotProps } from './input';\n\n/* -----------------------------------------------------------------------------\n * Component: TextInput\n * -------------------------------------------------------------------------- */\n\ntype TextInputElement = HTMLInputElement;\ninterface TextInputProps extends InputProps, Omit<InputSlotProps, 'prefix'> {}\n\nconst TextInput = React.forwardRef<TextInputElement, TextInputProps>(\n ({ className, loading, loaderPosition, prefix, suffix, inputSize, ...props }, ref) => {\n return (\n <Input\n className={className}\n inputSize={inputSize}\n loaderPosition={loaderPosition}\n loading={loading}\n prefix={prefix}\n suffix={suffix}\n >\n <InputSlot ref={ref} {...props} />\n </Input>\n );\n },\n);\n\nTextInput.displayName = 'TextInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { TextInput, type TextInputProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/text.tsx"],"names":["React","Slot","jsx","Text","Tag","asChild","props","forwardedRef"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAuBZ,cAAAC,MAAA,oBAHT,IAAMC,EAAa,aAAmC,CAAC,CAAE,GAAIC,EAAM,IAAK,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGpFL,EAFWG,EAAUJ,EAAOG,EAE3B,CAAU,IAAKG,EAAe,GAAGD,EAAO,CACjD,EAEDH,EAAK,YAAc","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Text\n * -------------------------------------------------------------------------- */\n\ntype TextElement = HTMLParagraphElement;\n\ninterface TextParagraphProps extends React.HTMLAttributes<HTMLParagraphElement> {\n as?: 'p';\n}\n\ninterface TextSpanProps extends React.HTMLAttributes<HTMLSpanElement> {\n as: 'span';\n}\n\ntype TextProps = (TextParagraphProps | TextSpanProps) & {\n asChild?: boolean;\n};\n\nconst Text = React.forwardRef<TextElement, TextProps>(({ as: Tag = 'p', asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : Tag;\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nText.displayName = 'Text';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Text, type TextProps };\n"]}
1
+ {"version":3,"sources":["../../src/react/text.tsx"],"names":["Text","Tag","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAuBZ,IAHHA,CAAAA,CAAa,CAAA,CAAA,UAAA,CAAmC,CAAC,CAAE,EAAA,CAAIC,CAAAA,CAAM,GAAA,CAAK,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGpFC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAOL,CAAAA,CAE3B,CAAU,GAAA,CAAKG,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDH,CAAAA,CAAK,WAAA,CAAc,MAAA,CAAA,iBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/text.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Text\n * -------------------------------------------------------------------------- */\n\ntype TextElement = HTMLParagraphElement;\n\ninterface TextParagraphProps extends React.HTMLAttributes<HTMLParagraphElement> {\n as?: 'p';\n}\n\ninterface TextSpanProps extends React.HTMLAttributes<HTMLSpanElement> {\n as: 'span';\n}\n\ntype TextProps = (TextParagraphProps | TextSpanProps) & {\n asChild?: boolean;\n};\n\nconst Text = React.forwardRef<TextElement, TextProps>(({ as: Tag = 'p', asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : Tag;\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nText.displayName = 'Text';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Text, type TextProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/textarea.tsx"],"names":["React","jsx","Textarea","className","props","forwardedRef","cn"],"mappings":"0CAAA,UAAYA,MAAW,QAYnB,cAAAC,MAAA,oBAFJ,IAAMC,EAAiB,aAA2C,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAExFJ,EAAC,YACC,IAAKI,EACL,UAAWC,EACT,4PACAH,CACF,EACC,GAAGC,EACN,CAEH,EAEDF,EAAS,YAAc","sourcesContent":["import * as React from 'react';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Textarea\n * -------------------------------------------------------------------------- */\n\ntype TextareaElement = HTMLTextAreaElement;\ntype TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;\n\nconst Textarea = React.forwardRef<TextareaElement, TextareaProps>(({ className, ...props }, forwardedRef) => {\n return (\n <textarea\n ref={forwardedRef}\n className={cn(\n 'border-input placeholder:text-muted-foreground flex min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-default disabled:opacity-50',\n className,\n )}\n {...props}\n />\n );\n});\n\nTextarea.displayName = 'Textarea';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Textarea, type TextareaProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/textarea.cjs","../../src/react/textarea.tsx"],"names":["Textarea","className","props","forwardedRef","jsx","cn"],"mappings":"AAAA,oZAAyC,uECAlB,+CAYnB,IAFEA,CAAAA,CAAiB,CAAA,CAAA,UAAA,CAA2C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAExFC,6BAAAA,UAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,2PACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEH,CAAA,CAEDF,CAAAA,CAAS,WAAA,CAAc,UAAA,CAAA,qBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/textarea.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Textarea\n * -------------------------------------------------------------------------- */\n\ntype TextareaElement = HTMLTextAreaElement;\ntype TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;\n\nconst Textarea = React.forwardRef<TextareaElement, TextareaProps>(({ className, ...props }, forwardedRef) => {\n return (\n <textarea\n ref={forwardedRef}\n className={cn(\n 'border-input placeholder:text-muted-foreground flex min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-default disabled:opacity-50',\n className,\n )}\n {...props}\n />\n );\n});\n\nTextarea.displayName = 'Textarea';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Textarea, type TextareaProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/toggle-group.tsx"],"names":["React","ToggleGroupPrimitive","createToggleGroupScope","createContextScope","jsx","TOGGLE_GROUP_NAME","createToggleGroupContext","useToggleGroupScope","ToggleGroupProvider","useToggleGroupContext","ToggleGroup","__scopeToggleGroup","children","className","variant","size","props","forwardedRef","toggleGroupScope","cn","TOGGLE_GROUP_ITEM_NAME","ToggleGroupItem","context","toggleVariants"],"mappings":"iGAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,+BACtC,OAAS,0BAAAC,MAA8B,+BACvC,OAAS,sBAAAC,MAAsC,0BA8BvC,cAAAC,MAAA,oBAtBR,IAAMC,EAAoB,cAIpB,CAACC,CAAwB,EAAIH,EAAmBE,EAAmB,CAACH,CAAsB,CAAC,EAE3FK,EAAsBL,EAAuB,EAE7C,CAACM,EAAqBC,CAAqB,EAAIH,EAA8CD,CAAiB,EAK9GK,EAAoB,aACxB,CACE,CAAE,mBAAAC,EAAoB,SAAAC,EAAU,UAAAC,EAAW,QAAAC,EAAS,KAAAC,EAAM,GAAGC,CAAM,EACnEC,IACG,CACH,IAAMC,EAAmBX,EAAoBI,CAAkB,EAE/D,OACEP,EAACI,EAAA,CAAoB,MAAOG,EAAoB,KAAMI,EAAM,QAASD,EACnE,SAAAV,EAAsB,OAArB,CACC,IAAKa,EACL,UAAWE,EAAG,yCAA0CN,CAAS,EAChE,GAAGK,EACH,GAAGF,EAEH,SAAAJ,EACH,EACF,CAEJ,CACF,EAEAF,EAAY,YAAcL,EAM1B,IAAMe,EAAyB,kBAKzBC,EAAwB,aAC5B,CAAC,CAAE,mBAAAV,EAAoB,SAAAC,EAAU,UAAAC,EAAW,GAAGG,CAAM,EAAsCC,IAAiB,CAC1G,IAAMK,EAAUb,EAAsBW,EAAwBT,CAAkB,EAC1EO,EAAmBX,EAAoBI,CAAkB,EAE/D,OACEP,EAAsB,OAArB,CACC,IAAKa,EACL,UAAWM,EAAe,CAAE,GAAGD,EAAS,UAAAT,CAAU,CAAC,EAClD,GAAGK,EACH,GAAGF,EAEH,SAAAJ,EACH,CAEJ,CACF,EAEAS,EAAgB,YAAcD","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { createToggleGroupScope } from '@radix-ui/react-toggle-group';\nimport { createContextScope, type Scope } from '@radix-ui/react-context';\nimport { cn } from '../lib/utils';\nimport { toggleVariants, type ToggleVariantsProps } from './toggle';\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroup\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_NAME = 'ToggleGroup';\n\ntype ScopedProps<P> = P & { __scopeToggleGroup?: Scope };\n\nconst [createToggleGroupContext] = createContextScope(TOGGLE_GROUP_NAME, [createToggleGroupScope]);\n\nconst useToggleGroupScope = createToggleGroupScope();\n\nconst [ToggleGroupProvider, useToggleGroupContext] = createToggleGroupContext<ToggleVariantsProps>(TOGGLE_GROUP_NAME);\n\ntype ToggleGroupElement = React.ElementRef<typeof ToggleGroupPrimitive.Root>;\ntype ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & ToggleVariantsProps;\n\nconst ToggleGroup = React.forwardRef<ToggleGroupElement, ToggleGroupProps>(\n (\n { __scopeToggleGroup, children, className, variant, size, ...props }: ScopedProps<ToggleGroupProps>,\n forwardedRef,\n ) => {\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupProvider scope={__scopeToggleGroup} size={size} variant={variant}>\n <ToggleGroupPrimitive.Root\n ref={forwardedRef}\n className={cn('flex items-center justify-center gap-1', className)}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Root>\n </ToggleGroupProvider>\n );\n },\n);\n\nToggleGroup.displayName = TOGGLE_GROUP_NAME;\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroupItem\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_ITEM_NAME = 'ToggleGroupItem';\n\ntype ToggleGroupItemElement = React.ElementRef<typeof ToggleGroupPrimitive.Item>;\ntype ToggleGroupItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>;\n\nconst ToggleGroupItem = React.forwardRef<ToggleGroupItemElement, ToggleGroupItemProps>(\n ({ __scopeToggleGroup, children, className, ...props }: ScopedProps<ToggleGroupItemProps>, forwardedRef) => {\n const context = useToggleGroupContext(TOGGLE_GROUP_ITEM_NAME, __scopeToggleGroup);\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={forwardedRef}\n className={toggleVariants({ ...context, className })}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n },\n);\n\nToggleGroupItem.displayName = TOGGLE_GROUP_ITEM_NAME;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleGroupItemProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/toggle-group.cjs","../../src/react/toggle-group.tsx"],"names":["TOGGLE_GROUP_NAME","createToggleGroupContext","createContextScope","createToggleGroupScope","useToggleGroupScope","ToggleGroupProvider","useToggleGroupContext","ToggleGroup","__scopeToggleGroup","children","className","variant","size","props","forwardedRef","toggleGroupScope","jsx","cn","TOGGLE_GROUP_ITEM_NAME","ToggleGroupItem","context","toggleVariants"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,yDAA0C,uECEzE,oHACe,uDAES,+CA8BvC,IAtBFA,CAAAA,CAAoB,aAAA,CAIpB,CAACC,CAAwB,CAAA,CAAIC,8CAAAA,CAAmBF,CAAmB,CAACG,wCAAsB,CAAC,CAAA,CAE3FC,CAAAA,CAAsBD,sDAAAA,CAAuB,CAE7C,CAACE,CAAAA,CAAqBC,CAAqB,CAAA,CAAIL,CAAAA,CAA8CD,CAAiB,CAAA,CAK9GO,CAAAA,uBAAoB,CAAA,CAAA,UAAA,CACxB,CACE,CAAE,kBAAA,CAAAC,CAAAA,CAAoB,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,OAAA,CAAAC,CAAAA,CAAS,IAAA,CAAAC,CAAAA,CAAM,GAAGC,CAAM,CAAA,CACnEC,CAAAA,CAAAA,EACG,CACH,IAAMC,CAAAA,CAAmBX,CAAAA,CAAoBI,CAAkB,CAAA,CAE/D,OACEQ,6BAAAA,CAACX,CAAA,CAAoB,KAAA,CAAOG,CAAAA,CAAoB,IAAA,CAAMI,CAAAA,CAAM,OAAA,CAASD,CAAAA,CACnE,QAAA,CAAAK,6BAAAA,CAAsB,CAAA,IAAA,CAArB,CACC,GAAA,CAAKF,CAAAA,CACL,SAAA,CAAWG,iCAAAA,wCAAG,CAA0CP,CAAS,CAAA,CAChE,GAAGK,CAAAA,CACH,GAAGF,CAAAA,CAEH,QAAA,CAAAJ,CAAAA,CACH,CAAA,CACF,CAEJ,CACF,CAAA,CAEAF,CAAAA,CAAY,WAAA,CAAcP,CAAAA,CAM1B,IAAMkB,CAAAA,CAAyB,iBAAA,CAKzBC,CAAAA,2BAAwB,CAAA,CAAA,UAAA,CAC5B,CAAC,CAAE,kBAAA,CAAAX,CAAAA,CAAoB,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGG,CAAM,CAAA,CAAsCC,CAAAA,CAAAA,EAAiB,CAC1G,IAAMM,CAAAA,CAAUd,CAAAA,CAAsBY,CAAAA,CAAwBV,CAAkB,CAAA,CAC1EO,CAAAA,CAAmBX,CAAAA,CAAoBI,CAAkB,CAAA,CAE/D,OACEQ,6BAAAA,CAAsB,CAAA,IAAA,CAArB,CACC,GAAA,CAAKF,CAAAA,CACL,SAAA,CAAWO,iCAAAA,CAAiB,GAAGD,CAAAA,CAAS,SAAA,CAAAV,CAAU,CAAC,CAAA,CAClD,GAAGK,CAAAA,CACH,GAAGF,CAAAA,CAEH,QAAA,CAAAJ,CAAAA,CACH,CAEJ,CACF,CAAA,CAEAU,CAAAA,CAAgB,WAAA,CAAcD,CAAAA,CAAAA,qDAAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/toggle-group.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { createToggleGroupScope } from '@radix-ui/react-toggle-group';\nimport { createContextScope, type Scope } from '@radix-ui/react-context';\nimport { cn } from '../lib/utils';\nimport { toggleVariants, type ToggleVariantsProps } from './toggle';\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroup\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_NAME = 'ToggleGroup';\n\ntype ScopedProps<P> = P & { __scopeToggleGroup?: Scope };\n\nconst [createToggleGroupContext] = createContextScope(TOGGLE_GROUP_NAME, [createToggleGroupScope]);\n\nconst useToggleGroupScope = createToggleGroupScope();\n\nconst [ToggleGroupProvider, useToggleGroupContext] = createToggleGroupContext<ToggleVariantsProps>(TOGGLE_GROUP_NAME);\n\ntype ToggleGroupElement = React.ElementRef<typeof ToggleGroupPrimitive.Root>;\ntype ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & ToggleVariantsProps;\n\nconst ToggleGroup = React.forwardRef<ToggleGroupElement, ToggleGroupProps>(\n (\n { __scopeToggleGroup, children, className, variant, size, ...props }: ScopedProps<ToggleGroupProps>,\n forwardedRef,\n ) => {\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupProvider scope={__scopeToggleGroup} size={size} variant={variant}>\n <ToggleGroupPrimitive.Root\n ref={forwardedRef}\n className={cn('flex items-center justify-center gap-1', className)}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Root>\n </ToggleGroupProvider>\n );\n },\n);\n\nToggleGroup.displayName = TOGGLE_GROUP_NAME;\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroupItem\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_ITEM_NAME = 'ToggleGroupItem';\n\ntype ToggleGroupItemElement = React.ElementRef<typeof ToggleGroupPrimitive.Item>;\ntype ToggleGroupItemProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item>;\n\nconst ToggleGroupItem = React.forwardRef<ToggleGroupItemElement, ToggleGroupItemProps>(\n ({ __scopeToggleGroup, children, className, ...props }: ScopedProps<ToggleGroupItemProps>, forwardedRef) => {\n const context = useToggleGroupContext(TOGGLE_GROUP_ITEM_NAME, __scopeToggleGroup);\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={forwardedRef}\n className={toggleVariants({ ...context, className })}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n },\n);\n\nToggleGroupItem.displayName = TOGGLE_GROUP_ITEM_NAME;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleGroupItemProps };\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/toggle.cjs"],"names":[],"mappings":"AAAA,qFAAY,CAAC,yDAAsC,mFAAwC","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/toggle.cjs"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/react/tooltip.tsx"],"names":["React","TooltipPrimitive","jsx","TooltipProvider","Tooltip","TooltipTrigger","TooltipContent","className","sideOffset","props","forwardedRef","cn","TooltipArrow"],"mappings":"uDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAsB,0BAkC5B,cAAAC,MAAA,oBA1BN,IAAMC,EAAmC,WAOnCC,EAA2B,OAO3BC,EAAkC,UASlCC,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,WAAAC,EAAa,EAAG,GAAGC,CAAM,EAAGC,IACxCR,EAAkB,SAAjB,CACC,SAAAA,EAAkB,UAAjB,CACC,IAAKQ,EACL,UAAWC,EACT,qwBACAJ,CACF,EACA,WAAYC,EACX,GAAGC,EACN,EACF,CAEJ,EAEAH,EAAe,YAA+B,UAAQ,YAStD,IAAMM,EAAqB,aACzB,CAAC,CAAE,UAAAL,EAAW,GAAGE,CAAM,EAAGC,IACxBR,EAAkB,QAAjB,CAAuB,IAAKQ,EAAc,UAAWC,EAAG,eAAgBJ,CAAS,EAAI,GAAGE,EAAO,CAEpG,EAEAG,EAAa,YAA+B,QAAM","sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipProvider\n * -------------------------------------------------------------------------- */\n\ntype TooltipProviderProps = React.ComponentProps<typeof TooltipPrimitive.Provider>;\nconst TooltipProvider = TooltipPrimitive.Provider;\n\n/* -----------------------------------------------------------------------------\n * Component: Tooltip\n * -------------------------------------------------------------------------- */\n\ntype TooltipProps = React.ComponentProps<typeof TooltipPrimitive.Root>;\nconst Tooltip = TooltipPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipTrigger\n * -------------------------------------------------------------------------- */\n\ntype TooltipTriggerProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipContent\n * -------------------------------------------------------------------------- */\n\ntype TooltipContentElement = React.ElementRef<typeof TooltipPrimitive.Content>;\ntype TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>;\n\nconst TooltipContent = React.forwardRef<TooltipContentElement, TooltipContentProps>(\n ({ className, sideOffset = 6, ...props }, forwardedRef) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2 data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2 data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 rounded-md border px-3 py-1.5 text-xs',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </TooltipPrimitive.Portal>\n ),\n);\n\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipArrow\n * -------------------------------------------------------------------------- */\n\ntype TooltipArrowElement = React.ElementRef<typeof TooltipPrimitive.Arrow>;\ntype TooltipArrowProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Arrow>;\n\nconst TooltipArrow = React.forwardRef<TooltipArrowElement, TooltipArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <TooltipPrimitive.Arrow ref={forwardedRef} className={cn('fill-primary', className)} {...props} />\n ),\n);\n\nTooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n TooltipProvider,\n Tooltip,\n TooltipTrigger,\n TooltipContent,\n TooltipArrow,\n type TooltipProviderProps,\n type TooltipProps,\n type TooltipTriggerProps,\n type TooltipContentProps,\n type TooltipArrowProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/tooltip.cjs","../../src/react/tooltip.tsx"],"names":["TooltipProvider","Tooltip","TooltipTrigger","TooltipContent","className","sideOffset","props","forwardedRef","jsx","cn","TooltipArrow"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,uGACW,+CAkC5B,IA1BAA,CAAAA,CAAmC,CAAA,CAAA,QAAA,CAOnCC,CAAAA,mBAA2B,CAAA,CAAA,IAAA,CAO3BC,CAAAA,0BAAkC,CAAA,CAAA,OAAA,CASlCC,CAAAA,0BAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxCC,6BAAAA,CAAkB,CAAA,MAAA,CAAjB,CACC,QAAA,CAAAA,6BAAAA,CAAkB,CAAA,OAAA,CAAjB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,owBACT,CACAL,CACF,CAAA,CACA,UAAA,CAAYC,CAAAA,CACX,GAAGC,CAAAA,CACN,CAAA,CACF,CAEJ,CAAA,CAEAH,CAAAA,CAAe,WAAA,CAA+B,CAAA,CAAA,OAAA,CAAQ,WAAA,CAStD,IAAMO,CAAAA,CAAqB,CAAA,CAAA,UAAA,CACzB,CAAC,CAAE,SAAA,CAAAN,CAAAA,CAAW,GAAGE,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,cAAG,CAAgBL,CAAS,CAAA,CAAI,GAAGE,CAAAA,CAAO,CAEpG,CAAA,CAEAI,CAAAA,CAAa,WAAA,CAA+B,CAAA,CAAA,KAAA,CAAM,WAAA,CAAA,mIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/tooltip.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\nimport { cn } from '../lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipProvider\n * -------------------------------------------------------------------------- */\n\ntype TooltipProviderProps = React.ComponentProps<typeof TooltipPrimitive.Provider>;\nconst TooltipProvider = TooltipPrimitive.Provider;\n\n/* -----------------------------------------------------------------------------\n * Component: Tooltip\n * -------------------------------------------------------------------------- */\n\ntype TooltipProps = React.ComponentProps<typeof TooltipPrimitive.Root>;\nconst Tooltip = TooltipPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipTrigger\n * -------------------------------------------------------------------------- */\n\ntype TooltipTriggerProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipContent\n * -------------------------------------------------------------------------- */\n\ntype TooltipContentElement = React.ElementRef<typeof TooltipPrimitive.Content>;\ntype TooltipContentProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>;\n\nconst TooltipContent = React.forwardRef<TooltipContentElement, TooltipContentProps>(\n ({ className, sideOffset = 6, ...props }, forwardedRef) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2 data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2 data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 rounded-md border px-3 py-1.5 text-xs',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </TooltipPrimitive.Portal>\n ),\n);\n\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipArrow\n * -------------------------------------------------------------------------- */\n\ntype TooltipArrowElement = React.ElementRef<typeof TooltipPrimitive.Arrow>;\ntype TooltipArrowProps = React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Arrow>;\n\nconst TooltipArrow = React.forwardRef<TooltipArrowElement, TooltipArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <TooltipPrimitive.Arrow ref={forwardedRef} className={cn('fill-primary', className)} {...props} />\n ),\n);\n\nTooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n TooltipProvider,\n Tooltip,\n TooltipTrigger,\n TooltipContent,\n TooltipArrow,\n type TooltipProviderProps,\n type TooltipProps,\n type TooltipTriggerProps,\n type TooltipContentProps,\n type TooltipArrowProps,\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/ui",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "license": "MIT",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -391,9 +391,9 @@
391
391
  "postcss": "^8.4.39",
392
392
  "react": "^18.3.1",
393
393
  "tailwindcss": "^3.4.4",
394
- "tsup": "8.1.0",
394
+ "tsup": "^8.1.2",
395
395
  "typescript": "^5.5.3",
396
- "@codefast/config-tailwind": "0.0.3",
396
+ "@codefast/config-tailwind": "0.0.4",
397
397
  "@codefast/config-typescript": "0.0.1",
398
398
  "@codefast/eslint-config": "0.0.33"
399
399
  },