@codefast/ui 0.1.10 → 0.1.12
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.
- package/dist/chunk-3JEWSESW.js +2 -0
- package/dist/chunk-3JEWSESW.js.map +1 -0
- package/dist/{chunk-EW7DAPDC.cjs → chunk-45RTVSFM.cjs} +1 -1
- package/dist/chunk-45RTVSFM.cjs.map +1 -0
- package/dist/{chunk-WQGHLC2A.js → chunk-5KZCIWAV.js} +2 -2
- package/dist/chunk-5KZCIWAV.js.map +1 -0
- package/dist/{chunk-VJSYNP4O.cjs → chunk-5ZAKR3XH.cjs} +1 -1
- package/dist/chunk-5ZAKR3XH.cjs.map +1 -0
- package/dist/{chunk-Z6T6ART3.js → chunk-6ZQPOY3K.js} +1 -1
- package/dist/chunk-6ZQPOY3K.js.map +1 -0
- package/dist/{chunk-YIBPK6E7.cjs → chunk-7RRBAIQ7.cjs} +2 -2
- package/dist/chunk-7RRBAIQ7.cjs.map +1 -0
- package/dist/{chunk-YOJAJOXD.cjs → chunk-BRPTDZJD.cjs} +2 -2
- package/dist/chunk-BRPTDZJD.cjs.map +1 -0
- package/dist/{chunk-REVF5ERB.cjs → chunk-EJGO273X.cjs} +1 -1
- package/dist/chunk-EJGO273X.cjs.map +1 -0
- package/dist/{chunk-AFEVR6CJ.cjs → chunk-ISHID3OH.cjs} +1 -1
- package/dist/chunk-ISHID3OH.cjs.map +1 -0
- package/dist/{chunk-ZNI5WE4X.cjs → chunk-MTBVDSX3.cjs} +1 -1
- package/dist/chunk-MTBVDSX3.cjs.map +1 -0
- package/dist/{chunk-RVGKUNXC.js → chunk-OR7UIMKG.js} +1 -1
- package/dist/chunk-OR7UIMKG.js.map +1 -0
- package/dist/{chunk-VEXIU3VB.js → chunk-P5HEZNFY.js} +2 -2
- package/dist/chunk-P5HEZNFY.js.map +1 -0
- package/dist/{chunk-JK5GPYFN.js → chunk-U2N42HZL.js} +1 -1
- package/dist/chunk-U2N42HZL.js.map +1 -0
- package/dist/chunk-UBXOV4I5.cjs +2 -0
- package/dist/chunk-UBXOV4I5.cjs.map +1 -0
- package/dist/{chunk-YQWJBH4E.js → chunk-Y3KLZDCA.js} +1 -1
- package/dist/chunk-Y3KLZDCA.js.map +1 -0
- package/dist/{chunk-WKA7T7JG.js → chunk-YHZ3FJ6Z.js} +1 -1
- package/dist/chunk-YHZ3FJ6Z.js.map +1 -0
- package/dist/components/accordion.cjs.map +1 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/{react → components}/alert-dialog.cjs +1 -1
- package/dist/components/alert-dialog.cjs.map +1 -0
- package/dist/{react → components}/alert-dialog.js +1 -1
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/alert.cjs.map +1 -0
- package/dist/components/alert.js.map +1 -0
- package/dist/components/aspect-ratio.cjs.map +1 -0
- package/dist/components/aspect-ratio.js.map +1 -0
- package/dist/components/avatar.cjs.map +1 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.cjs.map +1 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/blockquote.cjs.map +1 -0
- package/dist/components/blockquote.js.map +1 -0
- package/dist/components/box.cjs.map +1 -0
- package/dist/components/box.js.map +1 -0
- package/dist/components/breadcrumb.cjs.map +1 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button.cjs +2 -0
- package/dist/components/button.cjs.map +1 -0
- package/dist/components/button.js +2 -0
- package/dist/{react → components}/calendar.cjs +1 -1
- package/dist/components/calendar.cjs.map +1 -0
- package/dist/{react → components}/calendar.js +1 -1
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/card.cjs.map +1 -0
- package/dist/components/card.js.map +1 -0
- package/dist/{react → components}/carousel.cjs +1 -1
- package/dist/components/carousel.cjs.map +1 -0
- package/dist/{react → components}/carousel.js +1 -1
- package/dist/components/carousel.js.map +1 -0
- package/dist/components/checkbox-cards.cjs +2 -0
- package/dist/components/checkbox-cards.cjs.map +1 -0
- package/dist/{react → components}/checkbox-cards.d.cts +4 -8
- package/dist/{react → components}/checkbox-cards.d.ts +4 -8
- package/dist/components/checkbox-cards.js +2 -0
- package/dist/components/checkbox-cards.js.map +1 -0
- package/dist/components/checkbox-group.cjs +2 -0
- package/dist/components/checkbox-group.cjs.map +1 -0
- package/dist/components/checkbox-group.d.cts +9 -0
- package/dist/components/checkbox-group.d.ts +9 -0
- package/dist/components/checkbox-group.js +2 -0
- package/dist/components/checkbox-group.js.map +1 -0
- package/dist/components/checkbox.cjs.map +1 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/code.cjs.map +1 -0
- package/dist/components/code.js.map +1 -0
- package/dist/components/collapsible.cjs.map +1 -0
- package/dist/components/collapsible.js.map +1 -0
- package/dist/{react → components}/command.cjs +1 -1
- package/dist/components/command.cjs.map +1 -0
- package/dist/{react → components}/command.js +1 -1
- package/dist/components/command.js.map +1 -0
- package/dist/components/container.cjs.map +1 -0
- package/dist/components/container.js.map +1 -0
- package/dist/components/context-menu.cjs.map +1 -0
- package/dist/components/context-menu.js.map +1 -0
- package/dist/{react → components}/data-table.cjs +1 -1
- package/dist/components/data-table.cjs.map +1 -0
- package/dist/{react → components}/data-table.js +1 -1
- package/dist/{react/data-table.cjs.map → components/data-table.js.map} +1 -1
- package/dist/components/dialog.cjs +2 -0
- package/dist/components/dialog.cjs.map +1 -0
- package/dist/{react → components}/dialog.js +1 -1
- package/dist/{react → components}/drawer.cjs +1 -1
- package/dist/components/drawer.cjs.map +1 -0
- package/dist/{react → components}/drawer.js +1 -1
- package/dist/components/drawer.js.map +1 -0
- package/dist/components/dropdown-menu.cjs +2 -0
- package/dist/components/dropdown-menu.cjs.map +1 -0
- package/dist/{react → components}/dropdown-menu.js +1 -1
- package/dist/components/em.cjs.map +1 -0
- package/dist/components/em.js.map +1 -0
- package/dist/{react → components}/form.cjs +1 -1
- package/dist/components/form.cjs.map +1 -0
- package/dist/{react → components}/form.js +1 -1
- package/dist/components/form.js.map +1 -0
- package/dist/components/heading.cjs.map +1 -0
- package/dist/components/heading.js.map +1 -0
- package/dist/components/hover-card.cjs.map +1 -0
- package/dist/components/hover-card.js.map +1 -0
- package/dist/components/input-otp.cjs.map +1 -0
- package/dist/components/input-otp.js.map +1 -0
- package/dist/components/kbd.cjs.map +1 -0
- package/dist/components/kbd.js.map +1 -0
- package/dist/components/label.cjs +2 -0
- package/dist/components/label.cjs.map +1 -0
- package/dist/components/label.js +2 -0
- package/dist/components/menubar.cjs.map +1 -0
- package/dist/components/menubar.js.map +1 -0
- package/dist/components/navigation-menu.cjs.map +1 -0
- package/dist/components/navigation-menu.js.map +1 -0
- package/dist/components/number-input.cjs +2 -0
- package/dist/components/number-input.cjs.map +1 -0
- package/dist/components/number-input.d.cts +12 -0
- package/dist/components/number-input.d.ts +12 -0
- package/dist/components/number-input.js +2 -0
- package/dist/components/number-input.js.map +1 -0
- package/dist/{react → components}/pagination.cjs +1 -1
- package/dist/components/pagination.cjs.map +1 -0
- package/dist/{react → components}/pagination.js +1 -1
- package/dist/{react/pagination.cjs.map → components/pagination.js.map} +1 -1
- package/dist/components/popover.cjs.map +1 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/pre.cjs.map +1 -0
- package/dist/components/pre.js.map +1 -0
- package/dist/components/progress.cjs.map +1 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/quote.cjs.map +1 -0
- package/dist/components/quote.js.map +1 -0
- package/dist/components/radio-cards.cjs.map +1 -0
- package/dist/components/radio-cards.js.map +1 -0
- package/dist/components/radio-group.cjs.map +1 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/radio.cjs.map +1 -0
- package/dist/components/radio.js.map +1 -0
- package/dist/components/resizable.cjs.map +1 -0
- package/dist/components/resizable.js.map +1 -0
- package/dist/components/scroll-area.cjs.map +1 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/section.cjs.map +1 -0
- package/dist/components/section.js.map +1 -0
- package/dist/components/select.cjs +2 -0
- package/dist/components/select.cjs.map +1 -0
- package/dist/{react → components}/select.js +1 -1
- package/dist/components/separator.cjs.map +1 -0
- package/dist/components/separator.js.map +1 -0
- package/dist/{react → components}/sheet.cjs +1 -1
- package/dist/components/sheet.cjs.map +1 -0
- package/dist/{react → components}/sheet.js +1 -1
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/skeleton.cjs.map +1 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/slider.cjs.map +1 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/sonner.cjs.map +1 -0
- package/dist/components/sonner.js.map +1 -0
- package/dist/components/spinner.cjs +2 -0
- package/dist/components/spinner.cjs.map +1 -0
- package/dist/components/spinner.js +2 -0
- package/dist/components/strong.cjs.map +1 -0
- package/dist/components/strong.js.map +1 -0
- package/dist/components/switch.cjs.map +1 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.cjs.map +1 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.cjs.map +1 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/text-input.cjs +2 -0
- package/dist/components/text-input.cjs.map +1 -0
- package/dist/{react/style/input.d.cts → components/text-input.d.cts} +10 -12
- package/dist/{react/style/input.d.ts → components/text-input.d.ts} +10 -12
- package/dist/components/text-input.js +2 -0
- package/dist/components/text.cjs.map +1 -0
- package/dist/components/text.js.map +1 -0
- package/dist/components/textarea.cjs.map +1 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/{react → components}/toggle-group.cjs +1 -1
- package/dist/components/toggle-group.cjs.map +1 -0
- package/dist/{react → components}/toggle-group.js +1 -1
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.cjs +2 -0
- package/dist/components/toggle.cjs.map +1 -0
- package/dist/components/toggle.js +2 -0
- package/dist/components/tooltip.cjs.map +1 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +199 -200
- package/dist/chunk-3Z6QUP75.cjs +0 -2
- package/dist/chunk-3Z6QUP75.cjs.map +0 -1
- package/dist/chunk-76TT2QSB.cjs +0 -2
- package/dist/chunk-76TT2QSB.cjs.map +0 -1
- package/dist/chunk-7NEJ7IQ3.cjs +0 -2
- package/dist/chunk-7NEJ7IQ3.cjs.map +0 -1
- package/dist/chunk-AFEVR6CJ.cjs.map +0 -1
- package/dist/chunk-CAK5VDBY.js +0 -2
- package/dist/chunk-CAK5VDBY.js.map +0 -1
- package/dist/chunk-EW7DAPDC.cjs.map +0 -1
- package/dist/chunk-EYL4UQ5E.js +0 -2
- package/dist/chunk-EYL4UQ5E.js.map +0 -1
- package/dist/chunk-JK5GPYFN.js.map +0 -1
- package/dist/chunk-OJI2FD2T.cjs +0 -2
- package/dist/chunk-OJI2FD2T.cjs.map +0 -1
- package/dist/chunk-QCHBG2C4.js +0 -2
- package/dist/chunk-QCHBG2C4.js.map +0 -1
- package/dist/chunk-REVF5ERB.cjs.map +0 -1
- package/dist/chunk-RVGKUNXC.js.map +0 -1
- package/dist/chunk-VEXIU3VB.js.map +0 -1
- package/dist/chunk-VJSYNP4O.cjs.map +0 -1
- package/dist/chunk-W5RHRZIO.js +0 -2
- package/dist/chunk-W5RHRZIO.js.map +0 -1
- package/dist/chunk-WKA7T7JG.js.map +0 -1
- package/dist/chunk-WQGHLC2A.js.map +0 -1
- package/dist/chunk-YIBPK6E7.cjs.map +0 -1
- package/dist/chunk-YOJAJOXD.cjs.map +0 -1
- package/dist/chunk-YQWJBH4E.js.map +0 -1
- package/dist/chunk-Z6T6ART3.js.map +0 -1
- package/dist/chunk-ZNI5WE4X.cjs.map +0 -1
- package/dist/react/accordion.cjs.map +0 -1
- package/dist/react/accordion.js.map +0 -1
- package/dist/react/alert-dialog.cjs.map +0 -1
- package/dist/react/alert-dialog.js.map +0 -1
- package/dist/react/alert.cjs.map +0 -1
- package/dist/react/alert.js.map +0 -1
- package/dist/react/aspect-ratio.cjs.map +0 -1
- package/dist/react/aspect-ratio.js.map +0 -1
- package/dist/react/avatar.cjs.map +0 -1
- package/dist/react/avatar.js.map +0 -1
- package/dist/react/badge.cjs.map +0 -1
- package/dist/react/badge.js.map +0 -1
- package/dist/react/blockquote.cjs.map +0 -1
- package/dist/react/blockquote.js.map +0 -1
- package/dist/react/box.cjs.map +0 -1
- package/dist/react/box.js.map +0 -1
- package/dist/react/breadcrumb.cjs.map +0 -1
- package/dist/react/breadcrumb.js.map +0 -1
- package/dist/react/button.cjs +0 -2
- package/dist/react/button.cjs.map +0 -1
- package/dist/react/button.js +0 -2
- package/dist/react/calendar.cjs.map +0 -1
- package/dist/react/calendar.js.map +0 -1
- package/dist/react/card.cjs.map +0 -1
- package/dist/react/card.js.map +0 -1
- package/dist/react/carousel.cjs.map +0 -1
- package/dist/react/carousel.js.map +0 -1
- package/dist/react/checkbox-cards.cjs +0 -2
- package/dist/react/checkbox-cards.cjs.map +0 -1
- package/dist/react/checkbox-cards.js +0 -2
- package/dist/react/checkbox-cards.js.map +0 -1
- package/dist/react/checkbox-group.cjs +0 -2
- package/dist/react/checkbox-group.cjs.map +0 -1
- package/dist/react/checkbox-group.d.cts +0 -13
- package/dist/react/checkbox-group.d.ts +0 -13
- package/dist/react/checkbox-group.js +0 -2
- package/dist/react/checkbox-group.js.map +0 -1
- package/dist/react/checkbox.cjs.map +0 -1
- package/dist/react/checkbox.js.map +0 -1
- package/dist/react/code.cjs.map +0 -1
- package/dist/react/code.js.map +0 -1
- package/dist/react/collapsible.cjs.map +0 -1
- package/dist/react/collapsible.js.map +0 -1
- package/dist/react/command.cjs.map +0 -1
- package/dist/react/command.js.map +0 -1
- package/dist/react/container.cjs.map +0 -1
- package/dist/react/container.js.map +0 -1
- package/dist/react/context-menu.cjs.map +0 -1
- package/dist/react/context-menu.js.map +0 -1
- package/dist/react/data-table.js.map +0 -1
- package/dist/react/dialog.cjs +0 -2
- package/dist/react/dialog.cjs.map +0 -1
- package/dist/react/drawer.cjs.map +0 -1
- package/dist/react/drawer.js.map +0 -1
- package/dist/react/dropdown-menu.cjs +0 -2
- package/dist/react/dropdown-menu.cjs.map +0 -1
- package/dist/react/em.cjs.map +0 -1
- package/dist/react/em.js.map +0 -1
- package/dist/react/form.cjs.map +0 -1
- package/dist/react/form.js.map +0 -1
- package/dist/react/heading.cjs.map +0 -1
- package/dist/react/heading.js.map +0 -1
- package/dist/react/hover-card.cjs.map +0 -1
- package/dist/react/hover-card.js.map +0 -1
- package/dist/react/input-otp.cjs.map +0 -1
- package/dist/react/input-otp.js.map +0 -1
- package/dist/react/kbd.cjs.map +0 -1
- package/dist/react/kbd.js.map +0 -1
- package/dist/react/label.cjs +0 -2
- package/dist/react/label.cjs.map +0 -1
- package/dist/react/label.js +0 -2
- package/dist/react/menubar.cjs.map +0 -1
- package/dist/react/menubar.js.map +0 -1
- package/dist/react/navigation-menu.cjs.map +0 -1
- package/dist/react/navigation-menu.js.map +0 -1
- package/dist/react/number-input.cjs +0 -2
- package/dist/react/number-input.cjs.map +0 -1
- package/dist/react/number-input.d.cts +0 -15
- package/dist/react/number-input.d.ts +0 -15
- package/dist/react/number-input.js +0 -2
- package/dist/react/number-input.js.map +0 -1
- package/dist/react/pagination.js.map +0 -1
- package/dist/react/popover.cjs.map +0 -1
- package/dist/react/popover.js.map +0 -1
- package/dist/react/pre.cjs.map +0 -1
- package/dist/react/pre.js.map +0 -1
- package/dist/react/primitive/checkbox-group.cjs +0 -2
- package/dist/react/primitive/checkbox-group.cjs.map +0 -1
- package/dist/react/primitive/checkbox-group.d.cts +0 -35
- package/dist/react/primitive/checkbox-group.d.ts +0 -35
- package/dist/react/primitive/checkbox-group.js +0 -2
- package/dist/react/primitive/input.cjs +0 -2
- package/dist/react/primitive/input.cjs.map +0 -1
- package/dist/react/primitive/input.d.cts +0 -20
- package/dist/react/primitive/input.d.ts +0 -20
- package/dist/react/primitive/input.js +0 -2
- package/dist/react/primitive/input.js.map +0 -1
- package/dist/react/primitive/number-input.cjs +0 -2
- package/dist/react/primitive/number-input.cjs.map +0 -1
- package/dist/react/primitive/number-input.d.cts +0 -36
- package/dist/react/primitive/number-input.d.ts +0 -36
- package/dist/react/primitive/number-input.js +0 -2
- package/dist/react/primitive/number-input.js.map +0 -1
- package/dist/react/progress.cjs.map +0 -1
- package/dist/react/progress.js.map +0 -1
- package/dist/react/quote.cjs.map +0 -1
- package/dist/react/quote.js.map +0 -1
- package/dist/react/radio-cards.cjs.map +0 -1
- package/dist/react/radio-cards.js.map +0 -1
- package/dist/react/radio-group.cjs.map +0 -1
- package/dist/react/radio-group.js.map +0 -1
- package/dist/react/radio.cjs.map +0 -1
- package/dist/react/radio.js.map +0 -1
- package/dist/react/resizable.cjs.map +0 -1
- package/dist/react/resizable.js.map +0 -1
- package/dist/react/scroll-area.cjs.map +0 -1
- package/dist/react/scroll-area.js.map +0 -1
- package/dist/react/section.cjs.map +0 -1
- package/dist/react/section.js.map +0 -1
- package/dist/react/select.cjs +0 -2
- package/dist/react/select.cjs.map +0 -1
- package/dist/react/separator.cjs.map +0 -1
- package/dist/react/separator.js.map +0 -1
- package/dist/react/sheet.cjs.map +0 -1
- package/dist/react/sheet.js.map +0 -1
- package/dist/react/skeleton.cjs.map +0 -1
- package/dist/react/skeleton.js.map +0 -1
- package/dist/react/slider.cjs.map +0 -1
- package/dist/react/slider.js.map +0 -1
- package/dist/react/sonner.cjs.map +0 -1
- package/dist/react/sonner.js.map +0 -1
- package/dist/react/spinner.cjs +0 -2
- package/dist/react/spinner.cjs.map +0 -1
- package/dist/react/spinner.js +0 -2
- package/dist/react/strong.cjs.map +0 -1
- package/dist/react/strong.js.map +0 -1
- package/dist/react/style/input.cjs +0 -2
- package/dist/react/style/input.cjs.map +0 -1
- package/dist/react/style/input.js +0 -2
- package/dist/react/style/input.js.map +0 -1
- package/dist/react/switch.cjs.map +0 -1
- package/dist/react/switch.js.map +0 -1
- package/dist/react/table.cjs.map +0 -1
- package/dist/react/table.js.map +0 -1
- package/dist/react/tabs.cjs.map +0 -1
- package/dist/react/tabs.js.map +0 -1
- package/dist/react/text-input.cjs +0 -2
- package/dist/react/text-input.cjs.map +0 -1
- package/dist/react/text-input.d.cts +0 -18
- package/dist/react/text-input.d.ts +0 -18
- package/dist/react/text-input.js +0 -2
- package/dist/react/text-input.js.map +0 -1
- package/dist/react/text.cjs.map +0 -1
- package/dist/react/text.js.map +0 -1
- package/dist/react/textarea.cjs.map +0 -1
- package/dist/react/textarea.js.map +0 -1
- package/dist/react/toggle-group.cjs.map +0 -1
- package/dist/react/toggle-group.js.map +0 -1
- package/dist/react/toggle.cjs +0 -2
- package/dist/react/toggle.cjs.map +0 -1
- package/dist/react/toggle.js +0 -2
- package/dist/react/tooltip.cjs.map +0 -1
- package/dist/react/tooltip.js.map +0 -1
- /package/dist/{react → components}/accordion.cjs +0 -0
- /package/dist/{react → components}/accordion.d.cts +0 -0
- /package/dist/{react → components}/accordion.d.ts +0 -0
- /package/dist/{react → components}/accordion.js +0 -0
- /package/dist/{react → components}/alert-dialog.d.cts +0 -0
- /package/dist/{react → components}/alert-dialog.d.ts +0 -0
- /package/dist/{react → components}/alert.cjs +0 -0
- /package/dist/{react → components}/alert.d.cts +0 -0
- /package/dist/{react → components}/alert.d.ts +0 -0
- /package/dist/{react → components}/alert.js +0 -0
- /package/dist/{react → components}/aspect-ratio.cjs +0 -0
- /package/dist/{react → components}/aspect-ratio.d.cts +0 -0
- /package/dist/{react → components}/aspect-ratio.d.ts +0 -0
- /package/dist/{react → components}/aspect-ratio.js +0 -0
- /package/dist/{react → components}/avatar.cjs +0 -0
- /package/dist/{react → components}/avatar.d.cts +0 -0
- /package/dist/{react → components}/avatar.d.ts +0 -0
- /package/dist/{react → components}/avatar.js +0 -0
- /package/dist/{react → components}/badge.cjs +0 -0
- /package/dist/{react → components}/badge.d.cts +0 -0
- /package/dist/{react → components}/badge.d.ts +0 -0
- /package/dist/{react → components}/badge.js +0 -0
- /package/dist/{react → components}/blockquote.cjs +0 -0
- /package/dist/{react → components}/blockquote.d.cts +0 -0
- /package/dist/{react → components}/blockquote.d.ts +0 -0
- /package/dist/{react → components}/blockquote.js +0 -0
- /package/dist/{react → components}/box.cjs +0 -0
- /package/dist/{react → components}/box.d.cts +0 -0
- /package/dist/{react → components}/box.d.ts +0 -0
- /package/dist/{react → components}/box.js +0 -0
- /package/dist/{react → components}/breadcrumb.cjs +0 -0
- /package/dist/{react → components}/breadcrumb.d.cts +0 -0
- /package/dist/{react → components}/breadcrumb.d.ts +0 -0
- /package/dist/{react → components}/breadcrumb.js +0 -0
- /package/dist/{react → components}/button.d.cts +0 -0
- /package/dist/{react → components}/button.d.ts +0 -0
- /package/dist/{react → components}/button.js.map +0 -0
- /package/dist/{react → components}/calendar.d.cts +0 -0
- /package/dist/{react → components}/calendar.d.ts +0 -0
- /package/dist/{react → components}/card.cjs +0 -0
- /package/dist/{react → components}/card.d.cts +0 -0
- /package/dist/{react → components}/card.d.ts +0 -0
- /package/dist/{react → components}/card.js +0 -0
- /package/dist/{react → components}/carousel.d.cts +0 -0
- /package/dist/{react → components}/carousel.d.ts +0 -0
- /package/dist/{react → components}/checkbox.cjs +0 -0
- /package/dist/{react → components}/checkbox.d.cts +0 -0
- /package/dist/{react → components}/checkbox.d.ts +0 -0
- /package/dist/{react → components}/checkbox.js +0 -0
- /package/dist/{react → components}/code.cjs +0 -0
- /package/dist/{react → components}/code.d.cts +0 -0
- /package/dist/{react → components}/code.d.ts +0 -0
- /package/dist/{react → components}/code.js +0 -0
- /package/dist/{react → components}/collapsible.cjs +0 -0
- /package/dist/{react → components}/collapsible.d.cts +0 -0
- /package/dist/{react → components}/collapsible.d.ts +0 -0
- /package/dist/{react → components}/collapsible.js +0 -0
- /package/dist/{react → components}/command.d.cts +0 -0
- /package/dist/{react → components}/command.d.ts +0 -0
- /package/dist/{react → components}/container.cjs +0 -0
- /package/dist/{react → components}/container.d.cts +0 -0
- /package/dist/{react → components}/container.d.ts +0 -0
- /package/dist/{react → components}/container.js +0 -0
- /package/dist/{react → components}/context-menu.cjs +0 -0
- /package/dist/{react → components}/context-menu.d.cts +0 -0
- /package/dist/{react → components}/context-menu.d.ts +0 -0
- /package/dist/{react → components}/context-menu.js +0 -0
- /package/dist/{react → components}/data-table.d.cts +0 -0
- /package/dist/{react → components}/data-table.d.ts +0 -0
- /package/dist/{react → components}/dialog.d.cts +0 -0
- /package/dist/{react → components}/dialog.d.ts +0 -0
- /package/dist/{react → components}/dialog.js.map +0 -0
- /package/dist/{react → components}/drawer.d.cts +0 -0
- /package/dist/{react → components}/drawer.d.ts +0 -0
- /package/dist/{react → components}/dropdown-menu.d.cts +0 -0
- /package/dist/{react → components}/dropdown-menu.d.ts +0 -0
- /package/dist/{react → components}/dropdown-menu.js.map +0 -0
- /package/dist/{react → components}/em.cjs +0 -0
- /package/dist/{react → components}/em.d.cts +0 -0
- /package/dist/{react → components}/em.d.ts +0 -0
- /package/dist/{react → components}/em.js +0 -0
- /package/dist/{react → components}/form.d.cts +0 -0
- /package/dist/{react → components}/form.d.ts +0 -0
- /package/dist/{react → components}/heading.cjs +0 -0
- /package/dist/{react → components}/heading.d.cts +0 -0
- /package/dist/{react → components}/heading.d.ts +0 -0
- /package/dist/{react → components}/heading.js +0 -0
- /package/dist/{react → components}/hover-card.cjs +0 -0
- /package/dist/{react → components}/hover-card.d.cts +0 -0
- /package/dist/{react → components}/hover-card.d.ts +0 -0
- /package/dist/{react → components}/hover-card.js +0 -0
- /package/dist/{react → components}/input-otp.cjs +0 -0
- /package/dist/{react → components}/input-otp.d.cts +0 -0
- /package/dist/{react → components}/input-otp.d.ts +0 -0
- /package/dist/{react → components}/input-otp.js +0 -0
- /package/dist/{react → components}/kbd.cjs +0 -0
- /package/dist/{react → components}/kbd.d.cts +0 -0
- /package/dist/{react → components}/kbd.d.ts +0 -0
- /package/dist/{react → components}/kbd.js +0 -0
- /package/dist/{react → components}/label.d.cts +0 -0
- /package/dist/{react → components}/label.d.ts +0 -0
- /package/dist/{react → components}/label.js.map +0 -0
- /package/dist/{react → components}/menubar.cjs +0 -0
- /package/dist/{react → components}/menubar.d.cts +0 -0
- /package/dist/{react → components}/menubar.d.ts +0 -0
- /package/dist/{react → components}/menubar.js +0 -0
- /package/dist/{react → components}/navigation-menu.cjs +0 -0
- /package/dist/{react → components}/navigation-menu.d.cts +0 -0
- /package/dist/{react → components}/navigation-menu.d.ts +0 -0
- /package/dist/{react → components}/navigation-menu.js +0 -0
- /package/dist/{react → components}/pagination.d.cts +0 -0
- /package/dist/{react → components}/pagination.d.ts +0 -0
- /package/dist/{react → components}/popover.cjs +0 -0
- /package/dist/{react → components}/popover.d.cts +0 -0
- /package/dist/{react → components}/popover.d.ts +0 -0
- /package/dist/{react → components}/popover.js +0 -0
- /package/dist/{react → components}/pre.cjs +0 -0
- /package/dist/{react → components}/pre.d.cts +0 -0
- /package/dist/{react → components}/pre.d.ts +0 -0
- /package/dist/{react → components}/pre.js +0 -0
- /package/dist/{react → components}/progress.cjs +0 -0
- /package/dist/{react → components}/progress.d.cts +0 -0
- /package/dist/{react → components}/progress.d.ts +0 -0
- /package/dist/{react → components}/progress.js +0 -0
- /package/dist/{react → components}/quote.cjs +0 -0
- /package/dist/{react → components}/quote.d.cts +0 -0
- /package/dist/{react → components}/quote.d.ts +0 -0
- /package/dist/{react → components}/quote.js +0 -0
- /package/dist/{react → components}/radio-cards.cjs +0 -0
- /package/dist/{react → components}/radio-cards.d.cts +0 -0
- /package/dist/{react → components}/radio-cards.d.ts +0 -0
- /package/dist/{react → components}/radio-cards.js +0 -0
- /package/dist/{react → components}/radio-group.cjs +0 -0
- /package/dist/{react → components}/radio-group.d.cts +0 -0
- /package/dist/{react → components}/radio-group.d.ts +0 -0
- /package/dist/{react → components}/radio-group.js +0 -0
- /package/dist/{react → components}/radio.cjs +0 -0
- /package/dist/{react → components}/radio.d.cts +0 -0
- /package/dist/{react → components}/radio.d.ts +0 -0
- /package/dist/{react → components}/radio.js +0 -0
- /package/dist/{react → components}/resizable.cjs +0 -0
- /package/dist/{react → components}/resizable.d.cts +0 -0
- /package/dist/{react → components}/resizable.d.ts +0 -0
- /package/dist/{react → components}/resizable.js +0 -0
- /package/dist/{react → components}/scroll-area.cjs +0 -0
- /package/dist/{react → components}/scroll-area.d.cts +0 -0
- /package/dist/{react → components}/scroll-area.d.ts +0 -0
- /package/dist/{react → components}/scroll-area.js +0 -0
- /package/dist/{react → components}/section.cjs +0 -0
- /package/dist/{react → components}/section.d.cts +0 -0
- /package/dist/{react → components}/section.d.ts +0 -0
- /package/dist/{react → components}/section.js +0 -0
- /package/dist/{react → components}/select.d.cts +0 -0
- /package/dist/{react → components}/select.d.ts +0 -0
- /package/dist/{react → components}/select.js.map +0 -0
- /package/dist/{react → components}/separator.cjs +0 -0
- /package/dist/{react → components}/separator.d.cts +0 -0
- /package/dist/{react → components}/separator.d.ts +0 -0
- /package/dist/{react → components}/separator.js +0 -0
- /package/dist/{react → components}/sheet.d.cts +0 -0
- /package/dist/{react → components}/sheet.d.ts +0 -0
- /package/dist/{react → components}/skeleton.cjs +0 -0
- /package/dist/{react → components}/skeleton.d.cts +0 -0
- /package/dist/{react → components}/skeleton.d.ts +0 -0
- /package/dist/{react → components}/skeleton.js +0 -0
- /package/dist/{react → components}/slider.cjs +0 -0
- /package/dist/{react → components}/slider.d.cts +0 -0
- /package/dist/{react → components}/slider.d.ts +0 -0
- /package/dist/{react → components}/slider.js +0 -0
- /package/dist/{react → components}/sonner.cjs +0 -0
- /package/dist/{react → components}/sonner.d.cts +0 -0
- /package/dist/{react → components}/sonner.d.ts +0 -0
- /package/dist/{react → components}/sonner.js +0 -0
- /package/dist/{react → components}/spinner.d.cts +0 -0
- /package/dist/{react → components}/spinner.d.ts +0 -0
- /package/dist/{react → components}/spinner.js.map +0 -0
- /package/dist/{react → components}/strong.cjs +0 -0
- /package/dist/{react → components}/strong.d.cts +0 -0
- /package/dist/{react → components}/strong.d.ts +0 -0
- /package/dist/{react → components}/strong.js +0 -0
- /package/dist/{react → components}/switch.cjs +0 -0
- /package/dist/{react → components}/switch.d.cts +0 -0
- /package/dist/{react → components}/switch.d.ts +0 -0
- /package/dist/{react → components}/switch.js +0 -0
- /package/dist/{react → components}/table.cjs +0 -0
- /package/dist/{react → components}/table.d.cts +0 -0
- /package/dist/{react → components}/table.d.ts +0 -0
- /package/dist/{react → components}/table.js +0 -0
- /package/dist/{react → components}/tabs.cjs +0 -0
- /package/dist/{react → components}/tabs.d.cts +0 -0
- /package/dist/{react → components}/tabs.d.ts +0 -0
- /package/dist/{react → components}/tabs.js +0 -0
- /package/dist/{react/primitive/checkbox-group.js.map → components/text-input.js.map} +0 -0
- /package/dist/{react → components}/text.cjs +0 -0
- /package/dist/{react → components}/text.d.cts +0 -0
- /package/dist/{react → components}/text.d.ts +0 -0
- /package/dist/{react → components}/text.js +0 -0
- /package/dist/{react → components}/textarea.cjs +0 -0
- /package/dist/{react → components}/textarea.d.cts +0 -0
- /package/dist/{react → components}/textarea.d.ts +0 -0
- /package/dist/{react → components}/textarea.js +0 -0
- /package/dist/{react → components}/toggle-group.d.cts +0 -0
- /package/dist/{react → components}/toggle-group.d.ts +0 -0
- /package/dist/{react → components}/toggle.d.cts +0 -0
- /package/dist/{react → components}/toggle.d.ts +0 -0
- /package/dist/{react → components}/toggle.js.map +0 -0
- /package/dist/{react → components}/tooltip.cjs +0 -0
- /package/dist/{react → components}/tooltip.d.cts +0 -0
- /package/dist/{react → components}/tooltip.d.ts +0 -0
- /package/dist/{react → components}/tooltip.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/menubar.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { CheckIcon, ChevronRightIcon, DotFilledIcon } from '@radix-ui/react-icons';\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\ntype MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;\nconst MenubarMenu = MenubarPrimitive.Menu;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;\nconst MenubarGroup = MenubarPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Sub>;\nconst MenubarSub = MenubarPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>;\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\ntype MenubarElement = React.ElementRef<typeof MenubarPrimitive.Root>;\ntype MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;\n\nconst Menubar = React.forwardRef<MenubarElement, MenubarProps>(({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-background flex h-10 items-center space-x-1 rounded-md border p-1 shadow-sm', className)}\n {...props}\n />\n));\n\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarTriggerElement = React.ElementRef<typeof MenubarPrimitive.Trigger>;\ntype MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>;\n\nconst MenubarTrigger = React.forwardRef<MenubarTriggerElement, MenubarTriggerProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-pointer select-none items-center rounded-sm px-3 py-1 text-sm font-medium focus:outline-none',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubTriggerElement = React.ElementRef<typeof MenubarPrimitive.SubTrigger>;\n\ninterface MenubarSubTriggerProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nconst MenubarSubTrigger = React.forwardRef<MenubarSubTriggerElement, MenubarSubTriggerProps>(\n ({ children, className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.SubTrigger\n ref={forwardedRef}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm focus:outline-none',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n ),\n);\n\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubContentElement = React.ElementRef<typeof MenubarPrimitive.SubContent>;\ntype MenubarSubContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>;\n\nconst MenubarSubContent = React.forwardRef<MenubarSubContentElement, MenubarSubContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=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=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-1 shadow-md',\n className,\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarContentElement = React.ElementRef<typeof MenubarPrimitive.Content>;\ntype MenubarContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>;\n\nconst MenubarContent = React.forwardRef<MenubarContentElement, MenubarContentProps>(\n ({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={forwardedRef}\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-md border p-1 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarItemElement = React.ElementRef<typeof MenubarPrimitive.Item>;\n\ninterface MenubarItemProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> {\n inset?: boolean;\n}\n\nconst MenubarItem = React.forwardRef<MenubarItemElement, MenubarItemProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm focus:outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarCheckboxItemElement = React.ElementRef<typeof MenubarPrimitive.CheckboxItem>;\ntype MenubarCheckboxItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>;\n\nconst MenubarCheckboxItem = React.forwardRef<MenubarCheckboxItemElement, MenubarCheckboxItemProps>(\n ({ children, className, checked, ...props }, forwardedRef) => (\n <MenubarPrimitive.CheckboxItem\n ref={forwardedRef}\n checked={checked}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm focus:outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n ),\n);\n\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioItemElement = React.ElementRef<typeof MenubarPrimitive.RadioItem>;\ntype MenubarRadioItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>;\n\nconst MenubarRadioItem = React.forwardRef<MenubarRadioItemElement, MenubarRadioItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <MenubarPrimitive.RadioItem\n ref={forwardedRef}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm focus:outline-none aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n ),\n);\n\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\ntype MenubarLabelElement = React.ElementRef<typeof MenubarPrimitive.Label>;\n\ninterface MenubarLabelProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> {\n inset?: boolean;\n}\n\nconst MenubarLabel = React.forwardRef<MenubarLabelElement, MenubarLabelProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Label\n ref={forwardedRef}\n className={cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n ),\n);\n\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\ntype MenubarSeparatorElement = React.ElementRef<typeof MenubarPrimitive.Separator>;\ntype MenubarSeparatorProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>;\n\nconst MenubarSeparator = React.forwardRef<MenubarSeparatorElement, MenubarSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Separator ref={forwardedRef} className={cn('bg-muted -mx-1 my-1 h-px', className)} {...props} />\n ),\n);\n\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\ntype MenubarShortcutProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction MenubarShortcut({ className, ...props }: MenubarShortcutProps): React.JSX.Element {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n type MenubarProps,\n type MenubarMenuProps,\n type MenubarTriggerProps,\n type MenubarContentProps,\n type MenubarItemProps,\n type MenubarSeparatorProps,\n type MenubarLabelProps,\n type MenubarCheckboxItemProps,\n type MenubarRadioGroupProps,\n type MenubarRadioItemProps,\n type MenubarSubContentProps,\n type MenubarSubTriggerProps,\n type MenubarGroupProps,\n type MenubarSubProps,\n type MenubarShortcutProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,OAAS,aAAAC,EAAW,oBAAAC,EAAkB,iBAAAC,MAAqB,wBAC3D,UAAYC,MAAsB,0BAuChC,cAAAC,EA2CE,QAAAC,MA3CF,oBA/BF,IAAMC,EAA+B,OAO/BC,EAAgC,QAOhCC,EAA8B,MAO9BC,EAAqC,aASrCC,EAAgB,aAAyC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACvFT,EAAkB,OAAjB,CACC,IAAKS,EACL,UAAWC,EAAG,iFAAkFH,CAAS,EACxG,GAAGC,EACN,CACD,EAEDF,EAAQ,YAA+B,OAAK,YAS5C,IAAMK,EAAuB,aAC3B,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAkB,UAAjB,CACC,IAAKS,EACL,UAAWC,EACT,6NACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAG,EAAe,YAA+B,UAAQ,YAYtD,IAAMC,EAA0B,aAC9B,CAAC,CAAE,SAAAC,EAAU,UAAAN,EAAW,MAAAO,EAAO,GAAGN,CAAM,EAAGC,IACzCR,EAAkB,aAAjB,CACC,IAAKQ,EACL,UAAWC,EACT,mNACAI,GAAS,OACTP,CACF,EACC,GAAGC,EAEH,UAAAK,EACDb,EAACe,EAAA,CAAiB,UAAU,iBAAiB,GAC/C,CAEJ,EAEAH,EAAkB,YAA+B,aAAW,YAS5D,IAAMI,EAA0B,aAC9B,CAAC,CAAE,UAAAT,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAkB,SAAjB,CACC,SAAAA,EAAkB,aAAjB,CACC,IAAKS,EACL,UAAWC,EACT,gtBACAH,CACF,EACC,GAAGC,EACN,EACF,CAEJ,EAEAQ,EAAkB,YAA+B,aAAW,YAS5D,IAAMC,EAAuB,aAC3B,CAAC,CAAE,UAAAV,EAAW,MAAAW,EAAQ,QAAS,YAAAC,EAAc,GAAI,WAAAC,EAAa,EAAG,GAAGZ,CAAM,EAAGC,IAC3ET,EAAkB,SAAjB,CACC,SAAAA,EAAkB,UAAjB,CACC,IAAKS,EACL,MAAOS,EACP,YAAaC,EACb,UAAWT,EACT,2YACAH,CACF,EACA,WAAYa,EACX,GAAGZ,EACN,EACF,CAEJ,EAEAS,EAAe,YAA+B,UAAQ,YAYtD,IAAMI,EAAoB,aACxB,CAAC,CAAE,UAAAd,EAAW,MAAAO,EAAO,GAAGN,CAAM,EAAGC,IAC/BT,EAAkB,OAAjB,CACC,IAAKS,EACL,UAAWC,EACT,kNACAI,GAAS,OACTP,CACF,EACC,GAAGC,EACN,CAEJ,EAEAa,EAAY,YAA+B,OAAK,YAShD,IAAMC,EAA4B,aAChC,CAAC,CAAE,SAAAT,EAAU,UAAAN,EAAW,QAAAgB,EAAS,GAAGf,CAAM,EAAGC,IAC3CR,EAAkB,eAAjB,CACC,IAAKQ,EACL,QAASc,EACT,UAAWb,EACT,uNACAH,CACF,EACC,GAAGC,EAEJ,UAAAR,EAAC,QAAK,UAAU,4DACd,SAAAA,EAAkB,gBAAjB,CACC,SAAAA,EAACwB,EAAA,CAAU,UAAU,SAAS,EAChC,EACF,EACCX,GACH,CAEJ,EAEAS,EAAoB,YAA+B,eAAa,YAShE,IAAMG,EAAyB,aAC7B,CAAC,CAAE,SAAAZ,EAAU,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IAClCR,EAAkB,YAAjB,CACC,IAAKQ,EACL,UAAWC,EACT,uNACAH,CACF,EACC,GAAGC,EAEJ,UAAAR,EAAC,QAAK,UAAU,4DACd,SAAAA,EAAkB,gBAAjB,CACC,SAAAA,EAAC0B,EAAA,CAAc,UAAU,sBAAsB,EACjD,EACF,EACCb,GACH,CAEJ,EAEAY,EAAiB,YAA+B,YAAU,YAY1D,IAAME,EAAqB,aACzB,CAAC,CAAE,UAAApB,EAAW,MAAAO,EAAO,GAAGN,CAAM,EAAGC,IAC/BT,EAAkB,QAAjB,CACC,IAAKS,EACL,UAAWC,EAAG,oCAAqCI,GAAS,OAAQP,CAAS,EAC5E,GAAGC,EACN,CAEJ,EAEAmB,EAAa,YAA+B,QAAM,YASlD,IAAMC,EAAyB,aAC7B,CAAC,CAAE,UAAArB,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAkB,YAAjB,CAA2B,IAAKS,EAAc,UAAWC,EAAG,2BAA4BH,CAAS,EAAI,GAAGC,EAAO,CAEpH,EAEAoB,EAAiB,YAA+B,YAAU,YAQ1D,SAASC,EAAgB,CAAE,UAAAtB,EAAW,GAAGC,CAAM,EAA4C,CACzF,OAAOR,EAAC,QAAK,UAAWU,EAAG,wDAAyDH,CAAS,EAAI,GAAGC,EAAO,CAC7G","names":["React","CheckIcon","ChevronRightIcon","DotFilledIcon","MenubarPrimitive","jsx","jsxs","MenubarMenu","MenubarGroup","MenubarSub","MenubarRadioGroup","Menubar","className","props","forwardedRef","cn","MenubarTrigger","MenubarSubTrigger","children","inset","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","MenubarCheckboxItem","checked","CheckIcon","MenubarRadioItem","DotFilledIcon","MenubarLabel","MenubarSeparator","MenubarShortcut"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/navigation-menu.cjs","../../src/react/navigation-menu.tsx"],"names":["navigationMenuTriggerVariants","tv","NavigationMenu","children","className","props","forwardedRef","jsxs","cn","jsx","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,mDACS,6HACS,qDACtB,+CAoBf,IAbEA,CAAAA,CAAgCC,kCAAAA,CACpC,IAAA,CAAM,8YACR,CAAC,CAAA,CASKC,CAAAA,0BAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,8BAAAA,CAAyB,CAAA,IAAA,CAAxB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,iEAAG,CAAmEJ,CAAS,CAAA,CACzF,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDM,6BAAAA,CAACC,CAAA,CAAA,CAAuB,CAAA,CAAA,CAC1B,CAEJ,CAAA,CAEAR,CAAAA,CAAe,WAAA,CAAsC,CAAA,CAAA,IAAA,CAAK,WAAA,CAS1D,IAAMS,CAAAA,CAA2B,CAAA,CAAA,UAAA,CAC/B,CAAC,CAAE,QAAA,CAAAR,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,8BAAAA,CAAyB,CAAA,IAAA,CAAxB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,mEAAG,CAAqEJ,CAAS,CAAA,CAC3F,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDM,6BAAAA,CAACG,CAAA,CAAA,CAAwB,CAAA,CAAA,CAC3B,CAEJ,CAAA,CAEAD,CAAAA,CAAmB,WAAA,CAAsC,CAAA,CAAA,IAAA,CAAK,WAAA,CAQ9D,IAAME,CAAAA,CAA6C,CAAA,CAAA,IAAA,CAS7CC,CAAAA,iCAA8B,CAAA,CAAA,UAAA,CAClC,CAAC,CAAE,QAAA,CAAAX,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,8BAAAA,CAAyB,CAAA,OAAA,CAAxB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWN,CAAAA,CAA8B,CACvC,SAAA,CAAW,CAAC,OAAA,CAASI,CAAS,CAChC,CAAC,CAAA,CACA,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDM,6BAAAA,2BAACM,CAAA,CACC,aAAA,CAAY,MAAA,CACZ,SAAA,CAAU,2EAAA,CACZ,CAAA,CAAA,CACF,CAEJ,CAAA,CAEAD,CAAAA,CAAsB,WAAA,CAAsC,CAAA,CAAA,OAAA,CAAQ,WAAA,CASpE,IAAME,CAAAA,CAA8B,CAAA,CAAA,UAAA,CAClC,CAAC,CAAE,SAAA,CAAAZ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBG,6BAAAA,CAAyB,CAAA,OAAA,CAAxB,CACC,GAAA,CAAKH,CAAAA,CACL,SAAA,CAAWE,iCAAAA,uVACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEJ,CAAA,CAEAW,CAAAA,CAAsB,WAAA,CAAsC,CAAA,CAAA,OAAA,CAAQ,WAAA,CAQpE,IAAMC,CAAAA,CAA6C,CAAA,CAAA,IAAA,CAS7CP,CAAAA,CAA+B,CAAA,CAAA,UAAA,CACnC,CAAC,CAAE,SAAA,CAAAN,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBG,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,mEAAA,CACb,QAAA,CAAAA,6BAAAA,CAAyB,CAAA,QAAA,CAAxB,CACC,GAAA,CAAKH,CAAAA,CACL,SAAA,CAAWE,iCAAAA,gaACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAAA,CACF,CAEJ,CAAA,CAEAK,CAAAA,CAAuB,WAAA,CAAsC,CAAA,CAAA,QAAA,CAAS,WAAA,CAStE,IAAME,CAAAA,CAAgC,CAAA,CAAA,UAAA,CACpC,CAAC,CAAE,SAAA,CAAAR,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBG,6BAAAA,CAAyB,CAAA,SAAA,CAAxB,CACC,GAAA,CAAKH,CAAAA,CACL,SAAA,CAAWE,iCAAAA,2JACT,CACAJ,CACF,CAAA,CACC,GAAGC,CAAAA,CAEJ,QAAA,CAAAI,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,6DAAA,CAA8D,CAAA,CAC/E,CAEJ,CAAA,CAEAG,CAAAA,CAAwB,WAAA,CAAsC,CAAA,CAAA,SAAA,CAAU,WAAA,CAAA,4OAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/navigation-menu.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { tv } from 'tailwind-variants';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: NavigationMenu\n * -------------------------------------------------------------------------- */\n\nconst navigationMenuTriggerVariants = tv({\n base: 'bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 group inline-flex h-10 w-max items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n});\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuElement = React.ElementRef<typeof NavigationMenuPrimitive.Root>;\ntype NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;\n\nconst NavigationMenu = React.forwardRef<NavigationMenuElement, NavigationMenuProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Root\n ref={forwardedRef}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n ),\n);\n\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListElement = React.ElementRef<typeof NavigationMenuPrimitive.List>;\ntype NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;\n\nconst NavigationMenuList = React.forwardRef<NavigationMenuListElement, NavigationMenuListProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.List\n ref={forwardedRef}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n >\n {children}\n <NavigationMenuIndicator />\n </NavigationMenuPrimitive.List>\n ),\n);\n\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerElement = React.ElementRef<typeof NavigationMenuPrimitive.Trigger>;\ntype NavigationMenuTriggerProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;\n\nconst NavigationMenuTrigger = React.forwardRef<NavigationMenuTriggerElement, NavigationMenuTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Trigger\n ref={forwardedRef}\n className={navigationMenuTriggerVariants({\n className: ['group', className],\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className=\"relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180\"\n />\n </NavigationMenuPrimitive.Trigger>\n ),\n);\n\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentElement = React.ElementRef<typeof NavigationMenuPrimitive.Content>;\ntype NavigationMenuContentProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;\n\nconst NavigationMenuContent = React.forwardRef<NavigationMenuContentElement, NavigationMenuContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n ),\n);\n\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportElement = React.ElementRef<typeof NavigationMenuPrimitive.Viewport>;\ntype NavigationMenuViewportProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;\n\nconst NavigationMenuViewport = React.forwardRef<NavigationMenuViewportElement, NavigationMenuViewportProps>(\n ({ className, ...props }, forwardedRef) => (\n <div className=\"perspective-[125rem] absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorElement = React.ElementRef<typeof NavigationMenuPrimitive.Indicator>;\ntype NavigationMenuIndicatorProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;\n\nconst NavigationMenuIndicator = React.forwardRef<NavigationMenuIndicatorElement, NavigationMenuIndicatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Indicator\n ref={forwardedRef}\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] size-2 rotate-45 rounded-tl-sm\" />\n </NavigationMenuPrimitive.Indicator>\n ),\n);\n\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n navigationMenuTriggerVariants,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n type NavigationMenuProps,\n type NavigationMenuListProps,\n type NavigationMenuItemProps,\n type NavigationMenuContentProps,\n type NavigationMenuTriggerProps,\n type NavigationMenuLinkProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/navigation-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { tv } from 'tailwind-variants';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: NavigationMenu\n * -------------------------------------------------------------------------- */\n\nconst navigationMenuTriggerVariants = tv({\n base: 'bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent/50 data-[active]:bg-accent/50 group inline-flex h-10 w-max items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50',\n});\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuElement = React.ElementRef<typeof NavigationMenuPrimitive.Root>;\ntype NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;\n\nconst NavigationMenu = React.forwardRef<NavigationMenuElement, NavigationMenuProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Root\n ref={forwardedRef}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n ),\n);\n\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListElement = React.ElementRef<typeof NavigationMenuPrimitive.List>;\ntype NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;\n\nconst NavigationMenuList = React.forwardRef<NavigationMenuListElement, NavigationMenuListProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.List\n ref={forwardedRef}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n >\n {children}\n <NavigationMenuIndicator />\n </NavigationMenuPrimitive.List>\n ),\n);\n\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerElement = React.ElementRef<typeof NavigationMenuPrimitive.Trigger>;\ntype NavigationMenuTriggerProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;\n\nconst NavigationMenuTrigger = React.forwardRef<NavigationMenuTriggerElement, NavigationMenuTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Trigger\n ref={forwardedRef}\n className={navigationMenuTriggerVariants({\n className: ['group', className],\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className=\"relative top-px ml-1 size-3 transition group-data-[state=open]:rotate-180\"\n />\n </NavigationMenuPrimitive.Trigger>\n ),\n);\n\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentElement = React.ElementRef<typeof NavigationMenuPrimitive.Content>;\ntype NavigationMenuContentProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;\n\nconst NavigationMenuContent = React.forwardRef<NavigationMenuContentElement, NavigationMenuContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n ),\n);\n\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportElement = React.ElementRef<typeof NavigationMenuPrimitive.Viewport>;\ntype NavigationMenuViewportProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;\n\nconst NavigationMenuViewport = React.forwardRef<NavigationMenuViewportElement, NavigationMenuViewportProps>(\n ({ className, ...props }, forwardedRef) => (\n <div className=\"perspective-[125rem] absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorElement = React.ElementRef<typeof NavigationMenuPrimitive.Indicator>;\ntype NavigationMenuIndicatorProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;\n\nconst NavigationMenuIndicator = React.forwardRef<NavigationMenuIndicatorElement, NavigationMenuIndicatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Indicator\n ref={forwardedRef}\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-border relative top-[60%] size-2 rotate-45 rounded-tl-sm\" />\n </NavigationMenuPrimitive.Indicator>\n ),\n);\n\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n navigationMenuTriggerVariants,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n type NavigationMenuProps,\n type NavigationMenuListProps,\n type NavigationMenuItemProps,\n type NavigationMenuContentProps,\n type NavigationMenuTriggerProps,\n type NavigationMenuLinkProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,wBAChC,UAAYC,MAA6B,kCACzC,OAAS,MAAAC,MAAU,oBAoBf,OAME,OAAAC,EANF,QAAAC,MAAA,oBAbJ,IAAMC,EAAgCC,EAAG,CACvC,KAAM,8YACR,CAAC,EASKC,EAAuB,aAC3B,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCP,EAAyB,OAAxB,CACC,IAAKO,EACL,UAAWC,EAAG,kEAAmEH,CAAS,EACzF,GAAGC,EAEH,UAAAF,EACDL,EAACU,EAAA,EAAuB,GAC1B,CAEJ,EAEAN,EAAe,YAAsC,OAAK,YAS1D,IAAMO,EAA2B,aAC/B,CAAC,CAAE,SAAAN,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCP,EAAyB,OAAxB,CACC,IAAKO,EACL,UAAWC,EAAG,oEAAqEH,CAAS,EAC3F,GAAGC,EAEH,UAAAF,EACDL,EAACY,EAAA,EAAwB,GAC3B,CAEJ,EAEAD,EAAmB,YAAsC,OAAK,YAQ9D,IAAME,EAA6C,OAS7CC,EAA8B,aAClC,CAAC,CAAE,SAAAT,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCP,EAAyB,UAAxB,CACC,IAAKO,EACL,UAAWN,EAA8B,CACvC,UAAW,CAAC,QAASI,CAAS,CAChC,CAAC,EACA,GAAGC,EAEH,UAAAF,EACDL,EAACe,EAAA,CACC,cAAY,OACZ,UAAU,4EACZ,GACF,CAEJ,EAEAD,EAAsB,YAAsC,UAAQ,YASpE,IAAME,EAA8B,aAClC,CAAC,CAAE,UAAAV,EAAW,GAAGC,CAAM,EAAGC,IACxBR,EAAyB,UAAxB,CACC,IAAKQ,EACL,UAAWC,EACT,wVACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAS,EAAsB,YAAsC,UAAQ,YAQpE,IAAMC,EAA6C,OAS7CP,EAA+B,aACnC,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBR,EAAC,OAAI,UAAU,oEACb,SAAAA,EAAyB,WAAxB,CACC,IAAKQ,EACL,UAAWC,EACT,iaACAH,CACF,EACC,GAAGC,EACN,EACF,CAEJ,EAEAG,EAAuB,YAAsC,WAAS,YAStE,IAAME,EAAgC,aACpC,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IACxBR,EAAyB,YAAxB,CACC,IAAKQ,EACL,UAAWC,EACT,4JACAH,CACF,EACC,GAAGC,EAEJ,SAAAP,EAAC,OAAI,UAAU,8DAA8D,EAC/E,CAEJ,EAEAY,EAAwB,YAAsC,YAAU","names":["React","ChevronDownIcon","NavigationMenuPrimitive","tv","jsx","jsxs","navigationMenuTriggerVariants","tv","NavigationMenu","children","className","props","forwardedRef","cn","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunk3Z6QUP75cjs = require('../chunk-3Z6QUP75.cjs');require('../chunk-76TT2QSB.cjs');var _chunk7NEJ7IQ3cjs = require('../chunk-7NEJ7IQ3.cjs');var _chunkYIBPK6E7cjs = require('../chunk-YIBPK6E7.cjs');require('../chunk-VJSYNP4O.cjs');var _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var l = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');var w=l.forwardRef(({ariaDecrementLabel:c,ariaIncrementLabel:d,className:I,inputSize:r,defaultValue:f,disabled:N,formatOptions:b,id:v,max:P,min:R,readOnly:h,step:y,value:C,onChange:g,...B},D)=>_jsxruntime.jsxs.call(void 0, _chunk3Z6QUP75cjs.b,{ariaDecrementLabel:c,ariaIncrementLabel:d,className:_chunk7NEJ7IQ3cjs.b.call(void 0, {inputSize:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "pr-0",I)}),defaultValue:f,disabled:N,formatOptions:b,id:v,max:P,min:R,readOnly:h,step:y,value:C,onChange:g,children:[_jsxruntime.jsx.call(void 0, _chunk3Z6QUP75cjs.c,{ref:D,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:_chunk7NEJ7IQ3cjs.c.call(void 0, {inputSize:r}),inputMode:"numeric",spellCheck:"false",...B}),_jsxruntime.jsxs.call(void 0, "div",{className:"ml-auto grid h-full divide-y rounded-r-md border-l",children:[_jsxruntime.jsx.call(void 0, _chunk3Z6QUP75cjs.d,{className:_chunkYIBPK6E7cjs.a.call(void 0, {size:"icon",variant:"ghost",className:"h-full rounded-none rounded-tr-md"}),children:_jsxruntime.jsx.call(void 0, _reacticons.ChevronUpIcon,{})}),_jsxruntime.jsx.call(void 0, _chunk3Z6QUP75cjs.e,{className:_chunkYIBPK6E7cjs.a.call(void 0, {size:"icon",variant:"ghost",className:"rounded-tb-md h-full rounded-none"}),children:_jsxruntime.jsx.call(void 0, _reacticons.ChevronDownIcon,{})})]})]}));w.displayName="NumberInput";exports.NumberInput = w;
|
|
2
|
-
//# sourceMappingURL=number-input.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/number-input.cjs","../../src/react/number-input.tsx"],"names":["NumberInput","ariaDecrementLabel","ariaIncrementLabel","className","inputSize","defaultValue","disabled","formatOptions","id","max","min","readOnly","step","value","onChange","props","forwardedRef","jsxs","root","cn","jsx","NumberInputItem","input","NumberInputIncrementButton","buttonVariants","ChevronUpIcon","NumberInputDecrementButton","ChevronDownIcon"],"mappings":"AAAA,uWAAY,CAAC,yDAA8D,iCAA8B,yDAAiD,yDAA0C,iCAA8B,yDAA0C,uECErP,mDACwB,+CAoDzC,IApCAA,CAAAA,CAAoB,CAAA,CAAA,UAAA,CACxB,CACE,CACE,kBAAA,CAAAC,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,EAAA,CAAAC,CAAAA,CACA,GAAA,CAAAC,CAAAA,CACA,GAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,CAAAA,EAEAC,8BAAAA,mBAAsBjB,CAArB,CACC,kBAAA,CAAoBC,CAAAA,CACpB,kBAAA,CAAoBC,CAAAA,CACpB,SAAA,CAAWgB,iCAAAA,CAAO,SAAA,CAAAd,CAAAA,CAAW,SAAA,CAAWe,iCAAAA,MAAG,CAAQhB,CAAS,CAAE,CAAC,CAAA,CAC/D,YAAA,CAAcE,CAAAA,CACd,QAAA,CAAUC,CAAAA,CACV,aAAA,CAAeC,CAAAA,CACf,EAAA,CAAIC,CAAAA,CACJ,GAAA,CAAKC,CAAAA,CACL,GAAA,CAAKC,CAAAA,CACL,QAAA,CAAUC,CAAAA,CACV,IAAA,CAAMC,CAAAA,CACN,KAAA,CAAOC,CAAAA,CACP,QAAA,CAAUC,CAAAA,CAEV,QAAA,CAAA,CAAAM,6BAAAA,mBAAsBC,CAArB,CACC,GAAA,CAAKL,CAAAA,CACL,cAAA,CAAe,KAAA,CACf,YAAA,CAAa,KAAA,CACb,WAAA,CAAY,KAAA,CACZ,SAAA,CAAWM,iCAAAA,CAAQ,SAAA,CAAAlB,CAAU,CAAC,CAAA,CAC9B,SAAA,CAAU,SAAA,CACV,UAAA,CAAW,OAAA,CACV,GAAGW,CAAAA,CACN,CAAA,CACAE,8BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,oDAAA,CACb,QAAA,CAAA,CAAAG,6BAAAA,mBAAsBG,CAArB,CACC,SAAA,CAAWC,iCAAAA,CAAiB,IAAA,CAAM,MAAA,CAAQ,OAAA,CAAS,OAAA,CAAS,SAAA,CAAW,mCAAoC,CAAC,CAAA,CAE5G,QAAA,CAAAJ,6BAAAA,yBAACK,CAAA,CAAA,CAAc,CAAA,CACjB,CAAA,CACAL,6BAAAA,mBAAsBM,CAArB,CACC,SAAA,CAAWF,iCAAAA,CAAiB,IAAA,CAAM,MAAA,CAAQ,OAAA,CAAS,OAAA,CAAS,SAAA,CAAW,mCAAoC,CAAC,CAAA,CAE5G,QAAA,CAAAJ,6BAAAA,2BAACO,CAAA,CAAA,CAAgB,CAAA,CACnB,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAEJ,CAAA,CAEA3B,CAAAA,CAAY,WAAA,CAAc,aAAA,CAAA,wBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/number-input.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport * as NumberInputPrimitive from '@/react/primitive/number-input';\nimport { input, type InputVariantsProps, root } from '@/react/style/input';\nimport { buttonVariants } from '@/react/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: NumberInput\n * -------------------------------------------------------------------------- */\n\ntype NumberInputElement = React.ElementRef<typeof NumberInputPrimitive.Item>;\ninterface NumberInputProps\n extends InputVariantsProps,\n React.ComponentProps<typeof NumberInputPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {}\n\nconst NumberInput = React.forwardRef<NumberInputElement, NumberInputProps>(\n (\n {\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n inputSize,\n defaultValue,\n disabled,\n formatOptions,\n id,\n max,\n min,\n readOnly,\n step,\n value,\n onChange,\n ...props\n },\n forwardedRef,\n ) => (\n <NumberInputPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ inputSize, className: cn('pr-0', className) })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n max={max}\n min={min}\n readOnly={readOnly}\n step={step}\n value={value}\n onChange={onChange}\n >\n <NumberInputPrimitive.Item\n ref={forwardedRef}\n autoCapitalize=\"off\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n className={input({ inputSize })}\n inputMode=\"numeric\"\n spellCheck=\"false\"\n {...props}\n />\n <div className=\"ml-auto grid h-full divide-y rounded-r-md border-l\">\n <NumberInputPrimitive.IncrementButton\n className={buttonVariants({ size: 'icon', variant: 'ghost', className: 'h-full rounded-none rounded-tr-md' })}\n >\n <ChevronUpIcon />\n </NumberInputPrimitive.IncrementButton>\n <NumberInputPrimitive.DecrementButton\n className={buttonVariants({ size: 'icon', variant: 'ghost', className: 'rounded-tb-md h-full rounded-none' })}\n >\n <ChevronDownIcon />\n </NumberInputPrimitive.DecrementButton>\n </div>\n </NumberInputPrimitive.Root>\n ),\n);\n\nNumberInput.displayName = 'NumberInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { NumberInput, type NumberInputProps };\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NumberInput as NumberInput$1, NumberInputItem } from './primitive/number-input.cjs';
|
|
3
|
-
import { InputVariantsProps } from './style/input.cjs';
|
|
4
|
-
import '@radix-ui/react-context';
|
|
5
|
-
import '@radix-ui/react-primitive';
|
|
6
|
-
import './primitive/input.cjs';
|
|
7
|
-
import 'tailwind-merge';
|
|
8
|
-
import 'tailwind-variants';
|
|
9
|
-
import 'tailwind-variants/dist/config.js';
|
|
10
|
-
|
|
11
|
-
interface NumberInputProps extends InputVariantsProps, React.ComponentProps<typeof NumberInput$1>, React.ComponentPropsWithoutRef<typeof NumberInputItem> {
|
|
12
|
-
}
|
|
13
|
-
declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
-
|
|
15
|
-
export { NumberInput, type NumberInputProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NumberInput as NumberInput$1, NumberInputItem } from './primitive/number-input.js';
|
|
3
|
-
import { InputVariantsProps } from './style/input.js';
|
|
4
|
-
import '@radix-ui/react-context';
|
|
5
|
-
import '@radix-ui/react-primitive';
|
|
6
|
-
import './primitive/input.js';
|
|
7
|
-
import 'tailwind-merge';
|
|
8
|
-
import 'tailwind-variants';
|
|
9
|
-
import 'tailwind-variants/dist/config.js';
|
|
10
|
-
|
|
11
|
-
interface NumberInputProps extends InputVariantsProps, React.ComponentProps<typeof NumberInput$1>, React.ComponentPropsWithoutRef<typeof NumberInputItem> {
|
|
12
|
-
}
|
|
13
|
-
declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
-
|
|
15
|
-
export { NumberInput, type NumberInputProps };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as o,c as m,d as i,e as u}from"../chunk-W5RHRZIO.js";import"../chunk-QCHBG2C4.js";import{b as a,c as p}from"../chunk-EYL4UQ5E.js";import{a as t}from"../chunk-VEXIU3VB.js";import"../chunk-JK5GPYFN.js";import{a as n}from"../chunk-VRBUDJBH.js";import*as l from"react";import{ChevronDownIcon as V,ChevronUpIcon as E}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var w=l.forwardRef(({ariaDecrementLabel:c,ariaIncrementLabel:d,className:I,inputSize:r,defaultValue:f,disabled:N,formatOptions:b,id:v,max:P,min:R,readOnly:h,step:y,value:C,onChange:g,...B},D)=>s(o,{ariaDecrementLabel:c,ariaIncrementLabel:d,className:a({inputSize:r,className:n("pr-0",I)}),defaultValue:f,disabled:N,formatOptions:b,id:v,max:P,min:R,readOnly:h,step:y,value:C,onChange:g,children:[e(m,{ref:D,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:p({inputSize:r}),inputMode:"numeric",spellCheck:"false",...B}),s("div",{className:"ml-auto grid h-full divide-y rounded-r-md border-l",children:[e(i,{className:t({size:"icon",variant:"ghost",className:"h-full rounded-none rounded-tr-md"}),children:e(E,{})}),e(u,{className:t({size:"icon",variant:"ghost",className:"rounded-tb-md h-full rounded-none"}),children:e(V,{})})]})]}));w.displayName="NumberInput";export{w as NumberInput};
|
|
2
|
-
//# sourceMappingURL=number-input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/number-input.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport * as NumberInputPrimitive from '@/react/primitive/number-input';\nimport { input, type InputVariantsProps, root } from '@/react/style/input';\nimport { buttonVariants } from '@/react/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: NumberInput\n * -------------------------------------------------------------------------- */\n\ntype NumberInputElement = React.ElementRef<typeof NumberInputPrimitive.Item>;\ninterface NumberInputProps\n extends InputVariantsProps,\n React.ComponentProps<typeof NumberInputPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {}\n\nconst NumberInput = React.forwardRef<NumberInputElement, NumberInputProps>(\n (\n {\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n inputSize,\n defaultValue,\n disabled,\n formatOptions,\n id,\n max,\n min,\n readOnly,\n step,\n value,\n onChange,\n ...props\n },\n forwardedRef,\n ) => (\n <NumberInputPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ inputSize, className: cn('pr-0', className) })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n max={max}\n min={min}\n readOnly={readOnly}\n step={step}\n value={value}\n onChange={onChange}\n >\n <NumberInputPrimitive.Item\n ref={forwardedRef}\n autoCapitalize=\"off\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n className={input({ inputSize })}\n inputMode=\"numeric\"\n spellCheck=\"false\"\n {...props}\n />\n <div className=\"ml-auto grid h-full divide-y rounded-r-md border-l\">\n <NumberInputPrimitive.IncrementButton\n className={buttonVariants({ size: 'icon', variant: 'ghost', className: 'h-full rounded-none rounded-tr-md' })}\n >\n <ChevronUpIcon />\n </NumberInputPrimitive.IncrementButton>\n <NumberInputPrimitive.DecrementButton\n className={buttonVariants({ size: 'icon', variant: 'ghost', className: 'rounded-tb-md h-full rounded-none' })}\n >\n <ChevronDownIcon />\n </NumberInputPrimitive.DecrementButton>\n </div>\n </NumberInputPrimitive.Root>\n ),\n);\n\nNumberInput.displayName = 'NumberInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { NumberInput, type NumberInputProps };\n"],"mappings":"uQAEA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,EAAiB,iBAAAC,MAAqB,wBAoDzC,cAAAC,EAUA,QAAAC,MAVA,oBApCN,IAAMC,EAAoB,aACxB,CACE,CACE,mBAAAC,EACA,mBAAAC,EACA,UAAAC,EACA,UAAAC,EACA,aAAAC,EACA,SAAAC,EACA,cAAAC,EACA,GAAAC,EACA,IAAAC,EACA,IAAAC,EACA,SAAAC,EACA,KAAAC,EACA,MAAAC,EACA,SAAAC,EACA,GAAGC,CACL,EACAC,IAEAjB,EAAsBC,EAArB,CACC,mBAAoBC,EACpB,mBAAoBC,EACpB,UAAWe,EAAK,CAAE,UAAAb,EAAW,UAAWc,EAAG,OAAQf,CAAS,CAAE,CAAC,EAC/D,aAAcE,EACd,SAAUC,EACV,cAAeC,EACf,GAAIC,EACJ,IAAKC,EACL,IAAKC,EACL,SAAUC,EACV,KAAMC,EACN,MAAOC,EACP,SAAUC,EAEV,UAAAhB,EAAsBqB,EAArB,CACC,IAAKH,EACL,eAAe,MACf,aAAa,MACb,YAAY,MACZ,UAAWI,EAAM,CAAE,UAAAhB,CAAU,CAAC,EAC9B,UAAU,UACV,WAAW,QACV,GAAGW,EACN,EACAhB,EAAC,OAAI,UAAU,qDACb,UAAAD,EAAsBuB,EAArB,CACC,UAAWC,EAAe,CAAE,KAAM,OAAQ,QAAS,QAAS,UAAW,mCAAoC,CAAC,EAE5G,SAAAxB,EAACyB,EAAA,EAAc,EACjB,EACAzB,EAAsB0B,EAArB,CACC,UAAWF,EAAe,CAAE,KAAM,OAAQ,QAAS,QAAS,UAAW,mCAAoC,CAAC,EAE5G,SAAAxB,EAAC2B,EAAA,EAAgB,EACnB,GACF,GACF,CAEJ,EAEAzB,EAAY,YAAc","names":["React","ChevronDownIcon","ChevronUpIcon","jsx","jsxs","NumberInput","ariaDecrementLabel","ariaIncrementLabel","className","inputSize","defaultValue","disabled","formatOptions","id","max","min","readOnly","step","value","onChange","props","forwardedRef","root","cn","NumberInputItem","input","NumberInputIncrementButton","buttonVariants","ChevronUpIcon","NumberInputDecrementButton","ChevronDownIcon"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/pagination.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants, type ButtonVariantsProps } from '@/react/button';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\ntype PaginationProps = React.HTMLAttributes<HTMLElement>;\n\nfunction Pagination({ className, ...props }: PaginationProps): React.JSX.Element {\n return (\n <nav\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n role=\"navigation\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationContent\n * -------------------------------------------------------------------------- */\n\ntype PaginationContentElement = HTMLUListElement;\ntype PaginationContentProps = React.HTMLAttributes<HTMLUListElement>;\n\nconst PaginationContent = React.forwardRef<PaginationContentElement, PaginationContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <ul ref={forwardedRef} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\n\nPaginationContent.displayName = 'PaginationContent';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\ntype PaginationItemElement = HTMLLIElement;\ntype PaginationItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst PaginationItem = React.forwardRef<PaginationItemElement, PaginationItemProps>((props, forwardedRef) => (\n <li ref={forwardedRef} {...props} />\n));\n\nPaginationItem.displayName = 'PaginationItem';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonVariantsProps, 'size'> {\n isActive?: boolean;\n}\n\nfunction PaginationLink({\n className,\n isActive,\n size = 'icon',\n children,\n ...props\n}: PaginationLinkProps): React.JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({\n variant: isActive ? 'outline' : 'ghost',\n size,\n className,\n })}\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\ntype PaginationPreviousProps = PaginationLinkProps;\n\nfunction PaginationPrevious({ className, ...props }: PaginationPreviousProps): React.JSX.Element {\n return (\n <PaginationLink\n aria-label=\"Go to previous page\"\n className={cn('gap-1 pl-2.5', className)}\n size=\"default\"\n {...props}\n >\n <ChevronLeftIcon className=\"size-4\" />\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationNext\n * -------------------------------------------------------------------------- */\n\ntype PaginationNextProps = PaginationLinkProps;\n\nfunction PaginationNext({ className, ...props }: PaginationNextProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('gap-1 pr-2.5', className)} size=\"default\" {...props}>\n <span>Next</span>\n <ChevronRightIcon className=\"size-4\" />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\ntype PaginationEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): React.JSX.Element {\n return (\n <span aria-hidden className={cn('flex size-10 items-center justify-center', className)} {...props}>\n <DotsHorizontalIcon className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Pagination,\n PaginationContent,\n PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n type PaginationProps,\n type PaginationContentProps,\n type PaginationLinkProps,\n type PaginationItemProps,\n type PaginationPreviousProps,\n type PaginationNextProps,\n type PaginationEllipsisProps,\n};\n"],"mappings":"+GAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,EAAiB,oBAAAC,EAAkB,sBAAAC,MAA0B,wBAYlE,cAAAC,EA2EA,QAAAC,MA3EA,oBAFJ,SAASC,EAAW,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAuC,CAC/E,OACEJ,EAAC,OACC,aAAW,aACX,UAAWK,EAAG,qCAAsCF,CAAS,EAC7D,KAAK,aACJ,GAAGC,EACN,CAEJ,CASA,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAGG,IACxBP,EAAC,MAAG,IAAKO,EAAc,UAAWF,EAAG,mCAAoCF,CAAS,EAAI,GAAGC,EAAO,CAEpG,EAEAE,EAAkB,YAAc,oBAShC,IAAME,EAAuB,aAAuD,CAACJ,EAAOG,IAC1FP,EAAC,MAAG,IAAKO,EAAe,GAAGH,EAAO,CACnC,EAEDI,EAAe,YAAc,iBAU7B,SAASC,EAAe,CACtB,UAAAN,EACA,SAAAO,EACA,KAAAC,EAAO,OACP,SAAAC,EACA,GAAGR,CACL,EAA2C,CACzC,OACEJ,EAAC,KACC,eAAcU,EAAW,OAAS,OAClC,UAAWG,EAAe,CACxB,QAASH,EAAW,UAAY,QAChC,KAAAC,EACA,UAAAR,CACF,CAAC,EACA,GAAGC,EAEH,SAAAQ,EACH,CAEJ,CAQA,SAASE,EAAmB,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAACQ,EAAA,CACC,aAAW,sBACX,UAAWJ,EAAG,eAAgBF,CAAS,EACvC,KAAK,UACJ,GAAGC,EAEJ,UAAAJ,EAACe,EAAA,CAAgB,UAAU,SAAS,EACpCf,EAAC,QAAK,oBAAQ,GAChB,CAEJ,CAQA,SAASgB,EAAe,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAA2C,CACvF,OACEH,EAACQ,EAAA,CAAe,aAAW,kBAAkB,UAAWJ,EAAG,eAAgBF,CAAS,EAAG,KAAK,UAAW,GAAGC,EACxG,UAAAJ,EAAC,QAAK,gBAAI,EACVA,EAACiB,EAAA,CAAiB,UAAU,SAAS,GACvC,CAEJ,CAQA,SAASC,EAAmB,CAAE,UAAAf,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAAC,QAAK,cAAW,GAAC,UAAWI,EAAG,2CAA4CF,CAAS,EAAI,GAAGC,EAC1F,UAAAJ,EAACmB,EAAA,CAAmB,UAAU,SAAS,EACvCnB,EAAC,QAAK,UAAU,UAAU,sBAAU,GACtC,CAEJ","names":["React","ChevronLeftIcon","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Pagination","className","props","cn","PaginationContent","forwardedRef","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","DotsHorizontalIcon"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/popover.cjs","../../src/react/popover.tsx"],"names":["Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","forwardedRef","jsx","cn","PopoverArrow"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,uECE/B,uGACW,+CAkC5B,IA1BAA,CAAAA,CAA2B,CAAA,CAAA,IAAA,CAO3BC,CAAAA,0BAAkC,CAAA,CAAA,OAAA,CAOlCC,CAAAA,yBAAiC,CAAA,CAAA,MAAA,CASjCC,CAAAA,0BAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAQ,QAAA,CAAU,UAAA,CAAAC,CAAAA,CAAa,CAAA,CAAG,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAC1DC,6BAAAA,CAAkB,CAAA,MAAA,CAAjB,CACC,QAAA,CAAAA,6BAAAA,CAAkB,CAAA,OAAA,CAAjB,CACC,GAAA,CAAKD,CAAAA,CACL,KAAA,CAAOH,CAAAA,CACP,SAAA,CAAWK,iCAAAA,+sBACT,CACAN,CACF,CAAA,CACA,UAAA,CAAYE,CAAAA,CACX,GAAGC,CAAAA,CACN,CAAA,CACF,CAEJ,CAAA,CAEAJ,CAAAA,CAAe,WAAA,CAA+B,CAAA,CAAA,OAAA,CAAQ,WAAA,CAStD,IAAMQ,CAAAA,CAAqB,CAAA,CAAA,UAAA,CACzB,CAAC,CAAE,SAAA,CAAAP,CAAAA,CAAW,GAAGG,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,cAAG,CAAgBN,CAAS,CAAA,CAAI,GAAGG,CAAAA,CAAO,CAEpG,CAAA,CAEAI,CAAAA,CAAa,WAAA,CAA+B,CAAA,CAAA,KAAA,CAAM,WAAA,CAAA,iIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/popover.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Popover\n * -------------------------------------------------------------------------- */\n\ntype PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;\nconst Popover = PopoverPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverTrigger\n * -------------------------------------------------------------------------- */\n\ntype PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverAnchor\n * -------------------------------------------------------------------------- */\n\ntype PopoverAnchorProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverContent\n * -------------------------------------------------------------------------- */\n\ntype PopoverContentElement = React.ElementRef<typeof PopoverPrimitive.Content>;\ntype PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;\n\nconst PopoverContent = React.forwardRef<PopoverContentElement, PopoverContentProps>(\n ({ className, align = 'center', sideOffset = 6, ...props }, forwardedRef) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={forwardedRef}\n align={align}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=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=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-4 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n);\n\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverArrow\n * -------------------------------------------------------------------------- */\n\ntype PopoverArrowElement = React.ElementRef<typeof PopoverPrimitive.Arrow>;\ntype PopoverArrowProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>;\n\nconst PopoverArrow = React.forwardRef<PopoverArrowElement, PopoverArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <PopoverPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nPopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverArrow,\n type PopoverProps,\n type PopoverTriggerProps,\n type PopoverContentProps,\n type PopoverAnchorProps,\n type PopoverArrowProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Popover\n * -------------------------------------------------------------------------- */\n\ntype PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;\nconst Popover = PopoverPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverTrigger\n * -------------------------------------------------------------------------- */\n\ntype PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverAnchor\n * -------------------------------------------------------------------------- */\n\ntype PopoverAnchorProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverContent\n * -------------------------------------------------------------------------- */\n\ntype PopoverContentElement = React.ElementRef<typeof PopoverPrimitive.Content>;\ntype PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;\n\nconst PopoverContent = React.forwardRef<PopoverContentElement, PopoverContentProps>(\n ({ className, align = 'center', sideOffset = 6, ...props }, forwardedRef) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={forwardedRef}\n align={align}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=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=left]:slide-out-to-right-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 z-50 min-w-32 rounded-md border p-4 shadow-md',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n);\n\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverArrow\n * -------------------------------------------------------------------------- */\n\ntype PopoverArrowElement = React.ElementRef<typeof PopoverPrimitive.Arrow>;\ntype PopoverArrowProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>;\n\nconst PopoverArrow = React.forwardRef<PopoverArrowElement, PopoverArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <PopoverPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nPopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverArrow,\n type PopoverProps,\n type PopoverTriggerProps,\n type PopoverContentProps,\n type PopoverAnchorProps,\n type PopoverArrowProps,\n};\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAsB,0BAkC5B,cAAAC,MAAA,oBA1BN,IAAMC,EAA2B,OAO3BC,EAAkC,UAOlCC,EAAiC,SASjCC,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAM,EAAGC,IAC1DT,EAAkB,SAAjB,CACC,SAAAA,EAAkB,UAAjB,CACC,IAAKS,EACL,MAAOH,EACP,UAAWI,EACT,gtBACAL,CACF,EACA,WAAYE,EACX,GAAGC,EACN,EACF,CAEJ,EAEAJ,EAAe,YAA+B,UAAQ,YAStD,IAAMO,EAAqB,aACzB,CAAC,CAAE,UAAAN,EAAW,GAAGG,CAAM,EAAGC,IACxBT,EAAkB,QAAjB,CAAuB,IAAKS,EAAc,UAAWC,EAAG,eAAgBL,CAAS,EAAI,GAAGG,EAAO,CAEpG,EAEAG,EAAa,YAA+B,QAAM","names":["React","PopoverPrimitive","jsx","Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","forwardedRef","cn","PopoverArrow"]}
|
package/dist/react/pre.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/pre.tsx"],"names":["Pre","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAY,CAAA,CAAA,UAAA,CAAiC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGlEC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,KAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAI,WAAA,CAAc,KAAA,CAAA,gBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/pre.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'pre';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nPre.displayName = 'Pre';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"]}
|
package/dist/react/pre.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/pre.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'pre';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nPre.displayName = 'Pre';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAY,aAAiC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGlEJ,EAFWE,EAAUH,EAAO,MAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAI,YAAc","names":["React","Slot","jsx","Pre","asChild","props","forwardedRef"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkOJI2FD2Tcjs = require('../../chunk-OJI2FD2T.cjs');exports.CheckboxGroup = _chunkOJI2FD2Tcjs.b; exports.CheckboxGroupIndicator = _chunkOJI2FD2Tcjs.d; exports.CheckboxGroupItem = _chunkOJI2FD2Tcjs.c; exports.Indicator = _chunkOJI2FD2Tcjs.d; exports.Item = _chunkOJI2FD2Tcjs.c; exports.Root = _chunkOJI2FD2Tcjs.b; exports.createCheckboxGroupScope = _chunkOJI2FD2Tcjs.a;
|
|
2
|
-
//# sourceMappingURL=checkbox-group.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/primitive/checkbox-group.cjs"],"names":[],"mappings":"AAAA,qFAAY,CAAC,4DAA6C,4TAA+I","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/primitive/checkbox-group.cjs"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
|
-
import * as RovingFocusGroup from '@radix-ui/react-roving-focus';
|
|
5
|
-
import { Primitive } from '@radix-ui/react-primitive';
|
|
6
|
-
|
|
7
|
-
declare const createCheckboxGroupScope: _radix_ui_react_context.CreateScope;
|
|
8
|
-
interface CheckboxGroupContextValue {
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
onItemCheck: (value: string) => void;
|
|
11
|
-
onItemUncheck: (value: string) => void;
|
|
12
|
-
required: boolean;
|
|
13
|
-
name?: string;
|
|
14
|
-
value?: string[];
|
|
15
|
-
}
|
|
16
|
-
interface CheckboxGroupProps extends React.ComponentPropsWithoutRef<typeof Primitive.div> {
|
|
17
|
-
defaultValue?: string[];
|
|
18
|
-
dir?: RovingFocusGroup.RovingFocusGroupProps['dir'];
|
|
19
|
-
disabled?: React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>['disabled'];
|
|
20
|
-
loop?: RovingFocusGroup.RovingFocusGroupProps['loop'];
|
|
21
|
-
name?: CheckboxGroupContextValue['name'];
|
|
22
|
-
onValueChange?: (value: string[]) => void;
|
|
23
|
-
orientation?: RovingFocusGroup.RovingFocusGroupProps['orientation'];
|
|
24
|
-
required?: React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>['required'];
|
|
25
|
-
value?: CheckboxGroupContextValue['value'];
|
|
26
|
-
}
|
|
27
|
-
declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
interface CheckboxGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, 'checked' | 'defaultChecked' | 'onCheckedChange' | 'name'> {
|
|
29
|
-
value: string;
|
|
30
|
-
}
|
|
31
|
-
declare const CheckboxGroupItem: React.ForwardRefExoticComponent<CheckboxGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
-
type CheckboxGroupIndicatorProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Indicator>;
|
|
33
|
-
declare const CheckboxGroupIndicator: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
34
|
-
|
|
35
|
-
export { CheckboxGroup, CheckboxGroupIndicator, type CheckboxGroupIndicatorProps, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, CheckboxGroupIndicator as Indicator, CheckboxGroupItem as Item, CheckboxGroup as Root, createCheckboxGroupScope };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
|
-
import * as RovingFocusGroup from '@radix-ui/react-roving-focus';
|
|
5
|
-
import { Primitive } from '@radix-ui/react-primitive';
|
|
6
|
-
|
|
7
|
-
declare const createCheckboxGroupScope: _radix_ui_react_context.CreateScope;
|
|
8
|
-
interface CheckboxGroupContextValue {
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
onItemCheck: (value: string) => void;
|
|
11
|
-
onItemUncheck: (value: string) => void;
|
|
12
|
-
required: boolean;
|
|
13
|
-
name?: string;
|
|
14
|
-
value?: string[];
|
|
15
|
-
}
|
|
16
|
-
interface CheckboxGroupProps extends React.ComponentPropsWithoutRef<typeof Primitive.div> {
|
|
17
|
-
defaultValue?: string[];
|
|
18
|
-
dir?: RovingFocusGroup.RovingFocusGroupProps['dir'];
|
|
19
|
-
disabled?: React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>['disabled'];
|
|
20
|
-
loop?: RovingFocusGroup.RovingFocusGroupProps['loop'];
|
|
21
|
-
name?: CheckboxGroupContextValue['name'];
|
|
22
|
-
onValueChange?: (value: string[]) => void;
|
|
23
|
-
orientation?: RovingFocusGroup.RovingFocusGroupProps['orientation'];
|
|
24
|
-
required?: React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>['required'];
|
|
25
|
-
value?: CheckboxGroupContextValue['value'];
|
|
26
|
-
}
|
|
27
|
-
declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
interface CheckboxGroupItemProps extends Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, 'checked' | 'defaultChecked' | 'onCheckedChange' | 'name'> {
|
|
29
|
-
value: string;
|
|
30
|
-
}
|
|
31
|
-
declare const CheckboxGroupItem: React.ForwardRefExoticComponent<CheckboxGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
32
|
-
type CheckboxGroupIndicatorProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Indicator>;
|
|
33
|
-
declare const CheckboxGroupIndicator: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
34
|
-
|
|
35
|
-
export { CheckboxGroup, CheckboxGroupIndicator, type CheckboxGroupIndicatorProps, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, CheckboxGroupIndicator as Indicator, CheckboxGroupItem as Item, CheckboxGroup as Root, createCheckboxGroupScope };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunk76TT2QSBcjs = require('../../chunk-76TT2QSB.cjs');exports.Input = _chunk76TT2QSBcjs.b; exports.InputItem = _chunk76TT2QSBcjs.c; exports.Item = _chunk76TT2QSBcjs.c; exports.Root = _chunk76TT2QSBcjs.b; exports.createInputScope = _chunk76TT2QSBcjs.a;
|
|
2
|
-
//# sourceMappingURL=input.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/primitive/input.cjs"],"names":[],"mappings":"AAAA,qFAAY,CAAC,4DAA2C,qMAA4E","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/primitive/input.cjs"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Primitive } from '@radix-ui/react-primitive';
|
|
4
|
-
|
|
5
|
-
declare const createInputScope: _radix_ui_react_context.CreateScope;
|
|
6
|
-
type InputProps = React.PropsWithChildren<{
|
|
7
|
-
className?: string;
|
|
8
|
-
}>;
|
|
9
|
-
declare function Input(inputProps: InputProps): React.JSX.Element;
|
|
10
|
-
declare namespace Input {
|
|
11
|
-
var displayName: string;
|
|
12
|
-
}
|
|
13
|
-
type InputItemProps = React.ComponentPropsWithoutRef<typeof Primitive.input>;
|
|
14
|
-
declare const InputItem: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
15
|
-
ref?: ((instance: HTMLInputElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
16
|
-
} & {
|
|
17
|
-
asChild?: boolean;
|
|
18
|
-
}, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
-
|
|
20
|
-
export { Input, InputItem, type InputItemProps, type InputProps, InputItem as Item, Input as Root, createInputScope };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Primitive } from '@radix-ui/react-primitive';
|
|
4
|
-
|
|
5
|
-
declare const createInputScope: _radix_ui_react_context.CreateScope;
|
|
6
|
-
type InputProps = React.PropsWithChildren<{
|
|
7
|
-
className?: string;
|
|
8
|
-
}>;
|
|
9
|
-
declare function Input(inputProps: InputProps): React.JSX.Element;
|
|
10
|
-
declare namespace Input {
|
|
11
|
-
var displayName: string;
|
|
12
|
-
}
|
|
13
|
-
type InputItemProps = React.ComponentPropsWithoutRef<typeof Primitive.input>;
|
|
14
|
-
declare const InputItem: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
15
|
-
ref?: ((instance: HTMLInputElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLInputElement> | null | undefined;
|
|
16
|
-
} & {
|
|
17
|
-
asChild?: boolean;
|
|
18
|
-
}, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
-
|
|
20
|
-
export { Input, InputItem, type InputItemProps, type InputProps, InputItem as Item, Input as Root, createInputScope };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunk3Z6QUP75cjs = require('../../chunk-3Z6QUP75.cjs');require('../../chunk-76TT2QSB.cjs');exports.DecrementButton = _chunk3Z6QUP75cjs.e; exports.IncrementButton = _chunk3Z6QUP75cjs.d; exports.Item = _chunk3Z6QUP75cjs.c; exports.NumberInput = _chunk3Z6QUP75cjs.b; exports.NumberInputDecrementButton = _chunk3Z6QUP75cjs.e; exports.NumberInputIncrementButton = _chunk3Z6QUP75cjs.d; exports.NumberInputItem = _chunk3Z6QUP75cjs.c; exports.Root = _chunk3Z6QUP75cjs.b; exports.createNumberInputScope = _chunk3Z6QUP75cjs.a;
|
|
2
|
-
//# sourceMappingURL=number-input.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/primitive/number-input.cjs"],"names":[],"mappings":"AAAA,qFAAY,CAAC,4DAA+C,oCAAiC,yaAAwM","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/primitive/number-input.cjs"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Primitive } from '@radix-ui/react-primitive';
|
|
4
|
-
import { InputProps, InputItem } from './input.cjs';
|
|
5
|
-
|
|
6
|
-
declare const createNumberInputScope: _radix_ui_react_context.CreateScope;
|
|
7
|
-
interface NumberInputProps extends Omit<InputProps, 'prefix' | 'suffix' | 'loading' | 'loaderPosition'> {
|
|
8
|
-
ariaDecrementLabel?: string;
|
|
9
|
-
ariaIncrementLabel?: string;
|
|
10
|
-
defaultValue?: number;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
formatOptions?: Intl.NumberFormatOptions;
|
|
13
|
-
id?: string;
|
|
14
|
-
locale?: string;
|
|
15
|
-
max?: number;
|
|
16
|
-
min?: number;
|
|
17
|
-
onChange?: (value: number) => void;
|
|
18
|
-
readOnly?: boolean;
|
|
19
|
-
step?: number;
|
|
20
|
-
value?: number;
|
|
21
|
-
}
|
|
22
|
-
declare function NumberInput(numberInputProps: NumberInputProps): React.JSX.Element;
|
|
23
|
-
declare namespace NumberInput {
|
|
24
|
-
var displayName: string;
|
|
25
|
-
}
|
|
26
|
-
type NumberInputItemProps = Omit<React.ComponentPropsWithoutRef<typeof InputItem>, 'min' | 'max' | 'value' | 'step' | 'onChange' | 'defaultValue' | 'disabled' | 'readOnly' | 'prefix' | 'id'>;
|
|
27
|
-
declare const NumberInputItem: React.ForwardRefExoticComponent<NumberInputItemProps & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
interface NumberInputButtonImplProps extends React.ComponentPropsWithoutRef<typeof Primitive.button> {
|
|
29
|
-
operation: 'increment' | 'decrement';
|
|
30
|
-
}
|
|
31
|
-
type NumberInputIncrementButtonProps = Omit<NumberInputButtonImplProps, 'operation'>;
|
|
32
|
-
declare const NumberInputIncrementButton: React.ForwardRefExoticComponent<NumberInputIncrementButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
33
|
-
type NumberInputDecrementButtonProps = Omit<NumberInputButtonImplProps, 'operation'>;
|
|
34
|
-
declare const NumberInputDecrementButton: React.ForwardRefExoticComponent<NumberInputDecrementButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
-
|
|
36
|
-
export { NumberInputDecrementButton as DecrementButton, NumberInputIncrementButton as IncrementButton, NumberInputItem as Item, NumberInput, NumberInputDecrementButton, type NumberInputDecrementButtonProps, NumberInputIncrementButton, type NumberInputIncrementButtonProps, NumberInputItem, type NumberInputItemProps, type NumberInputProps, NumberInput as Root, createNumberInputScope };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Primitive } from '@radix-ui/react-primitive';
|
|
4
|
-
import { InputProps, InputItem } from './input.js';
|
|
5
|
-
|
|
6
|
-
declare const createNumberInputScope: _radix_ui_react_context.CreateScope;
|
|
7
|
-
interface NumberInputProps extends Omit<InputProps, 'prefix' | 'suffix' | 'loading' | 'loaderPosition'> {
|
|
8
|
-
ariaDecrementLabel?: string;
|
|
9
|
-
ariaIncrementLabel?: string;
|
|
10
|
-
defaultValue?: number;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
formatOptions?: Intl.NumberFormatOptions;
|
|
13
|
-
id?: string;
|
|
14
|
-
locale?: string;
|
|
15
|
-
max?: number;
|
|
16
|
-
min?: number;
|
|
17
|
-
onChange?: (value: number) => void;
|
|
18
|
-
readOnly?: boolean;
|
|
19
|
-
step?: number;
|
|
20
|
-
value?: number;
|
|
21
|
-
}
|
|
22
|
-
declare function NumberInput(numberInputProps: NumberInputProps): React.JSX.Element;
|
|
23
|
-
declare namespace NumberInput {
|
|
24
|
-
var displayName: string;
|
|
25
|
-
}
|
|
26
|
-
type NumberInputItemProps = Omit<React.ComponentPropsWithoutRef<typeof InputItem>, 'min' | 'max' | 'value' | 'step' | 'onChange' | 'defaultValue' | 'disabled' | 'readOnly' | 'prefix' | 'id'>;
|
|
27
|
-
declare const NumberInputItem: React.ForwardRefExoticComponent<NumberInputItemProps & React.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
interface NumberInputButtonImplProps extends React.ComponentPropsWithoutRef<typeof Primitive.button> {
|
|
29
|
-
operation: 'increment' | 'decrement';
|
|
30
|
-
}
|
|
31
|
-
type NumberInputIncrementButtonProps = Omit<NumberInputButtonImplProps, 'operation'>;
|
|
32
|
-
declare const NumberInputIncrementButton: React.ForwardRefExoticComponent<NumberInputIncrementButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
33
|
-
type NumberInputDecrementButtonProps = Omit<NumberInputButtonImplProps, 'operation'>;
|
|
34
|
-
declare const NumberInputDecrementButton: React.ForwardRefExoticComponent<NumberInputDecrementButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
-
|
|
36
|
-
export { NumberInputDecrementButton as DecrementButton, NumberInputIncrementButton as IncrementButton, NumberInputItem as Item, NumberInput, NumberInputDecrementButton, type NumberInputDecrementButtonProps, NumberInputIncrementButton, type NumberInputIncrementButtonProps, NumberInputItem, type NumberInputItemProps, type NumberInputProps, NumberInput as Root, createNumberInputScope };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{a,b,c,d,e}from"../../chunk-W5RHRZIO.js";import"../../chunk-QCHBG2C4.js";export{e as DecrementButton,d as IncrementButton,c as Item,b as NumberInput,e as NumberInputDecrementButton,d as NumberInputIncrementButton,c as NumberInputItem,b as Root,a as createNumberInputScope};
|
|
2
|
-
//# sourceMappingURL=number-input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/react/progress.cjs","../../src/react/progress.tsx"],"names":["Progress","className","value","props","forwardedRef","jsx","cn"],"mappings":"AAAA,2cAAY,CAAC,yDAAyC,uECE/B,0GACY,+CAgB/B,IANEA,CAAAA,CAAiB,CAAA,CAAA,UAAA,CAA2C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAO,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACjGC,6BAAAA,CAAmB,CAAA,IAAA,CAAlB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,gEAAG,CAAkEL,CAAS,CAAA,CACxF,GAAGE,CAAAA,CAEJ,QAAA,CAAAE,6BAAAA,CAAmB,CAAA,SAAA,CAAlB,CACC,SAAA,CAAU,wCAAA,CACV,KAAA,CAAO,CACL,SAAA,CAAW,CAAA,YAAA,EAAe,MAAA,CAAO,GAAA,CAAA,kBAAOH,CAAAA,SAAS,GAAA,CAAE,CAAC,CAAA,EAAA,CACtD,CAAA,CACF,CAAA,CACF,CACD,CAAA,CAEDF,CAAAA,CAAS,WAAA,CAAgC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,qBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/react/progress.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressElement = React.ElementRef<typeof ProgressPrimitive.Root>;\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;\n\nconst Progress = React.forwardRef<ProgressElement, ProgressProps>(({ className, value, ...props }, forwardedRef) => (\n <ProgressPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary size-full flex-1 transition\"\n style={{\n transform: `translateX(-${String(100 - (value ?? 0))}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n));\n\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Progress, type ProgressProps };\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressElement = React.ElementRef<typeof ProgressPrimitive.Root>;\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;\n\nconst Progress = React.forwardRef<ProgressElement, ProgressProps>(({ className, value, ...props }, forwardedRef) => (\n <ProgressPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary size-full flex-1 transition\"\n style={{\n transform: `translateX(-${String(100 - (value ?? 0))}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n));\n\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Progress, type ProgressProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAuB,2BAgB/B,cAAAC,MAAA,oBANJ,IAAMC,EAAiB,aAA2C,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAGC,IACjGL,EAAmB,OAAlB,CACC,IAAKK,EACL,UAAWC,EAAG,iEAAkEJ,CAAS,EACxF,GAAGE,EAEJ,SAAAJ,EAAmB,YAAlB,CACC,UAAU,yCACV,MAAO,CACL,UAAW,eAAe,OAAO,KAAOG,GAAS,EAAE,CAAC,IACtD,EACF,EACF,CACD,EAEDF,EAAS,YAAgC,OAAK","names":["React","ProgressPrimitive","jsx","Progress","className","value","props","forwardedRef","cn"]}
|
package/dist/react/quote.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"]}
|
package/dist/react/quote.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/quote.tsx"],"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"],"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","names":["React","Slot","jsx","Quote","asChild","props","forwardedRef"]}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/radio-cards.tsx"],"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"],"mappings":"sDAEA,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","names":["React","RadioGroupPrimitive","jsx","RadioCards","className","props","forwardedRef","cn","RadioCardsItem"]}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/radio-group.tsx"],"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"],"mappings":"sDAEA,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","names":["React","RadioGroupPrimitive","jsx","RadioGroup","className","props","forwardedRef","cn","RadioGroupItem"]}
|
package/dist/react/radio.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"]}
|
package/dist/react/radio.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/react/radio.tsx"],"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"],"mappings":"sDAEA,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,SAAUM,EAAqBJ,EAAWK,GAAUN,IAAgBM,EAAM,cAAc,KAAK,CAAC,EAC7F,GAAGJ,EACN,CAGN,EAEAJ,EAAM,YAAc","names":["React","composeEventHandlers","jsx","Radio","className","onValueChange","onChange","props","forwardedRef","cn","composeEventHandlers","event"]}
|
|
@@ -1 +0,0 @@
|
|
|
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"]}
|