@codefast/ui 0.0.38 → 0.0.40
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-466PAJCA.mjs +2 -0
- package/dist/chunk-466PAJCA.mjs.map +1 -0
- package/dist/chunk-4TJBMO2Y.mjs +2 -0
- package/dist/chunk-4TJBMO2Y.mjs.map +1 -0
- package/dist/chunk-5WJB3UAO.js +2 -0
- package/dist/chunk-5WJB3UAO.js.map +1 -0
- package/dist/chunk-6B2PU2GG.mjs +2 -0
- package/dist/chunk-6B2PU2GG.mjs.map +1 -0
- package/dist/chunk-7PJR4WFR.mjs +2 -0
- package/dist/chunk-7PJR4WFR.mjs.map +1 -0
- package/dist/chunk-AEWLL6A2.js +2 -0
- package/dist/chunk-AEWLL6A2.js.map +1 -0
- package/dist/chunk-EVN2IB57.js +2 -0
- package/dist/chunk-EVN2IB57.js.map +1 -0
- package/dist/chunk-EYERINEJ.js +2 -0
- package/dist/chunk-EYERINEJ.js.map +1 -0
- package/dist/chunk-FEE6PNWV.js +2 -0
- package/dist/chunk-FEE6PNWV.js.map +1 -0
- package/dist/chunk-GRQGCS7U.mjs +2 -0
- package/dist/chunk-GRQGCS7U.mjs.map +1 -0
- package/dist/chunk-HLXU3SQI.mjs +2 -0
- package/dist/chunk-HLXU3SQI.mjs.map +1 -0
- package/dist/chunk-JCMRDCFT.js +2 -0
- package/dist/chunk-JCMRDCFT.js.map +1 -0
- package/dist/chunk-JIHHUXA5.js +2 -0
- package/dist/chunk-JIHHUXA5.js.map +1 -0
- package/dist/chunk-JTAXNFUM.mjs +2 -0
- package/dist/chunk-JTAXNFUM.mjs.map +1 -0
- package/dist/chunk-KJ77RPJ4.mjs +2 -0
- package/dist/chunk-KJ77RPJ4.mjs.map +1 -0
- package/dist/chunk-MSHUAEXI.js +2 -0
- package/dist/chunk-MSHUAEXI.js.map +1 -0
- package/dist/chunk-N6QGG4WS.mjs +2 -0
- package/dist/chunk-N6QGG4WS.mjs.map +1 -0
- package/dist/chunk-PLX35IKX.mjs +2 -0
- package/dist/chunk-PLX35IKX.mjs.map +1 -0
- package/dist/chunk-UDNWQQ3I.js +2 -0
- package/dist/chunk-UDNWQQ3I.js.map +1 -0
- package/dist/chunk-UJJZZCAC.js +2 -0
- package/dist/chunk-UJJZZCAC.js.map +1 -0
- package/dist/chunk-UPZHCTQV.js +2 -0
- package/dist/chunk-UPZHCTQV.js.map +1 -0
- package/dist/chunk-WLMYX3C7.mjs +2 -0
- package/dist/chunk-WLMYX3C7.mjs.map +1 -0
- package/dist/chunk-YR36SVVG.mjs +2 -0
- package/dist/chunk-YR36SVVG.mjs.map +1 -0
- package/dist/chunk-ZWGC5M4G.js +2 -0
- package/dist/chunk-ZWGC5M4G.js.map +1 -0
- package/dist/lib/utils.js +2 -0
- package/dist/lib/utils.mjs +2 -0
- package/dist/plugin/animate.plugin.d.mts +9 -0
- package/dist/plugin/animate.plugin.d.ts +9 -0
- package/dist/plugin/animate.plugin.js +2 -0
- package/dist/plugin/animate.plugin.mjs +2 -0
- package/dist/plugin/base.plugin.d.mts +8 -0
- package/dist/plugin/base.plugin.d.ts +8 -0
- package/dist/plugin/base.plugin.js +2 -0
- package/dist/plugin/base.plugin.mjs +2 -0
- package/dist/plugin/perspective.plugin.d.mts +8 -0
- package/dist/plugin/perspective.plugin.d.ts +8 -0
- package/dist/plugin/perspective.plugin.js +2 -0
- package/dist/plugin/perspective.plugin.mjs +2 -0
- package/dist/react/accordion.js +2 -0
- package/dist/react/accordion.js.map +1 -0
- package/dist/react/accordion.mjs +2 -0
- package/dist/react/accordion.mjs.map +1 -0
- package/dist/react/alert-dialog.js +2 -0
- package/dist/react/alert-dialog.js.map +1 -0
- package/dist/react/alert-dialog.mjs +2 -0
- package/dist/react/alert-dialog.mjs.map +1 -0
- package/dist/react/alert.js +2 -0
- package/dist/react/alert.js.map +1 -0
- package/dist/react/alert.mjs +2 -0
- package/dist/react/alert.mjs.map +1 -0
- package/dist/react/aspect-ratio.js.map +1 -0
- package/dist/react/aspect-ratio.mjs.map +1 -0
- package/dist/react/avatar.js +2 -0
- package/dist/react/avatar.js.map +1 -0
- package/dist/react/avatar.mjs +2 -0
- package/dist/react/avatar.mjs.map +1 -0
- package/dist/react/badge.js +2 -0
- package/dist/react/badge.js.map +1 -0
- package/dist/react/badge.mjs +2 -0
- package/dist/react/badge.mjs.map +1 -0
- package/dist/react/blockquote.js.map +1 -0
- package/dist/react/blockquote.mjs.map +1 -0
- package/dist/react/box.js.map +1 -0
- package/dist/react/box.mjs.map +1 -0
- package/dist/react/breadcrumb.js +2 -0
- package/dist/react/breadcrumb.js.map +1 -0
- package/dist/react/breadcrumb.mjs +2 -0
- package/dist/react/breadcrumb.mjs.map +1 -0
- package/dist/react/button.js +2 -0
- package/dist/react/button.mjs +2 -0
- package/dist/react/calendar.js +2 -0
- package/dist/react/calendar.js.map +1 -0
- package/dist/react/calendar.mjs +2 -0
- package/dist/react/calendar.mjs.map +1 -0
- package/dist/react/card.js +2 -0
- package/dist/react/card.js.map +1 -0
- package/dist/react/card.mjs +2 -0
- package/dist/react/card.mjs.map +1 -0
- package/dist/react/carousel.js +2 -0
- package/dist/react/carousel.js.map +1 -0
- package/dist/react/carousel.mjs +2 -0
- package/dist/react/carousel.mjs.map +1 -0
- package/dist/react/checkbox-cards.js +2 -0
- package/dist/react/checkbox-cards.js.map +1 -0
- package/dist/react/checkbox-cards.mjs +2 -0
- package/dist/react/checkbox-cards.mjs.map +1 -0
- package/dist/react/checkbox-group.js +2 -0
- package/dist/react/checkbox-group.js.map +1 -0
- package/dist/react/checkbox-group.mjs +2 -0
- package/dist/react/checkbox-group.mjs.map +1 -0
- package/dist/react/checkbox-group.primitive.js +2 -0
- package/dist/react/checkbox-group.primitive.mjs +2 -0
- package/dist/react/checkbox.js +2 -0
- package/dist/react/checkbox.js.map +1 -0
- package/dist/react/checkbox.mjs +2 -0
- package/dist/react/checkbox.mjs.map +1 -0
- package/dist/react/code.js.map +1 -0
- package/dist/react/code.mjs.map +1 -0
- package/dist/react/collapsible.js +2 -0
- package/dist/react/collapsible.js.map +1 -0
- package/dist/react/collapsible.mjs +2 -0
- package/dist/react/collapsible.mjs.map +1 -0
- package/dist/react/command.d.mts +101 -0
- package/dist/react/command.d.ts +101 -0
- package/dist/react/command.js +2 -0
- package/dist/react/command.js.map +1 -0
- package/dist/react/command.mjs +2 -0
- package/dist/react/command.mjs.map +1 -0
- package/dist/react/container.js +2 -0
- package/dist/react/container.js.map +1 -0
- package/dist/react/container.mjs +2 -0
- package/dist/react/container.mjs.map +1 -0
- package/dist/react/context-menu.js +2 -0
- package/dist/react/context-menu.js.map +1 -0
- package/dist/react/context-menu.mjs +2 -0
- package/dist/react/context-menu.mjs.map +1 -0
- package/dist/react/data-table.js +2 -0
- package/dist/react/data-table.js.map +1 -0
- package/dist/react/data-table.mjs +2 -0
- package/dist/react/data-table.mjs.map +1 -0
- package/dist/react/dialog.js +2 -0
- package/dist/react/dialog.mjs +2 -0
- package/dist/react/drawer.js +2 -0
- package/dist/react/drawer.js.map +1 -0
- package/dist/react/drawer.mjs +2 -0
- package/dist/react/drawer.mjs.map +1 -0
- package/dist/react/dropdown-menu.js +2 -0
- package/dist/react/dropdown-menu.mjs +2 -0
- package/dist/react/em.js.map +1 -0
- package/dist/react/em.mjs.map +1 -0
- package/dist/react/form.js +2 -0
- package/dist/react/form.js.map +1 -0
- package/dist/react/form.mjs +2 -0
- package/dist/react/form.mjs.map +1 -0
- package/dist/react/heading.js.map +1 -0
- package/dist/react/heading.mjs.map +1 -0
- package/dist/react/hover-card.js +2 -0
- package/dist/react/hover-card.js.map +1 -0
- package/dist/react/hover-card.mjs +2 -0
- package/dist/react/hover-card.mjs.map +1 -0
- package/dist/react/input-otp.js +2 -0
- package/dist/react/input-otp.js.map +1 -0
- package/dist/react/input-otp.mjs +2 -0
- package/dist/react/input-otp.mjs.map +1 -0
- package/dist/react/input.js +2 -0
- package/dist/react/input.js.map +1 -0
- package/dist/react/input.mjs +2 -0
- package/dist/react/input.mjs.map +1 -0
- package/dist/react/kbd.js +2 -0
- package/dist/react/kbd.js.map +1 -0
- package/dist/react/kbd.mjs +2 -0
- package/dist/react/kbd.mjs.map +1 -0
- package/dist/react/label.js +2 -0
- package/dist/react/label.mjs +2 -0
- package/dist/react/menubar.js +2 -0
- package/dist/react/menubar.js.map +1 -0
- package/dist/react/menubar.mjs +2 -0
- package/dist/react/menubar.mjs.map +1 -0
- package/dist/react/navigation-menu.js +2 -0
- package/dist/react/navigation-menu.js.map +1 -0
- package/dist/react/navigation-menu.mjs +2 -0
- package/dist/react/navigation-menu.mjs.map +1 -0
- package/dist/react/pagination.js +2 -0
- package/dist/react/pagination.js.map +1 -0
- package/dist/react/pagination.mjs +2 -0
- package/dist/react/pagination.mjs.map +1 -0
- package/dist/react/popover.js +2 -0
- package/dist/react/popover.js.map +1 -0
- package/dist/react/popover.mjs +2 -0
- package/dist/react/popover.mjs.map +1 -0
- package/dist/react/pre.js.map +1 -0
- package/dist/react/pre.mjs.map +1 -0
- package/dist/react/progress.js +2 -0
- package/dist/react/progress.js.map +1 -0
- package/dist/react/progress.mjs +2 -0
- package/dist/react/progress.mjs.map +1 -0
- package/dist/react/quote.js.map +1 -0
- package/dist/react/quote.mjs.map +1 -0
- package/dist/react/radio-cards.js +2 -0
- package/dist/react/radio-cards.js.map +1 -0
- package/dist/react/radio-cards.mjs +2 -0
- package/dist/react/radio-cards.mjs.map +1 -0
- package/dist/react/radio-group.js +2 -0
- package/dist/react/radio-group.js.map +1 -0
- package/dist/react/radio-group.mjs +2 -0
- package/dist/react/radio-group.mjs.map +1 -0
- package/dist/react/radio.js +2 -0
- package/dist/react/radio.js.map +1 -0
- package/dist/react/radio.mjs +2 -0
- package/dist/react/radio.mjs.map +1 -0
- package/dist/react/resizable.js +2 -0
- package/dist/react/resizable.js.map +1 -0
- package/dist/react/resizable.mjs +2 -0
- package/dist/react/resizable.mjs.map +1 -0
- package/dist/react/scroll-area.js +2 -0
- package/dist/react/scroll-area.js.map +1 -0
- package/dist/react/scroll-area.mjs +2 -0
- package/dist/react/scroll-area.mjs.map +1 -0
- package/dist/react/section.js.map +1 -0
- package/dist/react/section.mjs.map +1 -0
- package/dist/react/select.js +2 -0
- package/dist/react/select.mjs +2 -0
- package/dist/react/separator.js +2 -0
- package/dist/react/separator.js.map +1 -0
- package/dist/react/separator.mjs +2 -0
- package/dist/react/separator.mjs.map +1 -0
- package/dist/react/sheet.js +2 -0
- package/dist/react/sheet.js.map +1 -0
- package/dist/react/sheet.mjs +2 -0
- package/dist/react/sheet.mjs.map +1 -0
- package/dist/react/skeleton.js +2 -0
- package/dist/react/skeleton.js.map +1 -0
- package/dist/react/skeleton.mjs +2 -0
- package/dist/react/skeleton.mjs.map +1 -0
- package/dist/react/slider.js +2 -0
- package/dist/react/slider.js.map +1 -0
- package/dist/react/slider.mjs +2 -0
- package/dist/react/slider.mjs.map +1 -0
- package/dist/react/sonner.js.map +1 -0
- package/dist/react/sonner.mjs.map +1 -0
- package/dist/react/spinner.js +2 -0
- package/dist/react/spinner.mjs +2 -0
- package/dist/react/strong.js.map +1 -0
- package/dist/react/strong.mjs.map +1 -0
- package/dist/react/switch.js +2 -0
- package/dist/react/switch.js.map +1 -0
- package/dist/react/switch.mjs +2 -0
- package/dist/react/switch.mjs.map +1 -0
- package/dist/react/table.js +2 -0
- package/dist/react/table.js.map +1 -0
- package/dist/react/table.mjs +2 -0
- package/dist/react/table.mjs.map +1 -0
- package/dist/react/tabs.js +2 -0
- package/dist/react/tabs.js.map +1 -0
- package/dist/react/tabs.mjs +2 -0
- package/dist/react/tabs.mjs.map +1 -0
- package/dist/react/text.js.map +1 -0
- package/dist/react/text.mjs.map +1 -0
- package/dist/react/textarea.js +2 -0
- package/dist/react/textarea.js.map +1 -0
- package/dist/react/textarea.mjs +2 -0
- package/dist/react/textarea.mjs.map +1 -0
- package/dist/react/toggle-group.js +2 -0
- package/dist/react/toggle-group.js.map +1 -0
- package/dist/react/toggle-group.mjs +2 -0
- package/dist/react/toggle-group.mjs.map +1 -0
- package/dist/react/toggle.js +2 -0
- package/dist/react/toggle.mjs +2 -0
- package/dist/react/tooltip.js +2 -0
- package/dist/react/tooltip.js.map +1 -0
- package/dist/react/tooltip.mjs +2 -0
- package/dist/react/tooltip.mjs.map +1 -0
- package/dist/styles.css.map +1 -1
- package/dist/tailwind.config.d.mts +5 -0
- package/dist/tailwind.config.d.ts +5 -0
- package/dist/tailwind.config.js +1 -1
- package/dist/tailwind.config.js.map +1 -1
- package/dist/tailwind.config.mjs +1 -1
- package/dist/tailwind.config.mjs.map +1 -1
- package/package.json +194 -196
- package/src/react/accordion.tsx +86 -0
- package/src/react/alert-dialog.tsx +149 -0
- package/src/react/alert.tsx +71 -0
- package/src/react/avatar.tsx +58 -0
- package/src/react/badge.tsx +40 -0
- package/src/react/breadcrumb.tsx +148 -0
- package/src/react/button.tsx +95 -0
- package/src/react/calendar.tsx +79 -0
- package/src/react/card.tsx +103 -0
- package/src/react/carousel.tsx +299 -0
- package/src/react/checkbox-cards.tsx +59 -0
- package/src/react/checkbox-group.tsx +53 -0
- package/src/react/checkbox.tsx +36 -0
- package/src/react/collapsible.tsx +54 -0
- package/src/react/command.tsx +199 -0
- package/src/react/container.tsx +27 -0
- package/src/react/context-menu.tsx +302 -0
- package/src/react/data-table.tsx +247 -0
- package/src/react/dialog.tsx +133 -0
- package/src/react/drawer.tsx +132 -0
- package/src/react/dropdown-menu.tsx +286 -0
- package/src/react/form.tsx +216 -0
- package/src/react/hover-card.tsx +73 -0
- package/src/react/input-otp.tsx +114 -0
- package/src/react/input.tsx +43 -0
- package/src/react/kbd.tsx +36 -0
- package/src/react/label.tsx +30 -0
- package/src/react/menubar.tsx +316 -0
- package/src/react/navigation-menu.tsx +191 -0
- package/src/react/pagination.tsx +150 -0
- package/src/react/popover.tsx +82 -0
- package/src/react/progress.tsx +35 -0
- package/src/react/radio-cards.tsx +46 -0
- package/src/react/radio-group.tsx +48 -0
- package/src/react/radio.tsx +38 -0
- package/src/react/resizable.tsx +62 -0
- package/src/react/scroll-area.tsx +56 -0
- package/src/react/select.tsx +217 -0
- package/src/react/separator.tsx +32 -0
- package/src/react/sheet.tsx +148 -0
- package/src/react/skeleton.tsx +18 -0
- package/src/react/slider.tsx +41 -0
- package/src/react/spinner.tsx +68 -0
- package/src/react/switch.tsx +33 -0
- package/src/react/table.tsx +142 -0
- package/src/react/tabs.tsx +87 -0
- package/src/react/textarea.tsx +30 -0
- package/src/react/toggle-group.tsx +81 -0
- package/src/react/toggle.tsx +49 -0
- package/src/react/tooltip.tsx +81 -0
- package/tailwind.config.ts +3 -3
- package/dist/accordion.js +0 -2
- package/dist/accordion.js.map +0 -1
- package/dist/accordion.mjs +0 -2
- package/dist/accordion.mjs.map +0 -1
- package/dist/alert-dialog.js +0 -2
- package/dist/alert-dialog.js.map +0 -1
- package/dist/alert-dialog.mjs +0 -2
- package/dist/alert-dialog.mjs.map +0 -1
- package/dist/alert.js +0 -2
- package/dist/alert.js.map +0 -1
- package/dist/alert.mjs +0 -2
- package/dist/alert.mjs.map +0 -1
- package/dist/animate.plugin.js +0 -2
- package/dist/animate.plugin.mjs +0 -2
- package/dist/aspect-ratio.js.map +0 -1
- package/dist/aspect-ratio.mjs.map +0 -1
- package/dist/avatar.js +0 -2
- package/dist/avatar.js.map +0 -1
- package/dist/avatar.mjs +0 -2
- package/dist/avatar.mjs.map +0 -1
- package/dist/badge.js +0 -2
- package/dist/badge.js.map +0 -1
- package/dist/badge.mjs +0 -2
- package/dist/badge.mjs.map +0 -1
- package/dist/base.plugin.js +0 -2
- package/dist/base.plugin.mjs +0 -2
- package/dist/blockquote.js.map +0 -1
- package/dist/blockquote.mjs.map +0 -1
- package/dist/box.js.map +0 -1
- package/dist/box.mjs.map +0 -1
- package/dist/breadcrumb.js +0 -2
- package/dist/breadcrumb.js.map +0 -1
- package/dist/breadcrumb.mjs +0 -2
- package/dist/breadcrumb.mjs.map +0 -1
- package/dist/button.js +0 -2
- package/dist/button.mjs +0 -2
- package/dist/calendar.js +0 -2
- package/dist/calendar.js.map +0 -1
- package/dist/calendar.mjs +0 -2
- package/dist/calendar.mjs.map +0 -1
- package/dist/card.js +0 -2
- package/dist/card.js.map +0 -1
- package/dist/card.mjs +0 -2
- package/dist/card.mjs.map +0 -1
- package/dist/carousel.js +0 -2
- package/dist/carousel.js.map +0 -1
- package/dist/carousel.mjs +0 -2
- package/dist/carousel.mjs.map +0 -1
- package/dist/checkbox-cards.js +0 -2
- package/dist/checkbox-cards.js.map +0 -1
- package/dist/checkbox-cards.mjs +0 -2
- package/dist/checkbox-cards.mjs.map +0 -1
- package/dist/checkbox-group.js +0 -2
- package/dist/checkbox-group.js.map +0 -1
- package/dist/checkbox-group.mjs +0 -2
- package/dist/checkbox-group.mjs.map +0 -1
- package/dist/checkbox-group.primitive.js +0 -2
- package/dist/checkbox-group.primitive.mjs +0 -2
- package/dist/checkbox.js +0 -2
- package/dist/checkbox.js.map +0 -1
- package/dist/checkbox.mjs +0 -2
- package/dist/checkbox.mjs.map +0 -1
- package/dist/chunk-3SA7GKBT.js +0 -2
- package/dist/chunk-3SA7GKBT.js.map +0 -1
- package/dist/chunk-4UVLRXTB.mjs +0 -2
- package/dist/chunk-4UVLRXTB.mjs.map +0 -1
- package/dist/chunk-55N7YRUU.js +0 -2
- package/dist/chunk-55N7YRUU.js.map +0 -1
- package/dist/chunk-5M27PLCC.js +0 -2
- package/dist/chunk-5M27PLCC.js.map +0 -1
- package/dist/chunk-6ENW5MAY.mjs +0 -2
- package/dist/chunk-6ENW5MAY.mjs.map +0 -1
- package/dist/chunk-7XGQAAYA.mjs +0 -2
- package/dist/chunk-7XGQAAYA.mjs.map +0 -1
- package/dist/chunk-ATQPXKGH.mjs +0 -2
- package/dist/chunk-ATQPXKGH.mjs.map +0 -1
- package/dist/chunk-BTOKXWS2.mjs +0 -2
- package/dist/chunk-BTOKXWS2.mjs.map +0 -1
- package/dist/chunk-DCN2KICL.js +0 -2
- package/dist/chunk-DCN2KICL.js.map +0 -1
- package/dist/chunk-FMUUVBVI.mjs +0 -2
- package/dist/chunk-FMUUVBVI.mjs.map +0 -1
- package/dist/chunk-IBJ5USOR.js +0 -2
- package/dist/chunk-IBJ5USOR.js.map +0 -1
- package/dist/chunk-JTI7KCLO.mjs +0 -2
- package/dist/chunk-JTI7KCLO.mjs.map +0 -1
- package/dist/chunk-K7TLHY6G.js +0 -2
- package/dist/chunk-K7TLHY6G.js.map +0 -1
- package/dist/chunk-KXTYKCZX.js +0 -2
- package/dist/chunk-KXTYKCZX.js.map +0 -1
- package/dist/chunk-MFQLWIKZ.js +0 -2
- package/dist/chunk-MFQLWIKZ.js.map +0 -1
- package/dist/chunk-MUVQMEAI.js +0 -2
- package/dist/chunk-MUVQMEAI.js.map +0 -1
- package/dist/chunk-MXVHKLFU.mjs +0 -2
- package/dist/chunk-MXVHKLFU.mjs.map +0 -1
- package/dist/chunk-O7LLHO4I.js +0 -2
- package/dist/chunk-O7LLHO4I.js.map +0 -1
- package/dist/chunk-OJNMIA22.mjs +0 -2
- package/dist/chunk-OJNMIA22.mjs.map +0 -1
- package/dist/chunk-PWYOPWLL.js +0 -2
- package/dist/chunk-PWYOPWLL.js.map +0 -1
- package/dist/chunk-QZCQ42BP.js +0 -2
- package/dist/chunk-QZCQ42BP.js.map +0 -1
- package/dist/chunk-YZ5BKYGH.mjs +0 -2
- package/dist/chunk-YZ5BKYGH.mjs.map +0 -1
- package/dist/chunk-ZAPOFDFG.mjs +0 -2
- package/dist/chunk-ZAPOFDFG.mjs.map +0 -1
- package/dist/chunk-ZLAYTLRK.mjs +0 -2
- package/dist/chunk-ZLAYTLRK.mjs.map +0 -1
- package/dist/code.js.map +0 -1
- package/dist/code.mjs.map +0 -1
- package/dist/collapsible.js +0 -2
- package/dist/collapsible.js.map +0 -1
- package/dist/collapsible.mjs +0 -2
- package/dist/collapsible.mjs.map +0 -1
- package/dist/command.d.mts +0 -101
- package/dist/command.d.ts +0 -101
- package/dist/command.js +0 -2
- package/dist/command.js.map +0 -1
- package/dist/command.mjs +0 -2
- package/dist/command.mjs.map +0 -1
- package/dist/container.js +0 -2
- package/dist/container.js.map +0 -1
- package/dist/container.mjs +0 -2
- package/dist/container.mjs.map +0 -1
- package/dist/context-menu.js +0 -2
- package/dist/context-menu.js.map +0 -1
- package/dist/context-menu.mjs +0 -2
- package/dist/context-menu.mjs.map +0 -1
- package/dist/data-table.js +0 -2
- package/dist/data-table.js.map +0 -1
- package/dist/data-table.mjs +0 -2
- package/dist/data-table.mjs.map +0 -1
- package/dist/dialog.js +0 -2
- package/dist/dialog.mjs +0 -2
- package/dist/drawer.js +0 -2
- package/dist/drawer.js.map +0 -1
- package/dist/drawer.mjs +0 -2
- package/dist/drawer.mjs.map +0 -1
- package/dist/dropdown-menu.js +0 -2
- package/dist/dropdown-menu.mjs +0 -2
- package/dist/em.js.map +0 -1
- package/dist/em.mjs.map +0 -1
- package/dist/form.js +0 -2
- package/dist/form.js.map +0 -1
- package/dist/form.mjs +0 -2
- package/dist/form.mjs.map +0 -1
- package/dist/heading.js.map +0 -1
- package/dist/heading.mjs.map +0 -1
- package/dist/hover-card.js +0 -2
- package/dist/hover-card.js.map +0 -1
- package/dist/hover-card.mjs +0 -2
- package/dist/hover-card.mjs.map +0 -1
- package/dist/input-otp.js +0 -2
- package/dist/input-otp.js.map +0 -1
- package/dist/input-otp.mjs +0 -2
- package/dist/input-otp.mjs.map +0 -1
- package/dist/input.js +0 -2
- package/dist/input.js.map +0 -1
- package/dist/input.mjs +0 -2
- package/dist/input.mjs.map +0 -1
- package/dist/kbd.js +0 -2
- package/dist/kbd.js.map +0 -1
- package/dist/kbd.mjs +0 -2
- package/dist/kbd.mjs.map +0 -1
- package/dist/label.js +0 -2
- package/dist/label.mjs +0 -2
- package/dist/menubar.js +0 -2
- package/dist/menubar.js.map +0 -1
- package/dist/menubar.mjs +0 -2
- package/dist/menubar.mjs.map +0 -1
- package/dist/navigation-menu.js +0 -2
- package/dist/navigation-menu.js.map +0 -1
- package/dist/navigation-menu.mjs +0 -2
- package/dist/navigation-menu.mjs.map +0 -1
- package/dist/pagination.js +0 -2
- package/dist/pagination.js.map +0 -1
- package/dist/pagination.mjs +0 -2
- package/dist/pagination.mjs.map +0 -1
- package/dist/perspective.plugin.js +0 -2
- package/dist/perspective.plugin.mjs +0 -2
- package/dist/popover.js +0 -2
- package/dist/popover.js.map +0 -1
- package/dist/popover.mjs +0 -2
- package/dist/popover.mjs.map +0 -1
- package/dist/pre.js.map +0 -1
- package/dist/pre.mjs.map +0 -1
- package/dist/progress.js +0 -2
- package/dist/progress.js.map +0 -1
- package/dist/progress.mjs +0 -2
- package/dist/progress.mjs.map +0 -1
- package/dist/quote.js.map +0 -1
- package/dist/quote.mjs.map +0 -1
- package/dist/radio-cards.js +0 -2
- package/dist/radio-cards.js.map +0 -1
- package/dist/radio-cards.mjs +0 -2
- package/dist/radio-cards.mjs.map +0 -1
- package/dist/radio-group.js +0 -2
- package/dist/radio-group.js.map +0 -1
- package/dist/radio-group.mjs +0 -2
- package/dist/radio-group.mjs.map +0 -1
- package/dist/radio.js +0 -2
- package/dist/radio.js.map +0 -1
- package/dist/radio.mjs +0 -2
- package/dist/radio.mjs.map +0 -1
- package/dist/resizable.js +0 -2
- package/dist/resizable.js.map +0 -1
- package/dist/resizable.mjs +0 -2
- package/dist/resizable.mjs.map +0 -1
- package/dist/scroll-area.js +0 -2
- package/dist/scroll-area.js.map +0 -1
- package/dist/scroll-area.mjs +0 -2
- package/dist/scroll-area.mjs.map +0 -1
- package/dist/section.js.map +0 -1
- package/dist/section.mjs.map +0 -1
- package/dist/select.js +0 -2
- package/dist/select.mjs +0 -2
- package/dist/separator.js +0 -2
- package/dist/separator.js.map +0 -1
- package/dist/separator.mjs +0 -2
- package/dist/separator.mjs.map +0 -1
- package/dist/sheet.js +0 -2
- package/dist/sheet.js.map +0 -1
- package/dist/sheet.mjs +0 -2
- package/dist/sheet.mjs.map +0 -1
- package/dist/skeleton.js +0 -2
- package/dist/skeleton.js.map +0 -1
- package/dist/skeleton.mjs +0 -2
- package/dist/skeleton.mjs.map +0 -1
- package/dist/slider.js +0 -2
- package/dist/slider.js.map +0 -1
- package/dist/slider.mjs +0 -2
- package/dist/slider.mjs.map +0 -1
- package/dist/sonner.js.map +0 -1
- package/dist/sonner.mjs.map +0 -1
- package/dist/spinner.js +0 -2
- package/dist/spinner.mjs +0 -2
- package/dist/strong.js.map +0 -1
- package/dist/strong.mjs.map +0 -1
- package/dist/switch.js +0 -2
- package/dist/switch.js.map +0 -1
- package/dist/switch.mjs +0 -2
- package/dist/switch.mjs.map +0 -1
- package/dist/table.js +0 -2
- package/dist/table.js.map +0 -1
- package/dist/table.mjs +0 -2
- package/dist/table.mjs.map +0 -1
- package/dist/tabs.js +0 -2
- package/dist/tabs.js.map +0 -1
- package/dist/tabs.mjs +0 -2
- package/dist/tabs.mjs.map +0 -1
- package/dist/text.js.map +0 -1
- package/dist/text.mjs.map +0 -1
- package/dist/textarea.js +0 -2
- package/dist/textarea.js.map +0 -1
- package/dist/textarea.mjs +0 -2
- package/dist/textarea.mjs.map +0 -1
- package/dist/toggle-group.js +0 -2
- package/dist/toggle-group.js.map +0 -1
- package/dist/toggle-group.mjs +0 -2
- package/dist/toggle-group.mjs.map +0 -1
- package/dist/toggle.js +0 -2
- package/dist/toggle.mjs +0 -2
- package/dist/tooltip.js +0 -2
- package/dist/tooltip.js.map +0 -1
- package/dist/tooltip.mjs +0 -2
- package/dist/tooltip.mjs.map +0 -1
- package/dist/utils.js +0 -2
- package/dist/utils.mjs +0 -2
- package/src/accordion.tsx +0 -86
- package/src/alert-dialog.tsx +0 -149
- package/src/alert.tsx +0 -71
- package/src/avatar.tsx +0 -58
- package/src/badge.tsx +0 -40
- package/src/breadcrumb.tsx +0 -148
- package/src/button.tsx +0 -95
- package/src/calendar.tsx +0 -79
- package/src/card.tsx +0 -103
- package/src/carousel.tsx +0 -299
- package/src/checkbox-cards.tsx +0 -59
- package/src/checkbox-group.tsx +0 -53
- package/src/checkbox.tsx +0 -36
- package/src/collapsible.tsx +0 -54
- package/src/command.tsx +0 -199
- package/src/container.tsx +0 -27
- package/src/context-menu.tsx +0 -302
- package/src/data-table.tsx +0 -247
- package/src/dialog.tsx +0 -133
- package/src/drawer.tsx +0 -132
- package/src/dropdown-menu.tsx +0 -286
- package/src/form.tsx +0 -216
- package/src/hover-card.tsx +0 -73
- package/src/input-otp.tsx +0 -114
- package/src/input.tsx +0 -43
- package/src/kbd.tsx +0 -36
- package/src/label.tsx +0 -30
- package/src/menubar.tsx +0 -316
- package/src/navigation-menu.tsx +0 -191
- package/src/pagination.tsx +0 -150
- package/src/popover.tsx +0 -82
- package/src/progress.tsx +0 -35
- package/src/radio-cards.tsx +0 -46
- package/src/radio-group.tsx +0 -48
- package/src/radio.tsx +0 -38
- package/src/resizable.tsx +0 -62
- package/src/scroll-area.tsx +0 -56
- package/src/select.tsx +0 -217
- package/src/separator.tsx +0 -32
- package/src/sheet.tsx +0 -148
- package/src/skeleton.tsx +0 -18
- package/src/slider.tsx +0 -41
- package/src/spinner.tsx +0 -68
- package/src/switch.tsx +0 -33
- package/src/table.tsx +0 -142
- package/src/tabs.tsx +0 -87
- package/src/textarea.tsx +0 -30
- package/src/toggle-group.tsx +0 -81
- package/src/toggle.tsx +0 -49
- package/src/tooltip.tsx +0 -81
- /package/dist/{utils.d.mts → lib/utils.d.mts} +0 -0
- /package/dist/{utils.d.ts → lib/utils.d.ts} +0 -0
- /package/dist/{utils.js.map → lib/utils.js.map} +0 -0
- /package/dist/{utils.mjs.map → lib/utils.mjs.map} +0 -0
- /package/dist/{animate.plugin.js.map → plugin/animate.plugin.js.map} +0 -0
- /package/dist/{animate.plugin.mjs.map → plugin/animate.plugin.mjs.map} +0 -0
- /package/dist/{base.plugin.js.map → plugin/base.plugin.js.map} +0 -0
- /package/dist/{base.plugin.mjs.map → plugin/base.plugin.mjs.map} +0 -0
- /package/dist/{perspective.plugin.js.map → plugin/perspective.plugin.js.map} +0 -0
- /package/dist/{perspective.plugin.mjs.map → plugin/perspective.plugin.mjs.map} +0 -0
- /package/dist/{accordion.d.mts → react/accordion.d.mts} +0 -0
- /package/dist/{accordion.d.ts → react/accordion.d.ts} +0 -0
- /package/dist/{alert-dialog.d.mts → react/alert-dialog.d.mts} +0 -0
- /package/dist/{alert-dialog.d.ts → react/alert-dialog.d.ts} +0 -0
- /package/dist/{alert.d.mts → react/alert.d.mts} +0 -0
- /package/dist/{alert.d.ts → react/alert.d.ts} +0 -0
- /package/dist/{aspect-ratio.d.mts → react/aspect-ratio.d.mts} +0 -0
- /package/dist/{aspect-ratio.d.ts → react/aspect-ratio.d.ts} +0 -0
- /package/dist/{aspect-ratio.js → react/aspect-ratio.js} +0 -0
- /package/dist/{aspect-ratio.mjs → react/aspect-ratio.mjs} +0 -0
- /package/dist/{avatar.d.mts → react/avatar.d.mts} +0 -0
- /package/dist/{avatar.d.ts → react/avatar.d.ts} +0 -0
- /package/dist/{badge.d.mts → react/badge.d.mts} +0 -0
- /package/dist/{badge.d.ts → react/badge.d.ts} +0 -0
- /package/dist/{blockquote.d.mts → react/blockquote.d.mts} +0 -0
- /package/dist/{blockquote.d.ts → react/blockquote.d.ts} +0 -0
- /package/dist/{blockquote.js → react/blockquote.js} +0 -0
- /package/dist/{blockquote.mjs → react/blockquote.mjs} +0 -0
- /package/dist/{box.d.mts → react/box.d.mts} +0 -0
- /package/dist/{box.d.ts → react/box.d.ts} +0 -0
- /package/dist/{box.js → react/box.js} +0 -0
- /package/dist/{box.mjs → react/box.mjs} +0 -0
- /package/dist/{breadcrumb.d.mts → react/breadcrumb.d.mts} +0 -0
- /package/dist/{breadcrumb.d.ts → react/breadcrumb.d.ts} +0 -0
- /package/dist/{button.d.mts → react/button.d.mts} +0 -0
- /package/dist/{button.d.ts → react/button.d.ts} +0 -0
- /package/dist/{button.js.map → react/button.js.map} +0 -0
- /package/dist/{button.mjs.map → react/button.mjs.map} +0 -0
- /package/dist/{calendar.d.mts → react/calendar.d.mts} +0 -0
- /package/dist/{calendar.d.ts → react/calendar.d.ts} +0 -0
- /package/dist/{card.d.mts → react/card.d.mts} +0 -0
- /package/dist/{card.d.ts → react/card.d.ts} +0 -0
- /package/dist/{carousel.d.mts → react/carousel.d.mts} +0 -0
- /package/dist/{carousel.d.ts → react/carousel.d.ts} +0 -0
- /package/dist/{checkbox-cards.d.mts → react/checkbox-cards.d.mts} +0 -0
- /package/dist/{checkbox-cards.d.ts → react/checkbox-cards.d.ts} +0 -0
- /package/dist/{checkbox-group.d.mts → react/checkbox-group.d.mts} +0 -0
- /package/dist/{checkbox-group.d.ts → react/checkbox-group.d.ts} +0 -0
- /package/dist/{checkbox-group.primitive.d.mts → react/checkbox-group.primitive.d.mts} +0 -0
- /package/dist/{checkbox-group.primitive.d.ts → react/checkbox-group.primitive.d.ts} +0 -0
- /package/dist/{checkbox-group.primitive.js.map → react/checkbox-group.primitive.js.map} +0 -0
- /package/dist/{checkbox-group.primitive.mjs.map → react/checkbox-group.primitive.mjs.map} +0 -0
- /package/dist/{checkbox.d.mts → react/checkbox.d.mts} +0 -0
- /package/dist/{checkbox.d.ts → react/checkbox.d.ts} +0 -0
- /package/dist/{code.d.mts → react/code.d.mts} +0 -0
- /package/dist/{code.d.ts → react/code.d.ts} +0 -0
- /package/dist/{code.js → react/code.js} +0 -0
- /package/dist/{code.mjs → react/code.mjs} +0 -0
- /package/dist/{collapsible.d.mts → react/collapsible.d.mts} +0 -0
- /package/dist/{collapsible.d.ts → react/collapsible.d.ts} +0 -0
- /package/dist/{container.d.mts → react/container.d.mts} +0 -0
- /package/dist/{container.d.ts → react/container.d.ts} +0 -0
- /package/dist/{context-menu.d.mts → react/context-menu.d.mts} +0 -0
- /package/dist/{context-menu.d.ts → react/context-menu.d.ts} +0 -0
- /package/dist/{data-table.d.mts → react/data-table.d.mts} +0 -0
- /package/dist/{data-table.d.ts → react/data-table.d.ts} +0 -0
- /package/dist/{dialog.d.mts → react/dialog.d.mts} +0 -0
- /package/dist/{dialog.d.ts → react/dialog.d.ts} +0 -0
- /package/dist/{dialog.js.map → react/dialog.js.map} +0 -0
- /package/dist/{dialog.mjs.map → react/dialog.mjs.map} +0 -0
- /package/dist/{drawer.d.mts → react/drawer.d.mts} +0 -0
- /package/dist/{drawer.d.ts → react/drawer.d.ts} +0 -0
- /package/dist/{dropdown-menu.d.mts → react/dropdown-menu.d.mts} +0 -0
- /package/dist/{dropdown-menu.d.ts → react/dropdown-menu.d.ts} +0 -0
- /package/dist/{dropdown-menu.js.map → react/dropdown-menu.js.map} +0 -0
- /package/dist/{dropdown-menu.mjs.map → react/dropdown-menu.mjs.map} +0 -0
- /package/dist/{em.d.mts → react/em.d.mts} +0 -0
- /package/dist/{em.d.ts → react/em.d.ts} +0 -0
- /package/dist/{em.js → react/em.js} +0 -0
- /package/dist/{em.mjs → react/em.mjs} +0 -0
- /package/dist/{form.d.mts → react/form.d.mts} +0 -0
- /package/dist/{form.d.ts → react/form.d.ts} +0 -0
- /package/dist/{heading.d.mts → react/heading.d.mts} +0 -0
- /package/dist/{heading.d.ts → react/heading.d.ts} +0 -0
- /package/dist/{heading.js → react/heading.js} +0 -0
- /package/dist/{heading.mjs → react/heading.mjs} +0 -0
- /package/dist/{hover-card.d.mts → react/hover-card.d.mts} +0 -0
- /package/dist/{hover-card.d.ts → react/hover-card.d.ts} +0 -0
- /package/dist/{input-otp.d.mts → react/input-otp.d.mts} +0 -0
- /package/dist/{input-otp.d.ts → react/input-otp.d.ts} +0 -0
- /package/dist/{input.d.mts → react/input.d.mts} +0 -0
- /package/dist/{input.d.ts → react/input.d.ts} +0 -0
- /package/dist/{kbd.d.mts → react/kbd.d.mts} +0 -0
- /package/dist/{kbd.d.ts → react/kbd.d.ts} +0 -0
- /package/dist/{label.d.mts → react/label.d.mts} +0 -0
- /package/dist/{label.d.ts → react/label.d.ts} +0 -0
- /package/dist/{label.js.map → react/label.js.map} +0 -0
- /package/dist/{label.mjs.map → react/label.mjs.map} +0 -0
- /package/dist/{menubar.d.mts → react/menubar.d.mts} +0 -0
- /package/dist/{menubar.d.ts → react/menubar.d.ts} +0 -0
- /package/dist/{navigation-menu.d.mts → react/navigation-menu.d.mts} +0 -0
- /package/dist/{navigation-menu.d.ts → react/navigation-menu.d.ts} +0 -0
- /package/dist/{pagination.d.mts → react/pagination.d.mts} +0 -0
- /package/dist/{pagination.d.ts → react/pagination.d.ts} +0 -0
- /package/dist/{popover.d.mts → react/popover.d.mts} +0 -0
- /package/dist/{popover.d.ts → react/popover.d.ts} +0 -0
- /package/dist/{pre.d.mts → react/pre.d.mts} +0 -0
- /package/dist/{pre.d.ts → react/pre.d.ts} +0 -0
- /package/dist/{pre.js → react/pre.js} +0 -0
- /package/dist/{pre.mjs → react/pre.mjs} +0 -0
- /package/dist/{progress.d.mts → react/progress.d.mts} +0 -0
- /package/dist/{progress.d.ts → react/progress.d.ts} +0 -0
- /package/dist/{quote.d.mts → react/quote.d.mts} +0 -0
- /package/dist/{quote.d.ts → react/quote.d.ts} +0 -0
- /package/dist/{quote.js → react/quote.js} +0 -0
- /package/dist/{quote.mjs → react/quote.mjs} +0 -0
- /package/dist/{radio-cards.d.mts → react/radio-cards.d.mts} +0 -0
- /package/dist/{radio-cards.d.ts → react/radio-cards.d.ts} +0 -0
- /package/dist/{radio-group.d.mts → react/radio-group.d.mts} +0 -0
- /package/dist/{radio-group.d.ts → react/radio-group.d.ts} +0 -0
- /package/dist/{radio.d.mts → react/radio.d.mts} +0 -0
- /package/dist/{radio.d.ts → react/radio.d.ts} +0 -0
- /package/dist/{resizable.d.mts → react/resizable.d.mts} +0 -0
- /package/dist/{resizable.d.ts → react/resizable.d.ts} +0 -0
- /package/dist/{scroll-area.d.mts → react/scroll-area.d.mts} +0 -0
- /package/dist/{scroll-area.d.ts → react/scroll-area.d.ts} +0 -0
- /package/dist/{section.d.mts → react/section.d.mts} +0 -0
- /package/dist/{section.d.ts → react/section.d.ts} +0 -0
- /package/dist/{section.js → react/section.js} +0 -0
- /package/dist/{section.mjs → react/section.mjs} +0 -0
- /package/dist/{select.d.mts → react/select.d.mts} +0 -0
- /package/dist/{select.d.ts → react/select.d.ts} +0 -0
- /package/dist/{select.js.map → react/select.js.map} +0 -0
- /package/dist/{select.mjs.map → react/select.mjs.map} +0 -0
- /package/dist/{separator.d.mts → react/separator.d.mts} +0 -0
- /package/dist/{separator.d.ts → react/separator.d.ts} +0 -0
- /package/dist/{sheet.d.mts → react/sheet.d.mts} +0 -0
- /package/dist/{sheet.d.ts → react/sheet.d.ts} +0 -0
- /package/dist/{skeleton.d.mts → react/skeleton.d.mts} +0 -0
- /package/dist/{skeleton.d.ts → react/skeleton.d.ts} +0 -0
- /package/dist/{slider.d.mts → react/slider.d.mts} +0 -0
- /package/dist/{slider.d.ts → react/slider.d.ts} +0 -0
- /package/dist/{sonner.d.mts → react/sonner.d.mts} +0 -0
- /package/dist/{sonner.d.ts → react/sonner.d.ts} +0 -0
- /package/dist/{sonner.js → react/sonner.js} +0 -0
- /package/dist/{sonner.mjs → react/sonner.mjs} +0 -0
- /package/dist/{spinner.d.mts → react/spinner.d.mts} +0 -0
- /package/dist/{spinner.d.ts → react/spinner.d.ts} +0 -0
- /package/dist/{spinner.js.map → react/spinner.js.map} +0 -0
- /package/dist/{spinner.mjs.map → react/spinner.mjs.map} +0 -0
- /package/dist/{strong.d.mts → react/strong.d.mts} +0 -0
- /package/dist/{strong.d.ts → react/strong.d.ts} +0 -0
- /package/dist/{strong.js → react/strong.js} +0 -0
- /package/dist/{strong.mjs → react/strong.mjs} +0 -0
- /package/dist/{switch.d.mts → react/switch.d.mts} +0 -0
- /package/dist/{switch.d.ts → react/switch.d.ts} +0 -0
- /package/dist/{table.d.mts → react/table.d.mts} +0 -0
- /package/dist/{table.d.ts → react/table.d.ts} +0 -0
- /package/dist/{tabs.d.mts → react/tabs.d.mts} +0 -0
- /package/dist/{tabs.d.ts → react/tabs.d.ts} +0 -0
- /package/dist/{text.d.mts → react/text.d.mts} +0 -0
- /package/dist/{text.d.ts → react/text.d.ts} +0 -0
- /package/dist/{text.js → react/text.js} +0 -0
- /package/dist/{text.mjs → react/text.mjs} +0 -0
- /package/dist/{textarea.d.mts → react/textarea.d.mts} +0 -0
- /package/dist/{textarea.d.ts → react/textarea.d.ts} +0 -0
- /package/dist/{toggle-group.d.mts → react/toggle-group.d.mts} +0 -0
- /package/dist/{toggle-group.d.ts → react/toggle-group.d.ts} +0 -0
- /package/dist/{toggle.d.mts → react/toggle.d.mts} +0 -0
- /package/dist/{toggle.d.ts → react/toggle.d.ts} +0 -0
- /package/dist/{toggle.js.map → react/toggle.js.map} +0 -0
- /package/dist/{toggle.mjs.map → react/toggle.mjs.map} +0 -0
- /package/dist/{tooltip.d.mts → react/tooltip.d.mts} +0 -0
- /package/dist/{tooltip.d.ts → react/tooltip.d.ts} +0 -0
- /package/{animate.plugin.ts → plugin/animate.plugin.ts} +0 -0
- /package/{base.plugin.ts → plugin/base.plugin.ts} +0 -0
- /package/{perspective.plugin.ts → plugin/perspective.plugin.ts} +0 -0
- /package/src/{utils.ts → lib/utils.ts} +0 -0
- /package/src/{aspect-ratio.tsx → react/aspect-ratio.tsx} +0 -0
- /package/src/{blockquote.tsx → react/blockquote.tsx} +0 -0
- /package/src/{box.tsx → react/box.tsx} +0 -0
- /package/src/{checkbox-group.primitive.tsx → react/checkbox-group.primitive.tsx} +0 -0
- /package/src/{code.tsx → react/code.tsx} +0 -0
- /package/src/{em.tsx → react/em.tsx} +0 -0
- /package/src/{heading.tsx → react/heading.tsx} +0 -0
- /package/src/{pre.tsx → react/pre.tsx} +0 -0
- /package/src/{quote.tsx → react/quote.tsx} +0 -0
- /package/src/{section.tsx → react/section.tsx} +0 -0
- /package/src/{sonner.tsx → react/sonner.tsx} +0 -0
- /package/src/{strong.tsx → react/strong.tsx} +0 -0
- /package/src/{text.tsx → react/text.tsx} +0 -0
- /package/src/{styles.css → styles/styles.css} +0 -0
package/dist/pagination.js
DELETED
|
@@ -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; } }var _chunkMUVQMEAIjs = require('./chunk-MUVQMEAI.js');require('./chunk-KXTYKCZX.js');var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var o = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function N({className:n,...t}){return _jsxruntime.jsx.call(void 0, "nav",{role:"navigation","aria-label":"pagination",className:_chunkQZCQ42BPjs.b.call(void 0, "mx-auto flex w-full justify-center",n),...t})}var u=o.forwardRef(({className:n,...t},i)=>_jsxruntime.jsx.call(void 0, "ul",{ref:i,className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-row items-center gap-1",n),...t}));u.displayName="PaginationContent";var f=o.forwardRef((n,t)=>_jsxruntime.jsx.call(void 0, "li",{ref:t,...n}));f.displayName="PaginationItem";function p({className:n,isActive:t,size:i="icon",children:P,...l}){return _jsxruntime.jsx.call(void 0, "a",{"aria-current":t?"page":void 0,className:_chunkMUVQMEAIjs.a.call(void 0, {variant:t?"outline":"ghost",size:i,className:n}),...l,children:P})}function R({className:n,...t}){return _jsxruntime.jsxs.call(void 0, p,{"aria-label":"Go to previous page",size:"default",className:_chunkQZCQ42BPjs.b.call(void 0, "gap-1 pl-2.5",n),...t,children:[_jsxruntime.jsx.call(void 0, _reacticons.ChevronLeftIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{children:"Previous"})]})}function H({className:n,...t}){return _jsxruntime.jsxs.call(void 0, p,{"aria-label":"Go to next page",size:"default",className:_chunkQZCQ42BPjs.b.call(void 0, "gap-1 pr-2.5",n),...t,children:[_jsxruntime.jsx.call(void 0, "span",{children:"Next"}),_jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"size-4"})]})}function M({className:n,...t}){return _jsxruntime.jsxs.call(void 0, "span",{"aria-hidden":!0,className:_chunkQZCQ42BPjs.b.call(void 0, "flex size-10 items-center justify-center",n),...t,children:[_jsxruntime.jsx.call(void 0, _reacticons.DotsHorizontalIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"More pages"})]})}exports.Pagination = N; exports.PaginationContent = u; exports.PaginationEllipsis = M; exports.PaginationItem = f; exports.PaginationLink = p; exports.PaginationNext = H; exports.PaginationPrevious = R;
|
|
2
|
-
//# sourceMappingURL=pagination.js.map
|
package/dist/pagination.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pagination.tsx"],"names":["React","ChevronLeftIcon","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Pagination","className","props","cn","PaginationContent","ref","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","PaginationNext","PaginationEllipsis"],"mappings":"4GAAA,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,KAAK,aACL,aAAW,aACX,UAAWK,EAAG,qCAAsCF,CAAS,EAC5D,GAAGC,EACN,CAEJ,CASA,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAGG,IACxBP,EAAC,MAAG,IAAKO,EAAK,UAAWF,EAAG,mCAAoCF,CAAS,EAAI,GAAGC,EAAO,CAE3F,EAEAE,EAAkB,YAAc,oBAShC,IAAME,EAAuB,aAAuD,CAACJ,EAAOG,IAC1FP,EAAC,MAAG,IAAKO,EAAM,GAAGH,EAAO,CAC1B,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,KAAK,UACL,UAAWJ,EAAG,eAAgBF,CAAS,EACtC,GAAGC,EAEJ,UAAAJ,EAACH,EAAA,CAAgB,UAAU,SAAS,EACpCG,EAAC,QAAK,oBAAQ,GAChB,CAEJ,CAQA,SAASe,EAAe,CAAE,UAAAZ,EAAW,GAAGC,CAAM,EAA2C,CACvF,OACEH,EAACQ,EAAA,CAAe,aAAW,kBAAkB,KAAK,UAAU,UAAWJ,EAAG,eAAgBF,CAAS,EAAI,GAAGC,EACxG,UAAAJ,EAAC,QAAK,gBAAI,EACVA,EAACF,EAAA,CAAiB,UAAU,SAAS,GACvC,CAEJ,CAQA,SAASkB,EAAmB,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAAC,QAAK,cAAW,GAAC,UAAWI,EAAG,2CAA4CF,CAAS,EAAI,GAAGC,EAC1F,UAAAJ,EAACD,EAAA,CAAmB,UAAU,SAAS,EACvCC,EAAC,QAAK,UAAU,UAAU,sBAAU,GACtC,CAEJ","sourcesContent":["import * as React from \"react\";\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./utils\";\nimport { type ButtonProps, buttonVariants } from \"./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 role=\"navigation\"\n aria-label=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\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 }, ref) => (\n <ul ref={ref} 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, ref) => (\n <li ref={ref} {...props} />\n));\n\nPaginationItem.displayName = \"PaginationItem\";\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonProps, \"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 size=\"default\"\n className={cn(\"gap-1 pl-2.5\", className)}\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\" size=\"default\" className={cn(\"gap-1 pr-2.5\", className)} {...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"]}
|
package/dist/pagination.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-4UVLRXTB.mjs";import"./chunk-7XGQAAYA.mjs";import{b as e}from"./chunk-JTI7KCLO.mjs";import*as o from"react";import{ChevronLeftIcon as g,ChevronRightIcon as m,DotsHorizontalIcon as c}from"@radix-ui/react-icons";import{jsx as a,jsxs as s}from"react/jsx-runtime";function N({className:n,...t}){return a("nav",{role:"navigation","aria-label":"pagination",className:e("mx-auto flex w-full justify-center",n),...t})}var u=o.forwardRef(({className:n,...t},i)=>a("ul",{ref:i,className:e("flex flex-row items-center gap-1",n),...t}));u.displayName="PaginationContent";var f=o.forwardRef((n,t)=>a("li",{ref:t,...n}));f.displayName="PaginationItem";function p({className:n,isActive:t,size:i="icon",children:P,...l}){return a("a",{"aria-current":t?"page":void 0,className:r({variant:t?"outline":"ghost",size:i,className:n}),...l,children:P})}function R({className:n,...t}){return s(p,{"aria-label":"Go to previous page",size:"default",className:e("gap-1 pl-2.5",n),...t,children:[a(g,{className:"size-4"}),a("span",{children:"Previous"})]})}function H({className:n,...t}){return s(p,{"aria-label":"Go to next page",size:"default",className:e("gap-1 pr-2.5",n),...t,children:[a("span",{children:"Next"}),a(m,{className:"size-4"})]})}function M({className:n,...t}){return s("span",{"aria-hidden":!0,className:e("flex size-10 items-center justify-center",n),...t,children:[a(c,{className:"size-4"}),a("span",{className:"sr-only",children:"More pages"})]})}export{N as Pagination,u as PaginationContent,M as PaginationEllipsis,f as PaginationItem,p as PaginationLink,H as PaginationNext,R as PaginationPrevious};
|
|
2
|
-
//# sourceMappingURL=pagination.mjs.map
|
package/dist/pagination.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pagination.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./utils\";\nimport { type ButtonProps, buttonVariants } from \"./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 role=\"navigation\"\n aria-label=\"pagination\"\n className={cn(\"mx-auto flex w-full justify-center\", className)}\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 }, ref) => (\n <ul ref={ref} 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, ref) => (\n <li ref={ref} {...props} />\n));\n\nPaginationItem.displayName = \"PaginationItem\";\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonProps, \"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 size=\"default\"\n className={cn(\"gap-1 pl-2.5\", className)}\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\" size=\"default\" className={cn(\"gap-1 pr-2.5\", className)} {...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,KAAK,aACL,aAAW,aACX,UAAWK,EAAG,qCAAsCF,CAAS,EAC5D,GAAGC,EACN,CAEJ,CASA,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAGG,IACxBP,EAAC,MAAG,IAAKO,EAAK,UAAWF,EAAG,mCAAoCF,CAAS,EAAI,GAAGC,EAAO,CAE3F,EAEAE,EAAkB,YAAc,oBAShC,IAAME,EAAuB,aAAuD,CAACJ,EAAOG,IAC1FP,EAAC,MAAG,IAAKO,EAAM,GAAGH,EAAO,CAC1B,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,KAAK,UACL,UAAWJ,EAAG,eAAgBF,CAAS,EACtC,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,KAAK,UAAU,UAAWJ,EAAG,eAAgBF,CAAS,EAAI,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","ref","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","DotsHorizontalIcon"]}
|
package/dist/popover.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var a = _interopRequireWildcard(_react);var _reactpopover = require('@radix-ui/react-popover'); var o = _interopRequireWildcard(_reactpopover);var _jsxruntime = require('react/jsx-runtime');var m=o.Root,l= exports.PopoverTrigger =o.Trigger,f= exports.PopoverAnchor =o.Anchor,n= exports.PopoverContent =a.forwardRef(({className:e,align:t="center",sideOffset:r=6,...P},s)=>_jsxruntime.jsx.call(void 0, o.Portal,{children:_jsxruntime.jsx.call(void 0, o.Content,{ref:s,align:t,sideOffset:r,className:_chunkQZCQ42BPjs.b.call(void 0, "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",e),...P})}));n.displayName=o.Content.displayName;var d=a.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, o.Arrow,{ref:r,className:_chunkQZCQ42BPjs.b.call(void 0, "fill-popover",e),...t}));d.displayName=o.Arrow.displayName;exports.Popover = m; exports.PopoverAnchor = f; exports.PopoverArrow = d; exports.PopoverContent = n; exports.PopoverTrigger = l;
|
|
2
|
-
//# sourceMappingURL=popover.js.map
|
package/dist/popover.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/popover.tsx"],"names":["React","PopoverPrimitive","jsx","Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","ref","cn","PopoverArrow"],"mappings":"qDAEA,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,WAAYC,EACZ,UAAWG,EACT,gtBACAL,CACF,EACC,GAAGG,EACN,EACF,CAEJ,EAEAJ,EAAe,YAA+B,UAAQ,YAStD,IAAMO,EAAqB,aAAmD,CAAC,CAAE,UAAAN,EAAW,GAAGG,CAAM,EAAGC,IACtGT,EAAkB,QAAjB,CAAuB,IAAKS,EAAK,UAAWC,EAAG,eAAgBL,CAAS,EAAI,GAAGG,EAAO,CACxF,EAEDG,EAAa,YAA+B,QAAM","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\";\nimport { cn } from \"./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 }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\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 {...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>(({ className, ...props }, ref) => (\n <PopoverPrimitive.Arrow ref={ref} className={cn(\"fill-popover\", className)} {...props} />\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"]}
|
package/dist/popover.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as p}from"./chunk-JTI7KCLO.mjs";import*as a from"react";import*as o from"@radix-ui/react-popover";import{jsx as i}from"react/jsx-runtime";var m=o.Root,l=o.Trigger,f=o.Anchor,n=a.forwardRef(({className:e,align:t="center",sideOffset:r=6,...P},s)=>i(o.Portal,{children:i(o.Content,{ref:s,align:t,sideOffset:r,className:p("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",e),...P})}));n.displayName=o.Content.displayName;var d=a.forwardRef(({className:e,...t},r)=>i(o.Arrow,{ref:r,className:p("fill-popover",e),...t}));d.displayName=o.Arrow.displayName;export{m as Popover,f as PopoverAnchor,d as PopoverArrow,n as PopoverContent,l as PopoverTrigger};
|
|
2
|
-
//# sourceMappingURL=popover.mjs.map
|
package/dist/popover.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/popover.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\";\nimport { cn } from \"./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 }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\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 {...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>(({ className, ...props }, ref) => (\n <PopoverPrimitive.Arrow ref={ref} className={cn(\"fill-popover\", className)} {...props} />\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,WAAYC,EACZ,UAAWG,EACT,gtBACAL,CACF,EACC,GAAGG,EACN,EACF,CAEJ,EAEAJ,EAAe,YAA+B,UAAQ,YAStD,IAAMO,EAAqB,aAAmD,CAAC,CAAE,UAAAN,EAAW,GAAGG,CAAM,EAAGC,IACtGT,EAAkB,QAAjB,CAAuB,IAAKS,EAAK,UAAWC,EAAG,eAAgBL,CAAS,EAAI,GAAGG,EAAO,CACxF,EAEDG,EAAa,YAA+B,QAAM","names":["React","PopoverPrimitive","jsx","Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","ref","cn","PopoverArrow"]}
|
package/dist/pre.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pre.tsx"],"names":["React","Slot","jsx","Pre","asChild","props","ref"],"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,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAI,YAAc","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 }, ref) => {\n const Component = asChild ? Slot : \"pre\";\n\n return <Component ref={ref} {...props} />;\n});\n\nPre.displayName = \"Pre\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"]}
|
package/dist/pre.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/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 }, ref) => {\n const Component = asChild ? Slot : \"pre\";\n\n return <Component ref={ref} {...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,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAI,YAAc","names":["React","Slot","jsx","Pre","asChild","props","ref"]}
|
package/dist/progress.js
DELETED
|
@@ -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; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var s = _interopRequireWildcard(_react);var _reactprogress = require('@radix-ui/react-progress'); var r = _interopRequireWildcard(_reactprogress);var _jsxruntime = require('react/jsx-runtime');var a=s.forwardRef(({className:t,value:i,...P},m)=>_jsxruntime.jsx.call(void 0, r.Root,{ref:m,className:_chunkQZCQ42BPjs.b.call(void 0, "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",t),...P,children:_jsxruntime.jsx.call(void 0, r.Indicator,{className:"bg-primary size-full flex-1 transition",style:{transform:`translateX(-${String(100-(_nullishCoalesce(i, () => (0))))}%)`}})}));a.displayName=r.Root.displayName;exports.Progress = a;
|
|
2
|
-
//# sourceMappingURL=progress.js.map
|
package/dist/progress.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/progress.tsx"],"names":["React","ProgressPrimitive","jsx","Progress","className","value","props","ref","cn"],"mappings":"qDAEA,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","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\";\nimport { cn } from \"./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 }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\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"]}
|
package/dist/progress.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as e}from"./chunk-JTI7KCLO.mjs";import*as s from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var a=s.forwardRef(({className:t,value:i,...P},m)=>o(r.Root,{ref:m,className:e("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",t),...P,children:o(r.Indicator,{className:"bg-primary size-full flex-1 transition",style:{transform:`translateX(-${String(100-(i??0))}%)`}})}));a.displayName=r.Root.displayName;export{a as Progress};
|
|
2
|
-
//# sourceMappingURL=progress.mjs.map
|
package/dist/progress.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/progress.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\";\nimport { cn } from \"./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 }, ref) => (\n <ProgressPrimitive.Root\n ref={ref}\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","ref","cn"]}
|
package/dist/quote.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/quote.tsx"],"names":["React","Slot","jsx","Quote","asChild","props","ref"],"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,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAM,YAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"q\";\n\n return <Component ref={ref} {...props} />;\n});\n\nQuote.displayName = \"Quote\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"]}
|
package/dist/quote.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/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 }, ref) => {\n const Component = asChild ? Slot : \"q\";\n\n return <Component ref={ref} {...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,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAM,YAAc","names":["React","Slot","jsx","Quote","asChild","props","ref"]}
|
package/dist/radio-cards.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var a = _interopRequireWildcard(_react);var _reactradiogroup = require('@radix-ui/react-radio-group'); var e = _interopRequireWildcard(_reactradiogroup);var _jsxruntime = require('react/jsx-runtime');var p=a.forwardRef(({className:o,...i},t)=>_jsxruntime.jsx.call(void 0, e.Root,{className:_chunkQZCQ42BPjs.b.call(void 0, "grid gap-2",o),...i,ref:t}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},t)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:t,className:_chunkQZCQ42BPjs.b.call(void 0, "text-compound-foreground focus-visible:bg-primary/10 group peer flex cursor-default items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-not-allowed disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;exports.RadioCards = p; exports.RadioCardsItem = s;
|
|
2
|
-
//# sourceMappingURL=radio-cards.js.map
|
package/dist/radio-cards.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/radio-cards.tsx"],"names":["React","RadioGroupPrimitive","jsx","RadioCards","className","props","ref","cn","RadioCardsItem"],"mappings":"qDAEA,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,EAAK,CAC/F,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAAuD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAE1GJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,kRACAH,CACF,EACC,GAAGC,EACN,CAEH,EAEDG,EAAe,YAAkC,OAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\nimport { cn } from \"./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 }, ref) => {\n return <RadioGroupPrimitive.Root className={cn(\"grid gap-2\", className)} {...props} ref={ref} />;\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>(({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n \"text-compound-foreground focus-visible:bg-primary/10 group peer flex cursor-default items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-not-allowed disabled:opacity-50 aria-checked:outline aria-checked:outline-2\",\n className,\n )}\n {...props}\n />\n );\n});\n\nRadioCardsItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioCards, RadioCardsItem, type RadioCardsProps, type RadioCardsItemProps };\n"]}
|
package/dist/radio-cards.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as r}from"./chunk-JTI7KCLO.mjs";import*as a from"react";import*as e from"@radix-ui/react-radio-group";import{jsx as d}from"react/jsx-runtime";var p=a.forwardRef(({className:o,...i},t)=>d(e.Root,{className:r("grid gap-2",o),...i,ref:t}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},t)=>d(e.Item,{ref:t,className:r("text-compound-foreground focus-visible:bg-primary/10 group peer flex cursor-default items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-not-allowed disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;export{p as RadioCards,s as RadioCardsItem};
|
|
2
|
-
//# sourceMappingURL=radio-cards.mjs.map
|
package/dist/radio-cards.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/radio-cards.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\nimport { cn } from \"./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 }, ref) => {\n return <RadioGroupPrimitive.Root className={cn(\"grid gap-2\", className)} {...props} ref={ref} />;\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>(({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n \"text-compound-foreground focus-visible:bg-primary/10 group peer flex cursor-default items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-not-allowed disabled:opacity-50 aria-checked:outline aria-checked:outline-2\",\n className,\n )}\n {...props}\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,EAAK,CAC/F,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAAuD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAE1GJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,kRACAH,CACF,EACC,GAAGC,EACN,CAEH,EAEDG,EAAe,YAAkC,OAAK","names":["React","RadioGroupPrimitive","jsx","RadioCards","className","props","ref","cn","RadioCardsItem"]}
|
package/dist/radio-group.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var p = _interopRequireWildcard(_react);var _reactradiogroup = require('@radix-ui/react-radio-group'); var o = _interopRequireWildcard(_reactradiogroup);var _jsxruntime = require('react/jsx-runtime');var d=p.forwardRef(({className:e,...r},i)=>_jsxruntime.jsx.call(void 0, o.Root,{className:_chunkQZCQ42BPjs.b.call(void 0, "grid gap-2",e),...r,ref:i}));d.displayName=o.Root.displayName;var m=p.forwardRef(({className:e,...r},i)=>_jsxruntime.jsx.call(void 0, o.Item,{ref:i,className:_chunkQZCQ42BPjs.b.call(void 0, "border-compound/70 hover:border-compound text-compound-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:cursor-not-allowed disabled:opacity-50",e),...r,children:_jsxruntime.jsx.call(void 0, o.Indicator,{className:"after:bg-primary relative flex size-full items-center justify-center after:block after:size-2.5 after:rounded-full"})}));m.displayName=o.Item.displayName;exports.RadioGroup = d; exports.RadioGroupItem = m;
|
|
2
|
-
//# sourceMappingURL=radio-group.js.map
|
package/dist/radio-group.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/radio-group.tsx"],"names":["React","RadioGroupPrimitive","jsx","RadioGroup","className","props","ref","cn","RadioGroupItem"],"mappings":"qDAEA,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,EAAK,CAC/F,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAAuD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAE1GJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,iRACAH,CACF,EACC,GAAGC,EAEJ,SAAAH,EAAqB,YAApB,CAA8B,UAAU,qHAAqH,EAChK,CAEH,EAEDM,EAAe,YAAkC,OAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\nimport { cn } from \"./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 }, ref) => {\n return <RadioGroupPrimitive.Root className={cn(\"grid gap-2\", className)} {...props} ref={ref} />;\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>(({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n \"border-compound/70 hover:border-compound text-compound-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:cursor-not-allowed 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\nRadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { RadioGroup, RadioGroupItem, type RadioGroupProps, type RadioGroupItemProps };\n"]}
|
package/dist/radio-group.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as t}from"./chunk-JTI7KCLO.mjs";import*as p from"react";import*as o from"@radix-ui/react-radio-group";import{jsx as a}from"react/jsx-runtime";var d=p.forwardRef(({className:e,...r},i)=>a(o.Root,{className:t("grid gap-2",e),...r,ref:i}));d.displayName=o.Root.displayName;var m=p.forwardRef(({className:e,...r},i)=>a(o.Item,{ref:i,className:t("border-compound/70 hover:border-compound text-compound-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:cursor-not-allowed disabled:opacity-50",e),...r,children:a(o.Indicator,{className:"after:bg-primary relative flex size-full items-center justify-center after:block after:size-2.5 after:rounded-full"})}));m.displayName=o.Item.displayName;export{d as RadioGroup,m as RadioGroupItem};
|
|
2
|
-
//# sourceMappingURL=radio-group.mjs.map
|
package/dist/radio-group.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/radio-group.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as RadioGroupPrimitive from \"@radix-ui/react-radio-group\";\nimport { cn } from \"./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 }, ref) => {\n return <RadioGroupPrimitive.Root className={cn(\"grid gap-2\", className)} {...props} ref={ref} />;\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>(({ className, ...props }, ref) => {\n return (\n <RadioGroupPrimitive.Item\n ref={ref}\n className={cn(\n \"border-compound/70 hover:border-compound text-compound-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:cursor-not-allowed 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\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,EAAK,CAC/F,EAEDH,EAAW,YAAkC,OAAK,YASlD,IAAMK,EAAuB,aAAuD,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IAE1GJ,EAAqB,OAApB,CACC,IAAKI,EACL,UAAWC,EACT,iRACAH,CACF,EACC,GAAGC,EAEJ,SAAAH,EAAqB,YAApB,CAA8B,UAAU,qHAAqH,EAChK,CAEH,EAEDM,EAAe,YAAkC,OAAK","names":["React","RadioGroupPrimitive","jsx","RadioGroup","className","props","ref","cn","RadioGroupItem"]}
|
package/dist/radio.js
DELETED
|
@@ -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; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var o = _interopRequireWildcard(_react);var _primitive = require('@radix-ui/primitive');var _jsxruntime = require('react/jsx-runtime');var c=o.forwardRef(({className:r,onValueChange:t,onChange:a,...i},n)=>_jsxruntime.jsx.call(void 0, "input",{ref:n,type:"radio",onChange:_primitive.composeEventHandlers.call(void 0, a,d=>_optionalChain([t, 'optionalCall', _ => _(d.currentTarget.value)])),className:_chunkQZCQ42BPjs.b.call(void 0, "before:border-compound/70 hover:before:border-compound 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:cursor-not-allowed disabled:opacity-50",r),...i}));c.displayName="Radio";exports.Radio = c;
|
|
2
|
-
//# sourceMappingURL=radio.js.map
|
package/dist/radio.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/radio.tsx"],"names":["React","composeEventHandlers","jsx","Radio","className","onValueChange","onChange","props","ref","event","cn"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,OAAS,wBAAAC,MAA4B,sBAejC,cAAAC,MAAA,oBAFJ,IAAMC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,cAAAC,EAAe,SAAAC,EAAU,GAAGC,CAAM,EAAGC,IAExGN,EAAC,SACC,IAAKM,EACL,KAAK,QACL,SAAUP,EAAqBK,EAAWG,GAAUJ,IAAgBI,EAAM,cAAc,KAAK,CAAC,EAC9F,UAAWC,EACT,kbACAN,CACF,EACC,GAAGG,EACN,CAEH,EAEDJ,EAAM,YAAc","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { cn } from \"./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>(({ className, onValueChange, onChange, ...props }, ref) => {\n return (\n <input\n ref={ref}\n type=\"radio\"\n onChange={composeEventHandlers(onChange, (event) => onValueChange?.(event.currentTarget.value))}\n className={cn(\n \"before:border-compound/70 hover:before:border-compound 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:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n});\n\nRadio.displayName = \"Radio\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"]}
|
package/dist/radio.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as e}from"./chunk-JTI7KCLO.mjs";import*as o from"react";import{composeEventHandlers as l}from"@radix-ui/primitive";import{jsx as f}from"react/jsx-runtime";var c=o.forwardRef(({className:r,onValueChange:t,onChange:a,...i},n)=>f("input",{ref:n,type:"radio",onChange:l(a,d=>t?.(d.currentTarget.value)),className:e("before:border-compound/70 hover:before:border-compound 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:cursor-not-allowed disabled:opacity-50",r),...i}));c.displayName="Radio";export{c as Radio};
|
|
2
|
-
//# sourceMappingURL=radio.mjs.map
|
package/dist/radio.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/radio.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { cn } from \"./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>(({ className, onValueChange, onChange, ...props }, ref) => {\n return (\n <input\n ref={ref}\n type=\"radio\"\n onChange={composeEventHandlers(onChange, (event) => onValueChange?.(event.currentTarget.value))}\n className={cn(\n \"before:border-compound/70 hover:before:border-compound 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:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n />\n );\n});\n\nRadio.displayName = \"Radio\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Radio };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,OAAS,wBAAAC,MAA4B,sBAejC,cAAAC,MAAA,oBAFJ,IAAMC,EAAc,aAAqC,CAAC,CAAE,UAAAC,EAAW,cAAAC,EAAe,SAAAC,EAAU,GAAGC,CAAM,EAAGC,IAExGN,EAAC,SACC,IAAKM,EACL,KAAK,QACL,SAAUC,EAAqBH,EAAWI,GAAUL,IAAgBK,EAAM,cAAc,KAAK,CAAC,EAC9F,UAAWC,EACT,kbACAP,CACF,EACC,GAAGG,EACN,CAEH,EAEDJ,EAAM,YAAc","names":["React","composeEventHandlers","jsx","Radio","className","onValueChange","onChange","props","ref","composeEventHandlers","event","cn"]}
|
package/dist/resizable.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _reactresizablepanels = require('react-resizable-panels'); var e = _interopRequireWildcard(_reactresizablepanels);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function c({className:t,...i}){return _jsxruntime.jsx.call(void 0, e.PanelGroup,{className:_chunkQZCQ42BPjs.b.call(void 0, "flex size-full data-[panel-group-direction=vertical]:flex-col",t),...i})}var f=e.Panel;function p({withHandle:t,className:i,...l}){return _jsxruntime.jsx.call(void 0, e.PanelResizeHandle,{className:_chunkQZCQ42BPjs.b.call(void 0, "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",i),...l,children:t?_jsxruntime.jsx.call(void 0, "div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border",children:_jsxruntime.jsx.call(void 0, _reacticons.DragHandleDots2Icon,{className:"size-2.5"})}):null})}exports.ResizableHandle = p; exports.ResizablePanel = f; exports.ResizablePanelGroup = c;
|
|
2
|
-
//# sourceMappingURL=resizable.js.map
|
package/dist/resizable.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resizable.tsx"],"names":["ResizablePrimitive","DragHandleDots2Icon","jsx","ResizablePanelGroup","className","props","cn","ResizablePanel","ResizableHandle","withHandle"],"mappings":"qDAGA,UAAYA,MAAwB,yBACpC,OAAS,uBAAAC,MAA2B,wBAYhC,cAAAC,MAAA,oBALJ,SAASC,EAAoB,CAC3B,UAAAC,EACA,GAAGC,CACL,EAAkF,CAChF,OACEH,EAAoB,aAAnB,CACC,UAAWI,EAAG,gEAAiEF,CAAS,EACvF,GAAGC,EACN,CAEJ,CAMA,IAAME,EAAoC,QAM1C,SAASC,EAAgB,CACvB,WAAAC,EACA,UAAAL,EACA,GAAGC,CACL,EAEsB,CACpB,OACEH,EAAoB,oBAAnB,CACC,UAAWI,EACT,mnBACAF,CACF,EACC,GAAGC,EAEH,SAAAI,EACCP,EAAC,OAAI,UAAU,4EACb,SAAAA,EAACD,EAAA,CAAoB,UAAU,WAAW,EAC5C,EACE,KACN,CAEJ","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ResizablePrimitive from \"react-resizable-panels\";\nimport { DragHandleDots2Icon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./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"]}
|
package/dist/resizable.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as r}from"./chunk-JTI7KCLO.mjs";import*as e from"react-resizable-panels";import{DragHandleDots2Icon as n}from"@radix-ui/react-icons";import{jsx as a}from"react/jsx-runtime";function c({className:t,...i}){return a(e.PanelGroup,{className:r("flex size-full data-[panel-group-direction=vertical]:flex-col",t),...i})}var f=e.Panel;function p({withHandle:t,className:i,...l}){return a(e.PanelResizeHandle,{className:r("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",i),...l,children:t?a("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border",children:a(n,{className:"size-2.5"})}):null})}export{p as ResizableHandle,f as ResizablePanel,c as ResizablePanelGroup};
|
|
2
|
-
//# sourceMappingURL=resizable.mjs.map
|
package/dist/resizable.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resizable.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ResizablePrimitive from \"react-resizable-panels\";\nimport { DragHandleDots2Icon } from \"@radix-ui/react-icons\";\nimport { cn } from \"./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"],"mappings":"sDAGA,UAAYA,MAAwB,yBACpC,OAAS,uBAAAC,MAA2B,wBAYhC,cAAAC,MAAA,oBALJ,SAASC,EAAoB,CAC3B,UAAAC,EACA,GAAGC,CACL,EAAkF,CAChF,OACEH,EAAoB,aAAnB,CACC,UAAWI,EAAG,gEAAiEF,CAAS,EACvF,GAAGC,EACN,CAEJ,CAMA,IAAME,EAAoC,QAM1C,SAASC,EAAgB,CACvB,WAAAC,EACA,UAAAL,EACA,GAAGC,CACL,EAEsB,CACpB,OACEH,EAAoB,oBAAnB,CACC,UAAWI,EACT,mnBACAF,CACF,EACC,GAAGC,EAEH,SAAAI,EACCP,EAAC,OAAI,UAAU,4EACb,SAAAA,EAACQ,EAAA,CAAoB,UAAU,WAAW,EAC5C,EACE,KACN,CAEJ","names":["ResizablePrimitive","DragHandleDots2Icon","jsx","ResizablePanelGroup","className","props","cn","ResizablePanel","ResizableHandle","withHandle","DragHandleDots2Icon"]}
|
package/dist/scroll-area.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var S = _interopRequireWildcard(_react);var _reactscrollarea = require('@radix-ui/react-scroll-area'); var r = _interopRequireWildcard(_reactscrollarea);var _jsxruntime = require('react/jsx-runtime');var m=S.forwardRef(({children:o,className:l,...a},t)=>_jsxruntime.jsxs.call(void 0, r.Root,{ref:t,className:_chunkQZCQ42BPjs.b.call(void 0, "relative overflow-hidden",l),...a,children:[_jsxruntime.jsx.call(void 0, r.Viewport,{className:"size-full rounded-[inherit]",children:o}),_jsxruntime.jsx.call(void 0, c,{orientation:"vertical"}),_jsxruntime.jsx.call(void 0, c,{orientation:"horizontal"}),_jsxruntime.jsx.call(void 0, r.Corner,{})]}));m.displayName=r.Root.displayName;var c=S.forwardRef(({className:o,orientation:l="vertical",...a},t)=>_jsxruntime.jsx.call(void 0, r.Scrollbar,{ref:t,orientation:l,className:_chunkQZCQ42BPjs.b.call(void 0, "flex touch-none select-none transition",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",o),...a,children:_jsxruntime.jsx.call(void 0, r.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})}));c.displayName=r.Scrollbar.displayName;exports.ScrollArea = m; exports.ScrollAreaScrollbar = c;
|
|
2
|
-
//# sourceMappingURL=scroll-area.js.map
|
package/dist/scroll-area.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/scroll-area.tsx"],"names":["React","ScrollAreaPrimitive","jsx","jsxs","ScrollArea","children","className","props","ref","cn","ScrollAreaScrollbar","orientation"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BAWnC,OACE,OAAAC,EADF,QAAAC,MAAA,oBADF,IAAMC,EAAmB,aAA+C,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1GL,EAAqB,OAApB,CAAyB,IAAKK,EAAK,UAAWC,EAAG,2BAA4BH,CAAS,EAAI,GAAGC,EAC5F,UAAAL,EAAqB,WAApB,CAA6B,UAAU,8BAA+B,SAAAG,EAAS,EAChFH,EAACQ,EAAA,CAAoB,YAAY,WAAW,EAC5CR,EAACQ,EAAA,CAAoB,YAAY,aAAa,EAC9CR,EAAqB,SAApB,EAA2B,GAC9B,CACD,EAEDE,EAAW,YAAkC,OAAK,YASlD,IAAMM,EAA4B,aAChC,CAAC,CAAE,UAAAJ,EAAW,YAAAK,EAAc,WAAY,GAAGJ,CAAM,EAAGC,IAClDN,EAAqB,YAApB,CACC,IAAKM,EACL,YAAaG,EACb,UAAWF,EACT,yCACAE,IAAgB,YAAc,kDAC9BA,IAAgB,cAAgB,oDAChCL,CACF,EACC,GAAGC,EAEJ,SAAAL,EAAqB,kBAApB,CAAoC,UAAU,yCAAyC,EAC1F,CAEJ,EAEAQ,EAAoB,YAAkC,YAAU","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollArea\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaElement = React.ElementRef<typeof ScrollAreaPrimitive.Root>;\ntype ScrollAreaProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>;\n\nconst ScrollArea = React.forwardRef<ScrollAreaElement, ScrollAreaProps>(({ children, className, ...props }, ref) => (\n <ScrollAreaPrimitive.Root ref={ref} className={cn(\"relative overflow-hidden\", className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit]\">{children}</ScrollAreaPrimitive.Viewport>\n <ScrollAreaScrollbar orientation=\"vertical\" />\n <ScrollAreaScrollbar orientation=\"horizontal\" />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n));\n\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaScrollbarElement = React.ElementRef<typeof ScrollAreaPrimitive.Scrollbar>;\ntype ScrollAreaScrollbarProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Scrollbar>;\n\nconst ScrollAreaScrollbar = React.forwardRef<ScrollAreaScrollbarElement, ScrollAreaScrollbarProps>(\n ({ className, orientation = \"vertical\", ...props }, ref) => (\n <ScrollAreaPrimitive.Scrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n \"flex touch-none select-none transition\",\n orientation === \"vertical\" && \"h-full w-2.5 border-l border-l-transparent p-px\",\n orientation === \"horizontal\" && \"h-2.5 flex-col border-t border-t-transparent p-px\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.Scrollbar>\n ),\n);\n\nScrollAreaScrollbar.displayName = ScrollAreaPrimitive.Scrollbar.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ScrollArea, ScrollAreaScrollbar, type ScrollAreaProps, type ScrollAreaScrollbarProps };\n"]}
|
package/dist/scroll-area.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as i}from"./chunk-JTI7KCLO.mjs";import*as S from"react";import*as r from"@radix-ui/react-scroll-area";import{jsx as e,jsxs as p}from"react/jsx-runtime";var m=S.forwardRef(({children:o,className:l,...a},t)=>p(r.Root,{ref:t,className:i("relative overflow-hidden",l),...a,children:[e(r.Viewport,{className:"size-full rounded-[inherit]",children:o}),e(c,{orientation:"vertical"}),e(c,{orientation:"horizontal"}),e(r.Corner,{})]}));m.displayName=r.Root.displayName;var c=S.forwardRef(({className:o,orientation:l="vertical",...a},t)=>e(r.Scrollbar,{ref:t,orientation:l,className:i("flex touch-none select-none transition",l==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",l==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",o),...a,children:e(r.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})}));c.displayName=r.Scrollbar.displayName;export{m as ScrollArea,c as ScrollAreaScrollbar};
|
|
2
|
-
//# sourceMappingURL=scroll-area.mjs.map
|
package/dist/scroll-area.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/scroll-area.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollArea\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaElement = React.ElementRef<typeof ScrollAreaPrimitive.Root>;\ntype ScrollAreaProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>;\n\nconst ScrollArea = React.forwardRef<ScrollAreaElement, ScrollAreaProps>(({ children, className, ...props }, ref) => (\n <ScrollAreaPrimitive.Root ref={ref} className={cn(\"relative overflow-hidden\", className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit]\">{children}</ScrollAreaPrimitive.Viewport>\n <ScrollAreaScrollbar orientation=\"vertical\" />\n <ScrollAreaScrollbar orientation=\"horizontal\" />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n));\n\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\ntype ScrollAreaScrollbarElement = React.ElementRef<typeof ScrollAreaPrimitive.Scrollbar>;\ntype ScrollAreaScrollbarProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Scrollbar>;\n\nconst ScrollAreaScrollbar = React.forwardRef<ScrollAreaScrollbarElement, ScrollAreaScrollbarProps>(\n ({ className, orientation = \"vertical\", ...props }, ref) => (\n <ScrollAreaPrimitive.Scrollbar\n ref={ref}\n orientation={orientation}\n className={cn(\n \"flex touch-none select-none transition\",\n orientation === \"vertical\" && \"h-full w-2.5 border-l border-l-transparent p-px\",\n orientation === \"horizontal\" && \"h-2.5 flex-col border-t border-t-transparent p-px\",\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.Scrollbar>\n ),\n);\n\nScrollAreaScrollbar.displayName = ScrollAreaPrimitive.Scrollbar.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ScrollArea, ScrollAreaScrollbar, type ScrollAreaProps, type ScrollAreaScrollbarProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAyB,8BAWnC,OACE,OAAAC,EADF,QAAAC,MAAA,oBADF,IAAMC,EAAmB,aAA+C,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1GL,EAAqB,OAApB,CAAyB,IAAKK,EAAK,UAAWC,EAAG,2BAA4BH,CAAS,EAAI,GAAGC,EAC5F,UAAAL,EAAqB,WAApB,CAA6B,UAAU,8BAA+B,SAAAG,EAAS,EAChFH,EAACQ,EAAA,CAAoB,YAAY,WAAW,EAC5CR,EAACQ,EAAA,CAAoB,YAAY,aAAa,EAC9CR,EAAqB,SAApB,EAA2B,GAC9B,CACD,EAEDE,EAAW,YAAkC,OAAK,YASlD,IAAMM,EAA4B,aAChC,CAAC,CAAE,UAAAJ,EAAW,YAAAK,EAAc,WAAY,GAAGJ,CAAM,EAAGC,IAClDN,EAAqB,YAApB,CACC,IAAKM,EACL,YAAaG,EACb,UAAWF,EACT,yCACAE,IAAgB,YAAc,kDAC9BA,IAAgB,cAAgB,oDAChCL,CACF,EACC,GAAGC,EAEJ,SAAAL,EAAqB,kBAApB,CAAoC,UAAU,yCAAyC,EAC1F,CAEJ,EAEAQ,EAAoB,YAAkC,YAAU","names":["React","ScrollAreaPrimitive","jsx","jsxs","ScrollArea","children","className","props","ref","cn","ScrollAreaScrollbar","orientation"]}
|
package/dist/section.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/section.tsx"],"names":["React","Slot","jsx","Section","asChild","props","ref"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAgB,aAAyC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAG9EJ,EAFWE,EAAUH,EAAO,UAE3B,CAAU,IAAKK,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAQ,YAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"section\";\n\n return <Component ref={ref} {...props} />;\n});\n\nSection.displayName = \"Section\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section, type SectionProps };\n"]}
|
package/dist/section.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/section.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Section\n * -------------------------------------------------------------------------- */\n\ntype SectionElement = HTMLElement;\n\ninterface SectionProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Section = React.forwardRef<SectionElement, SectionProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"section\";\n\n return <Component ref={ref} {...props} />;\n});\n\nSection.displayName = \"Section\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Section, type SectionProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAgB,aAAyC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAG9EJ,EAFWE,EAAUH,EAAO,UAE3B,CAAU,IAAKK,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAQ,YAAc","names":["React","Slot","jsx","Section","asChild","props","ref"]}
|
package/dist/select.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";var _chunkMFQLWIKZjs = require('./chunk-MFQLWIKZ.js');require('./chunk-QZCQ42BP.js');exports.Select = _chunkMFQLWIKZjs.a; exports.SelectContent = _chunkMFQLWIKZjs.g; exports.SelectGroup = _chunkMFQLWIKZjs.b; exports.SelectItem = _chunkMFQLWIKZjs.i; exports.SelectLabel = _chunkMFQLWIKZjs.h; exports.SelectScrollDownButton = _chunkMFQLWIKZjs.f; exports.SelectScrollUpButton = _chunkMFQLWIKZjs.e; exports.SelectSeparator = _chunkMFQLWIKZjs.j; exports.SelectTrigger = _chunkMFQLWIKZjs.d; exports.SelectValue = _chunkMFQLWIKZjs.c;
|
|
2
|
-
//# sourceMappingURL=select.js.map
|
package/dist/select.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{a,b,c,d,e,f,g,h,i,j}from"./chunk-ZAPOFDFG.mjs";import"./chunk-JTI7KCLO.mjs";export{a as Select,g as SelectContent,b as SelectGroup,i as SelectItem,h as SelectLabel,f as SelectScrollDownButton,e as SelectScrollUpButton,j as SelectSeparator,d as SelectTrigger,c as SelectValue};
|
|
2
|
-
//# sourceMappingURL=select.mjs.map
|
package/dist/separator.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var t = _interopRequireWildcard(_react);var _reactseparator = require('@radix-ui/react-separator'); var r = _interopRequireWildcard(_reactseparator);var _jsxruntime = require('react/jsx-runtime');var l=t.forwardRef(({className:a,orientation:e="horizontal",decorative:p=!0,...i},m)=>_jsxruntime.jsx.call(void 0, r.Root,{ref:m,decorative:p,orientation:e,className:_chunkQZCQ42BPjs.b.call(void 0, "bg-border shrink-0",e==="horizontal"?"h-px w-full":"h-full w-px",a),...i}));l.displayName=r.Root.displayName;exports.Separator = l;
|
|
2
|
-
//# sourceMappingURL=separator.js.map
|
package/dist/separator.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/separator.tsx"],"names":["React","SeparatorPrimitive","jsx","Separator","className","orientation","decorative","props","ref","cn"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BAYhC,cAAAC,MAAA,oBAFJ,IAAMC,EAAkB,aACtB,CAAC,CAAE,UAAAC,EAAW,YAAAC,EAAc,aAAc,WAAAC,EAAa,GAAM,GAAGC,CAAM,EAAGC,IACvEN,EAAoB,OAAnB,CACC,IAAKM,EACL,WAAYF,EACZ,YAAaD,EACb,UAAWI,EAAG,qBAAsBJ,IAAgB,aAAe,cAAgB,cAAeD,CAAS,EAC1G,GAAGG,EACN,CAEJ,EAEAJ,EAAU,YAAiC,OAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Separator\n * -------------------------------------------------------------------------- */\n\ntype SeparatorElement = React.ElementRef<typeof SeparatorPrimitive.Root>;\ntype SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;\n\nconst Separator = React.forwardRef<SeparatorElement, SeparatorProps>(\n ({ className, orientation = \"horizontal\", decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\"bg-border shrink-0\", orientation === \"horizontal\" ? \"h-px w-full\" : \"h-full w-px\", className)}\n {...props}\n />\n ),\n);\n\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Separator, type SeparatorProps };\n"]}
|
package/dist/separator.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as o}from"./chunk-JTI7KCLO.mjs";import*as t from"react";import*as r from"@radix-ui/react-separator";import{jsx as f}from"react/jsx-runtime";var l=t.forwardRef(({className:a,orientation:e="horizontal",decorative:p=!0,...i},m)=>f(r.Root,{ref:m,decorative:p,orientation:e,className:o("bg-border shrink-0",e==="horizontal"?"h-px w-full":"h-full w-px",a),...i}));l.displayName=r.Root.displayName;export{l as Separator};
|
|
2
|
-
//# sourceMappingURL=separator.mjs.map
|
package/dist/separator.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/separator.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Separator\n * -------------------------------------------------------------------------- */\n\ntype SeparatorElement = React.ElementRef<typeof SeparatorPrimitive.Root>;\ntype SeparatorProps = React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;\n\nconst Separator = React.forwardRef<SeparatorElement, SeparatorProps>(\n ({ className, orientation = \"horizontal\", decorative = true, ...props }, ref) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\"bg-border shrink-0\", orientation === \"horizontal\" ? \"h-px w-full\" : \"h-full w-px\", className)}\n {...props}\n />\n ),\n);\n\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Separator, type SeparatorProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAwB,4BAYhC,cAAAC,MAAA,oBAFJ,IAAMC,EAAkB,aACtB,CAAC,CAAE,UAAAC,EAAW,YAAAC,EAAc,aAAc,WAAAC,EAAa,GAAM,GAAGC,CAAM,EAAGC,IACvEN,EAAoB,OAAnB,CACC,IAAKM,EACL,WAAYF,EACZ,YAAaD,EACb,UAAWI,EAAG,qBAAsBJ,IAAgB,aAAe,cAAgB,cAAeD,CAAS,EAC1G,GAAGG,EACN,CAEJ,EAEAJ,EAAU,YAAiC,OAAK","names":["React","SeparatorPrimitive","jsx","Separator","className","orientation","decorative","props","ref","cn"]}
|
package/dist/sheet.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var r = _interopRequireWildcard(_react);var _reactdialog = require('@radix-ui/react-dialog'); var e = _interopRequireWildcard(_reactdialog);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');var d=_chunkQZCQ42BPjs.a.call(void 0, {base:"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 animate-ease-in-out fixed z-50 gap-4 p-6 shadow-lg",variants:{side:{top:"data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 border-b",bottom:"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 border-t",left:"data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"}},defaultVariants:{side:"right"}}),v= exports.Sheet =e.Root,R= exports.SheetTrigger =e.Trigger,g= exports.SheetClose =e.Close,c= exports.SheetContent =r.forwardRef(({children:t,side:o="right",className:a,...m},l)=>_jsxruntime.jsxs.call(void 0, e.Portal,{children:[_jsxruntime.jsx.call(void 0, e.Overlay,{className:"data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80"}),_jsxruntime.jsxs.call(void 0, e.Content,{ref:l,className:d({side:o,className:a}),...m,children:[t,_jsxruntime.jsxs.call(void 0, e.Close,{className:"data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition hover:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none",children:[_jsxruntime.jsx.call(void 0, _reacticons.Cross2Icon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})]}));c.displayName=e.Content.displayName;function C({className:t,...o}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-col space-y-2 text-center sm:text-left",t),...o})}function S({className:t,...o}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkQZCQ42BPjs.b.call(void 0, "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...o})}S.displayName="SheetFooter";var f=r.forwardRef(({className:t,...o},a)=>_jsxruntime.jsx.call(void 0, e.Title,{ref:a,className:_chunkQZCQ42BPjs.b.call(void 0, "text-foreground text-lg font-semibold",t),...o}));f.displayName=e.Title.displayName;var P=r.forwardRef(({className:t,...o},a)=>_jsxruntime.jsx.call(void 0, e.Description,{ref:a,className:_chunkQZCQ42BPjs.b.call(void 0, "text-muted-foreground text-sm",t),...o}));P.displayName=e.Description.displayName;exports.Sheet = v; exports.SheetClose = g; exports.SheetContent = c; exports.SheetDescription = P; exports.SheetFooter = S; exports.SheetHeader = C; exports.SheetTitle = f; exports.SheetTrigger = R;
|
|
2
|
-
//# sourceMappingURL=sheet.js.map
|
package/dist/sheet.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sheet.tsx"],"names":["React","SheetPrimitive","Cross2Icon","jsx","jsxs","sheetVariants","cva","Sheet","SheetTrigger","SheetClose","SheetContent","children","side","className","props","ref","SheetHeader","cn","SheetFooter","SheetTitle","SheetDescription"],"mappings":"4DAEA,UAAYA,MAAW,QACvB,UAAYC,MAAoB,yBAChC,OAAS,cAAAC,MAAkB,wBA0DrB,cAAAC,EAGE,QAAAC,MAHF,oBAlDN,IAAMC,EAAgBC,EAAI,CACxB,KAAM,gNACN,SAAU,CACR,KAAM,CACJ,IAAK,oGACL,OACE,6GACF,KAAM,gIACN,MACE,kIACJ,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CAAC,EASKC,EAAuB,OAOvBC,EAA8B,UAO9BC,EAA4B,QAS5BC,EAAqB,aACzB,CAAC,CAAE,SAAAC,EAAU,KAAAC,EAAO,QAAS,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClDX,EAAgB,SAAf,CACC,UAAAD,EAAgB,UAAf,CAAuB,UAAU,wLAAwL,EAC1NC,EAAgB,UAAf,CAAuB,IAAKW,EAAK,UAAWV,EAAc,CAAE,KAAAO,EAAM,UAAAC,CAAU,CAAC,EAAI,GAAGC,EAClF,UAAAH,EACDP,EAAgB,QAAf,CAAqB,UAAU,qNAC9B,UAAAD,EAACD,EAAA,CAAW,UAAU,SAAS,EAC/BC,EAAC,QAAK,UAAU,UAAU,iBAAK,GACjC,GACF,GACF,CAEJ,EAEAO,EAAa,YAA6B,UAAQ,YAQlD,SAASM,EAAY,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAwC,CACjF,OAAOX,EAAC,OAAI,UAAWc,EAAG,mDAAoDJ,CAAS,EAAI,GAAGC,EAAO,CACvG,CAQA,SAASI,EAAY,CAAE,UAAAL,EAAW,GAAGC,CAAM,EAAwC,CACjF,OAAOX,EAAC,OAAI,UAAWc,EAAG,gEAAiEJ,CAAS,EAAI,GAAGC,EAAO,CACpH,CAEAI,EAAY,YAAc,cAS1B,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IAChGZ,EAAgB,QAAf,CAAqB,IAAKY,EAAK,UAAWE,EAAG,wCAAyCJ,CAAS,EAAI,GAAGC,EAAO,CAC/G,EAEDK,EAAW,YAA6B,QAAM,YAS9C,IAAMC,EAAyB,aAC7B,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IACxBZ,EAAgB,cAAf,CAA2B,IAAKY,EAAK,UAAWE,EAAG,gCAAiCJ,CAAS,EAAI,GAAGC,EAAO,CAEhH,EAEAM,EAAiB,YAA6B,cAAY","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\";\nimport { Cross2Icon } from \"@radix-ui/react-icons\";\nimport { type VariantProps } from \"cva\";\nimport { cn, cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Sheet\n * -------------------------------------------------------------------------- */\n\nconst sheetVariants = cva({\n base: \"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 animate-ease-in-out fixed z-50 gap-4 p-6 shadow-lg\",\n variants: {\n side: {\n top: \"data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 border-b\",\n bottom:\n \"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 border-t\",\n left: \"data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n right:\n \"data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\ntype SheetVariantsProps = VariantProps<typeof sheetVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\ntype SheetProps = React.ComponentProps<typeof SheetPrimitive.Root>;\nconst Sheet = SheetPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\ntype SheetTriggerProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Trigger>;\nconst SheetTrigger = SheetPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\ntype SheetCloseProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Close>;\nconst SheetClose = SheetPrimitive.Close;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\ntype SheetContentElement = React.ElementRef<typeof SheetPrimitive.Content>;\ntype SheetContentProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content> & SheetVariantsProps;\n\nconst SheetContent = React.forwardRef<SheetContentElement, SheetContentProps>(\n ({ children, side = \"right\", className, ...props }, ref) => (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay className=\"data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80\" />\n <SheetPrimitive.Content ref={ref} className={sheetVariants({ side, className })} {...props}>\n {children}\n <SheetPrimitive.Close className=\"data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition hover:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none\">\n <Cross2Icon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n ),\n);\n\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\ntype SheetHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetHeader({ className, ...props }: SheetHeaderProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\ntype SheetFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetFooter({ className, ...props }: SheetFooterProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)} {...props} />;\n}\n\nSheetFooter.displayName = \"SheetFooter\";\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\ntype SheetTitleElement = React.ElementRef<typeof SheetPrimitive.Title>;\ntype SheetTitleProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>;\n\nconst SheetTitle = React.forwardRef<SheetTitleElement, SheetTitleProps>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title ref={ref} className={cn(\"text-foreground text-lg font-semibold\", className)} {...props} />\n));\n\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\ntype SheetDescriptionElement = React.ElementRef<typeof SheetPrimitive.Description>;\ntype SheetDescriptionProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>;\n\nconst SheetDescription = React.forwardRef<SheetDescriptionElement, SheetDescriptionProps>(\n ({ className, ...props }, ref) => (\n <SheetPrimitive.Description ref={ref} className={cn(\"text-muted-foreground text-sm\", className)} {...props} />\n ),\n);\n\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n type SheetProps,\n type SheetTriggerProps,\n type SheetCloseProps,\n type SheetContentProps,\n type SheetHeaderProps,\n type SheetFooterProps,\n type SheetTitleProps,\n type SheetDescriptionProps,\n};\n"]}
|
package/dist/sheet.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{a as p,b as s}from"./chunk-JTI7KCLO.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as h}from"@radix-ui/react-icons";import{jsx as i,jsxs as n}from"react/jsx-runtime";var d=p({base:"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 animate-ease-in-out fixed z-50 gap-4 p-6 shadow-lg",variants:{side:{top:"data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 border-b",bottom:"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 border-t",left:"data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm"}},defaultVariants:{side:"right"}}),v=e.Root,R=e.Trigger,g=e.Close,c=r.forwardRef(({children:t,side:o="right",className:a,...m},l)=>n(e.Portal,{children:[i(e.Overlay,{className:"data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80"}),n(e.Content,{ref:l,className:d({side:o,className:a}),...m,children:[t,n(e.Close,{className:"data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition hover:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none",children:[i(h,{className:"size-4"}),i("span",{className:"sr-only",children:"Close"})]})]})]}));c.displayName=e.Content.displayName;function C({className:t,...o}){return i("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...o})}function S({className:t,...o}){return i("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...o})}S.displayName="SheetFooter";var f=r.forwardRef(({className:t,...o},a)=>i(e.Title,{ref:a,className:s("text-foreground text-lg font-semibold",t),...o}));f.displayName=e.Title.displayName;var P=r.forwardRef(({className:t,...o},a)=>i(e.Description,{ref:a,className:s("text-muted-foreground text-sm",t),...o}));P.displayName=e.Description.displayName;export{v as Sheet,g as SheetClose,c as SheetContent,P as SheetDescription,S as SheetFooter,C as SheetHeader,f as SheetTitle,R as SheetTrigger};
|
|
2
|
-
//# sourceMappingURL=sheet.mjs.map
|
package/dist/sheet.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sheet.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\";\nimport { Cross2Icon } from \"@radix-ui/react-icons\";\nimport { type VariantProps } from \"cva\";\nimport { cn, cva } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Variant: Sheet\n * -------------------------------------------------------------------------- */\n\nconst sheetVariants = cva({\n base: \"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 animate-ease-in-out fixed z-50 gap-4 p-6 shadow-lg\",\n variants: {\n side: {\n top: \"data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 border-b\",\n bottom:\n \"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 border-t\",\n left: \"data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",\n right:\n \"data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\ntype SheetVariantsProps = VariantProps<typeof sheetVariants>;\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\ntype SheetProps = React.ComponentProps<typeof SheetPrimitive.Root>;\nconst Sheet = SheetPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\ntype SheetTriggerProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Trigger>;\nconst SheetTrigger = SheetPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\ntype SheetCloseProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Close>;\nconst SheetClose = SheetPrimitive.Close;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\ntype SheetContentElement = React.ElementRef<typeof SheetPrimitive.Content>;\ntype SheetContentProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content> & SheetVariantsProps;\n\nconst SheetContent = React.forwardRef<SheetContentElement, SheetContentProps>(\n ({ children, side = \"right\", className, ...props }, ref) => (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay className=\"data-[state=closed]:animate-duration-300 data-[state=open]:animate-duration-500 data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50 bg-black/80\" />\n <SheetPrimitive.Content ref={ref} className={sheetVariants({ side, className })} {...props}>\n {children}\n <SheetPrimitive.Close className=\"data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition hover:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none\">\n <Cross2Icon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n ),\n);\n\nSheetContent.displayName = SheetPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\ntype SheetHeaderProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetHeader({ className, ...props }: SheetHeaderProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col space-y-2 text-center sm:text-left\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\ntype SheetFooterProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction SheetFooter({ className, ...props }: SheetFooterProps): React.JSX.Element {\n return <div className={cn(\"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\", className)} {...props} />;\n}\n\nSheetFooter.displayName = \"SheetFooter\";\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\ntype SheetTitleElement = React.ElementRef<typeof SheetPrimitive.Title>;\ntype SheetTitleProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>;\n\nconst SheetTitle = React.forwardRef<SheetTitleElement, SheetTitleProps>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title ref={ref} className={cn(\"text-foreground text-lg font-semibold\", className)} {...props} />\n));\n\nSheetTitle.displayName = SheetPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\ntype SheetDescriptionElement = React.ElementRef<typeof SheetPrimitive.Description>;\ntype SheetDescriptionProps = React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>;\n\nconst SheetDescription = React.forwardRef<SheetDescriptionElement, SheetDescriptionProps>(\n ({ className, ...props }, ref) => (\n <SheetPrimitive.Description ref={ref} className={cn(\"text-muted-foreground text-sm\", className)} {...props} />\n ),\n);\n\nSheetDescription.displayName = SheetPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n type SheetProps,\n type SheetTriggerProps,\n type SheetCloseProps,\n type SheetContentProps,\n type SheetHeaderProps,\n type SheetFooterProps,\n type SheetTitleProps,\n type SheetDescriptionProps,\n};\n"],"mappings":"6DAEA,UAAYA,MAAW,QACvB,UAAYC,MAAoB,yBAChC,OAAS,cAAAC,MAAkB,wBA0DrB,cAAAC,EAGE,QAAAC,MAHF,oBAlDN,IAAMC,EAAgBC,EAAI,CACxB,KAAM,gNACN,SAAU,CACR,KAAM,CACJ,IAAK,oGACL,OACE,6GACF,KAAM,gIACN,MACE,kIACJ,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CAAC,EASKC,EAAuB,OAOvBC,EAA8B,UAO9BC,EAA4B,QAS5BC,EAAqB,aACzB,CAAC,CAAE,SAAAC,EAAU,KAAAC,EAAO,QAAS,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClDX,EAAgB,SAAf,CACC,UAAAD,EAAgB,UAAf,CAAuB,UAAU,wLAAwL,EAC1NC,EAAgB,UAAf,CAAuB,IAAKW,EAAK,UAAWV,EAAc,CAAE,KAAAO,EAAM,UAAAC,CAAU,CAAC,EAAI,GAAGC,EAClF,UAAAH,EACDP,EAAgB,QAAf,CAAqB,UAAU,qNAC9B,UAAAD,EAACa,EAAA,CAAW,UAAU,SAAS,EAC/Bb,EAAC,QAAK,UAAU,UAAU,iBAAK,GACjC,GACF,GACF,CAEJ,EAEAO,EAAa,YAA6B,UAAQ,YAQlD,SAASO,EAAY,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAwC,CACjF,OAAOX,EAAC,OAAI,UAAWe,EAAG,mDAAoDL,CAAS,EAAI,GAAGC,EAAO,CACvG,CAQA,SAASK,EAAY,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAwC,CACjF,OAAOX,EAAC,OAAI,UAAWe,EAAG,gEAAiEL,CAAS,EAAI,GAAGC,EAAO,CACpH,CAEAK,EAAY,YAAc,cAS1B,IAAMC,EAAmB,aAA+C,CAAC,CAAE,UAAAP,EAAW,GAAGC,CAAM,EAAGC,IAChGZ,EAAgB,QAAf,CAAqB,IAAKY,EAAK,UAAWG,EAAG,wCAAyCL,CAAS,EAAI,GAAGC,EAAO,CAC/G,EAEDM,EAAW,YAA6B,QAAM,YAS9C,IAAMC,EAAyB,aAC7B,CAAC,CAAE,UAAAR,EAAW,GAAGC,CAAM,EAAGC,IACxBZ,EAAgB,cAAf,CAA2B,IAAKY,EAAK,UAAWG,EAAG,gCAAiCL,CAAS,EAAI,GAAGC,EAAO,CAEhH,EAEAO,EAAiB,YAA6B,cAAY","names":["React","SheetPrimitive","Cross2Icon","jsx","jsxs","sheetVariants","cva","Sheet","SheetTrigger","SheetClose","SheetContent","children","side","className","props","ref","Cross2Icon","SheetHeader","cn","SheetFooter","SheetTitle","SheetDescription"]}
|
package/dist/skeleton.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _jsxruntime = require('react/jsx-runtime');function p({className:t,...o}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkQZCQ42BPjs.b.call(void 0, "bg-primary/10 animate-pulse rounded",t),...o})}exports.Skeleton = p;
|
|
2
|
-
//# sourceMappingURL=skeleton.js.map
|
package/dist/skeleton.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/skeleton.tsx"],"names":["jsx","Skeleton","className","props","cn"],"mappings":"wCAUS,cAAAA,MAAA,oBADT,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAqC,CAC3E,OAAOH,EAAC,OAAI,UAAWI,EAAG,sCAAuCF,CAAS,EAAI,GAAGC,EAAO,CAC1F","sourcesContent":["import * as React from \"react\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element {\n return <div className={cn(\"bg-primary/10 animate-pulse rounded\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Skeleton, type SkeletonProps };\n"]}
|
package/dist/skeleton.mjs
DELETED
package/dist/skeleton.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/skeleton.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\ntype SkeletonProps = React.HTMLAttributes<HTMLDivElement>;\n\nfunction Skeleton({ className, ...props }: SkeletonProps): React.JSX.Element {\n return <div className={cn(\"bg-primary/10 animate-pulse rounded\", className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Skeleton, type SkeletonProps };\n"],"mappings":"yCAUS,cAAAA,MAAA,oBADT,SAASC,EAAS,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAqC,CAC3E,OAAOH,EAAC,OAAI,UAAWI,EAAG,sCAAuCF,CAAS,EAAI,GAAGC,EAAO,CAC1F","names":["jsx","Skeleton","className","props","cn"]}
|
package/dist/slider.js
DELETED
|
@@ -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; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";var _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var t = _interopRequireWildcard(_react);var _reactslider = require('@radix-ui/react-slider'); var e = _interopRequireWildcard(_reactslider);var _jsxruntime = require('react/jsx-runtime');var n=t.forwardRef(({className:o,...i},a)=>_jsxruntime.jsxs.call(void 0, e.Root,{ref:a,className:_chunkQZCQ42BPjs.b.call(void 0, "relative flex w-full touch-none select-none items-center",o),...i,children:[_jsxruntime.jsx.call(void 0, e.Track,{className:"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full",children:_jsxruntime.jsx.call(void 0, e.Range,{className:"bg-primary absolute h-full"})}),(_nullishCoalesce(_nullishCoalesce(i.value, () => (i.defaultValue)), () => ([]))).map((m,d)=>_jsxruntime.jsx.call(void 0, e.Thumb,{className:"border-primary/50 bg-background block size-4 rounded-full border shadow transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50",...i.tabIndex!==void 0?{tabIndex:i.tabIndex}:void 0},d))]}));n.displayName=e.Root.displayName;exports.Slider = n;
|
|
2
|
-
//# sourceMappingURL=slider.js.map
|
package/dist/slider.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/slider.tsx"],"names":["React","SliderPrimitive","jsx","jsxs","Slider","className","props","ref","cn","value","index"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAqB,yBAW/B,OAMI,OAAAC,EANJ,QAAAC,MAAA,oBADF,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAiB,OAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,2DAA4DH,CAAS,EAClF,GAAGC,EAEJ,UAAAJ,EAAiB,QAAhB,CAAsB,UAAU,wEAC/B,SAAAA,EAAiB,QAAhB,CAAsB,UAAU,6BAA6B,EAChE,GAEEI,EAAM,OAASA,EAAM,cAAgB,CAAC,GAAG,IAAI,CAACG,EAAOC,IACrDR,EAAiB,QAAhB,CAGC,UAAU,mNACT,GAAII,EAAM,WAAa,OAAY,CAAE,SAAUA,EAAM,QAAS,EAAI,QAF9DI,CAGP,CACD,GACH,CACD,EAEDN,EAAO,YAA8B,OAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SliderPrimitive from \"@radix-ui/react-slider\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Slider\n * -------------------------------------------------------------------------- */\n\ntype SliderElement = React.ElementRef<typeof SliderPrimitive.Root>;\ntype SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;\n\nconst Slider = React.forwardRef<SliderElement, SliderProps>(({ className, ...props }, ref) => (\n <SliderPrimitive.Root\n ref={ref}\n className={cn(\"relative flex w-full touch-none select-none items-center\", className)}\n {...props}\n >\n <SliderPrimitive.Track className=\"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full\">\n <SliderPrimitive.Range className=\"bg-primary absolute h-full\" />\n </SliderPrimitive.Track>\n\n {(props.value ?? props.defaultValue ?? []).map((value, index) => (\n <SliderPrimitive.Thumb\n // eslint-disable-next-line react/no-array-index-key -- index is stable\n key={index}\n className=\"border-primary/50 bg-background block size-4 rounded-full border shadow transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50\"\n {...(props.tabIndex !== undefined ? { tabIndex: props.tabIndex } : undefined)}\n />\n ))}\n </SliderPrimitive.Root>\n));\n\nSlider.displayName = SliderPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Slider, type SliderProps };\n"]}
|
package/dist/slider.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";import{b as r}from"./chunk-JTI7KCLO.mjs";import*as t from"react";import*as e from"@radix-ui/react-slider";import{jsx as l,jsxs as s}from"react/jsx-runtime";var n=t.forwardRef(({className:o,...i},a)=>s(e.Root,{ref:a,className:r("relative flex w-full touch-none select-none items-center",o),...i,children:[l(e.Track,{className:"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full",children:l(e.Range,{className:"bg-primary absolute h-full"})}),(i.value??i.defaultValue??[]).map((m,d)=>l(e.Thumb,{className:"border-primary/50 bg-background block size-4 rounded-full border shadow transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50",...i.tabIndex!==void 0?{tabIndex:i.tabIndex}:void 0},d))]}));n.displayName=e.Root.displayName;export{n as Slider};
|
|
2
|
-
//# sourceMappingURL=slider.mjs.map
|
package/dist/slider.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/slider.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SliderPrimitive from \"@radix-ui/react-slider\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Slider\n * -------------------------------------------------------------------------- */\n\ntype SliderElement = React.ElementRef<typeof SliderPrimitive.Root>;\ntype SliderProps = React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;\n\nconst Slider = React.forwardRef<SliderElement, SliderProps>(({ className, ...props }, ref) => (\n <SliderPrimitive.Root\n ref={ref}\n className={cn(\"relative flex w-full touch-none select-none items-center\", className)}\n {...props}\n >\n <SliderPrimitive.Track className=\"bg-primary/20 relative h-1.5 w-full grow overflow-hidden rounded-full\">\n <SliderPrimitive.Range className=\"bg-primary absolute h-full\" />\n </SliderPrimitive.Track>\n\n {(props.value ?? props.defaultValue ?? []).map((value, index) => (\n <SliderPrimitive.Thumb\n // eslint-disable-next-line react/no-array-index-key -- index is stable\n key={index}\n className=\"border-primary/50 bg-background block size-4 rounded-full border shadow transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50\"\n {...(props.tabIndex !== undefined ? { tabIndex: props.tabIndex } : undefined)}\n />\n ))}\n </SliderPrimitive.Root>\n));\n\nSlider.displayName = SliderPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Slider, type SliderProps };\n"],"mappings":"sDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAqB,yBAW/B,OAMI,OAAAC,EANJ,QAAAC,MAAA,oBADF,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAiB,OAAhB,CACC,IAAKI,EACL,UAAWC,EAAG,2DAA4DH,CAAS,EAClF,GAAGC,EAEJ,UAAAJ,EAAiB,QAAhB,CAAsB,UAAU,wEAC/B,SAAAA,EAAiB,QAAhB,CAAsB,UAAU,6BAA6B,EAChE,GAEEI,EAAM,OAASA,EAAM,cAAgB,CAAC,GAAG,IAAI,CAACG,EAAOC,IACrDR,EAAiB,QAAhB,CAGC,UAAU,mNACT,GAAII,EAAM,WAAa,OAAY,CAAE,SAAUA,EAAM,QAAS,EAAI,QAF9DI,CAGP,CACD,GACH,CACD,EAEDN,EAAO,YAA8B,OAAK","names":["React","SliderPrimitive","jsx","jsxs","Slider","className","props","ref","cn","value","index"]}
|
package/dist/sonner.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sonner.tsx"],"names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,MAAOI,EACP,UAAU,gBACV,aAAc,CACZ,WAAY,CACV,MACE,wIACF,YAAa,uCACb,aAAc,mEACd,aAAc,8DAChB,CACF,EACC,GAAGD,EACN,CAEJ","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { useTheme } from \"next-themes\";\nimport { toast, Toaster as Sonner } from \"sonner\";\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = \"light\" | \"dark\" | \"system\" | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = \"system\" } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n theme={theme}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg\",\n description: \"group-[.toast]:text-muted-foreground\",\n actionButton: \"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground\",\n cancelButton: \"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground\",\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"]}
|
package/dist/sonner.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/sonner.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { useTheme } from \"next-themes\";\nimport { toast, Toaster as Sonner } from \"sonner\";\n\n/* -----------------------------------------------------------------------------\n * Component: Sonner\n * -------------------------------------------------------------------------- */\n\ntype ToasterProps = React.ComponentProps<typeof Sonner>;\ntype Theme = \"light\" | \"dark\" | \"system\" | undefined;\n\nfunction Toaster({ ...props }: ToasterProps): React.JSX.Element {\n const { theme = \"system\" } = useTheme() as { theme: Theme };\n\n return (\n <Sonner\n theme={theme}\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n \"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg\",\n description: \"group-[.toast]:text-muted-foreground\",\n actionButton: \"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground\",\n cancelButton: \"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground\",\n },\n }}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Toaster, toast, type ToasterProps };\n"],"mappings":"aAGA,OAAS,YAAAA,MAAgB,cACzB,OAAS,SAAAC,EAAO,WAAWC,MAAc,SAarC,cAAAC,MAAA,oBAJJ,SAASC,EAAQ,CAAE,GAAGC,CAAM,EAAoC,CAC9D,GAAM,CAAE,MAAAC,EAAQ,QAAS,EAAIN,EAAS,EAEtC,OACEG,EAACD,EAAA,CACC,MAAOI,EACP,UAAU,gBACV,aAAc,CACZ,WAAY,CACV,MACE,wIACF,YAAa,uCACb,aAAc,mEACd,aAAc,8DAChB,CACF,EACC,GAAGD,EACN,CAEJ","names":["useTheme","toast","Sonner","jsx","Toaster","props","theme"]}
|
package/dist/spinner.js
DELETED
package/dist/spinner.mjs
DELETED
package/dist/strong.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/strong.tsx"],"names":["React","Slot","jsx","Strong","asChild","props","ref"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAe,aAAuC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAG3EJ,EAFWE,EAAUH,EAAO,SAE3B,CAAU,IAAKK,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAO,YAAc","sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"strong\";\n\n return <Component ref={ref} {...props} />;\n});\n\nStrong.displayName = \"Strong\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Strong, type StrongProps };\n"]}
|
package/dist/strong.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/strong.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n/* -----------------------------------------------------------------------------\n * Component: Strong\n * -------------------------------------------------------------------------- */\n\ntype StrongElement = HTMLElement;\n\ninterface StrongProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Strong = React.forwardRef<StrongElement, StrongProps>(({ asChild, ...props }, ref) => {\n const Component = asChild ? Slot : \"strong\";\n\n return <Component ref={ref} {...props} />;\n});\n\nStrong.displayName = \"Strong\";\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Strong, type StrongProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAe,aAAuC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAG3EJ,EAFWE,EAAUH,EAAO,SAE3B,CAAU,IAAKK,EAAM,GAAGD,EAAO,CACxC,EAEDF,EAAO,YAAc","names":["React","Slot","jsx","Strong","asChild","props","ref"]}
|
package/dist/switch.js
DELETED
|
@@ -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 _chunkQZCQ42BPjs = require('./chunk-QZCQ42BP.js');var _react = require('react'); var o = _interopRequireWildcard(_react);var _reactswitch = require('@radix-ui/react-switch'); var t = _interopRequireWildcard(_reactswitch);var _jsxruntime = require('react/jsx-runtime');var c=o.forwardRef(({className:s,...a},r)=>_jsxruntime.jsx.call(void 0, t.Root,{className:_chunkQZCQ42BPjs.b.call(void 0, "data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-sm transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),...a,ref:r,children:_jsxruntime.jsx.call(void 0, t.Thumb,{className:"bg-background pointer-events-none block size-4 rounded-full shadow-lg transition data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"})}));c.displayName=t.Root.displayName;exports.Switch = c;
|
|
2
|
-
//# sourceMappingURL=switch.js.map
|
package/dist/switch.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/switch.tsx"],"names":["React","SwitchPrimitives","jsx","Switch","className","props","ref","cn"],"mappings":"qDAEA,UAAYA,MAAW,QACvB,UAAYC,MAAsB,yBAmB9B,cAAAC,MAAA,oBATJ,IAAMC,EAAe,aAAuC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACpFJ,EAAkB,OAAjB,CACC,UAAWK,EACT,4SACAH,CACF,EACC,GAAGC,EACJ,IAAKC,EAEL,SAAAJ,EAAkB,QAAjB,CAAuB,UAAU,2JAA2J,EAC/L,CACD,EAEDC,EAAO,YAA+B,OAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SwitchPrimitives from \"@radix-ui/react-switch\";\nimport { cn } from \"./utils\";\n\n/* -----------------------------------------------------------------------------\n * Component: Switch\n * -------------------------------------------------------------------------- */\n\ntype SwitchElement = React.ElementRef<typeof SwitchPrimitives.Root>;\ntype SwitchProps = React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;\n\nconst Switch = React.forwardRef<SwitchElement, SwitchProps>(({ className, ...props }, ref) => (\n <SwitchPrimitives.Root\n className={cn(\n \"data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-5 w-9 shrink-0 items-center rounded-full border-2 border-transparent shadow-sm transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50\",\n className,\n )}\n {...props}\n ref={ref}\n >\n <SwitchPrimitives.Thumb className=\"bg-background pointer-events-none block size-4 rounded-full shadow-lg transition data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0\" />\n </SwitchPrimitives.Root>\n));\n\nSwitch.displayName = SwitchPrimitives.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Switch, type SwitchProps };\n"]}
|