@regardio/react 0.3.2
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/LICENSE +9 -0
- package/README.md +133 -0
- package/dist/components/background-slideshow.d.ts +22 -0
- package/dist/components/background-slideshow.d.ts.map +1 -0
- package/dist/components/background-slideshow.js +76 -0
- package/dist/components/blurry-gradient.d.ts +9 -0
- package/dist/components/blurry-gradient.d.ts.map +1 -0
- package/dist/components/blurry-gradient.js +6 -0
- package/dist/components/box.d.ts +17 -0
- package/dist/components/box.d.ts.map +1 -0
- package/dist/components/box.js +25 -0
- package/dist/components/carousel.d.ts +26 -0
- package/dist/components/carousel.d.ts.map +1 -0
- package/dist/components/carousel.js +87 -0
- package/dist/components/countdown.d.ts +2 -0
- package/dist/components/countdown.d.ts.map +1 -0
- package/dist/components/countdown.js +48 -0
- package/dist/components/definition-list.d.ts +40 -0
- package/dist/components/definition-list.d.ts.map +1 -0
- package/dist/components/definition-list.js +57 -0
- package/dist/components/generic-error.d.ts +23 -0
- package/dist/components/generic-error.d.ts.map +1 -0
- package/dist/components/generic-error.js +39 -0
- package/dist/components/heading.d.ts +24 -0
- package/dist/components/heading.d.ts.map +1 -0
- package/dist/components/heading.js +29 -0
- package/dist/components/highlight.d.ts +16 -0
- package/dist/components/highlight.d.ts.map +1 -0
- package/dist/components/highlight.js +19 -0
- package/dist/components/icon-button.d.ts +6 -0
- package/dist/components/icon-button.d.ts.map +1 -0
- package/dist/components/icon-button.js +6 -0
- package/dist/components/if.d.ts +8 -0
- package/dist/components/if.d.ts.map +1 -0
- package/dist/components/if.js +16 -0
- package/dist/components/iframe.d.ts +8 -0
- package/dist/components/iframe.d.ts.map +1 -0
- package/dist/components/iframe.js +3 -0
- package/dist/components/item.d.ts +67 -0
- package/dist/components/item.d.ts.map +1 -0
- package/dist/components/item.js +309 -0
- package/dist/components/leaflet-map.d.ts +33 -0
- package/dist/components/leaflet-map.d.ts.map +1 -0
- package/dist/components/leaflet-map.js +195 -0
- package/dist/components/link.d.ts +41 -0
- package/dist/components/link.d.ts.map +1 -0
- package/dist/components/link.js +111 -0
- package/dist/components/link.test.d.ts +2 -0
- package/dist/components/link.test.d.ts.map +1 -0
- package/dist/components/link.test.js +204 -0
- package/dist/components/list-item.d.ts +16 -0
- package/dist/components/list-item.d.ts.map +1 -0
- package/dist/components/list-item.js +19 -0
- package/dist/components/maptiler-map.d.ts +26 -0
- package/dist/components/maptiler-map.d.ts.map +1 -0
- package/dist/components/maptiler-map.js +116 -0
- package/dist/components/markdown-container.d.ts +20 -0
- package/dist/components/markdown-container.d.ts.map +1 -0
- package/dist/components/markdown-container.js +93 -0
- package/dist/components/password-input.d.ts +9 -0
- package/dist/components/password-input.d.ts.map +1 -0
- package/dist/components/password-input.js +13 -0
- package/dist/components/picture.d.ts +26 -0
- package/dist/components/picture.d.ts.map +1 -0
- package/dist/components/picture.js +36 -0
- package/dist/components/protected-email.d.ts +9 -0
- package/dist/components/protected-email.d.ts.map +1 -0
- package/dist/components/protected-email.js +16 -0
- package/dist/components/text.d.ts +17 -0
- package/dist/components/text.d.ts.map +1 -0
- package/dist/components/text.js +27 -0
- package/dist/components/unordered-list.d.ts +16 -0
- package/dist/components/unordered-list.d.ts.map +1 -0
- package/dist/components/unordered-list.js +21 -0
- package/dist/hooks/use-current-route-data.d.ts +2 -0
- package/dist/hooks/use-current-route-data.d.ts.map +1 -0
- package/dist/hooks/use-current-route-data.js +12 -0
- package/dist/hooks/use-focus-search.d.ts +3 -0
- package/dist/hooks/use-focus-search.d.ts.map +1 -0
- package/dist/hooks/use-focus-search.js +15 -0
- package/dist/hooks/use-matches-data.d.ts +2 -0
- package/dist/hooks/use-matches-data.d.ts.map +1 -0
- package/dist/hooks/use-matches-data.js +11 -0
- package/dist/hooks/use-media-query.d.ts +2 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +16 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +15 -0
- package/dist/hooks/use-nonce.d.ts +5 -0
- package/dist/hooks/use-nonce.d.ts.map +1 -0
- package/dist/hooks/use-nonce.js +9 -0
- package/dist/hooks/use-nonce.test.d.ts +2 -0
- package/dist/hooks/use-nonce.test.d.ts.map +1 -0
- package/dist/hooks/use-nonce.test.js +27 -0
- package/dist/hooks/use-orientation.d.ts +3 -0
- package/dist/hooks/use-orientation.d.ts.map +1 -0
- package/dist/hooks/use-orientation.js +25 -0
- package/dist/hooks/use-user.d.ts +15 -0
- package/dist/hooks/use-user.d.ts.map +1 -0
- package/dist/hooks/use-user.js +17 -0
- package/dist/shadcn/accordion.d.ts +25 -0
- package/dist/shadcn/accordion.d.ts.map +1 -0
- package/dist/shadcn/accordion.js +45 -0
- package/dist/shadcn/alert-dialog.d.ts +73 -0
- package/dist/shadcn/alert-dialog.d.ts.map +1 -0
- package/dist/shadcn/alert-dialog.js +93 -0
- package/dist/shadcn/alert.d.ts +34 -0
- package/dist/shadcn/alert.d.ts.map +1 -0
- package/dist/shadcn/alert.js +42 -0
- package/dist/shadcn/aspect-ratio.d.ts +6 -0
- package/dist/shadcn/aspect-ratio.d.ts.map +1 -0
- package/dist/shadcn/aspect-ratio.js +7 -0
- package/dist/shadcn/avatar.d.ts +16 -0
- package/dist/shadcn/avatar.d.ts.map +1 -0
- package/dist/shadcn/avatar.js +27 -0
- package/dist/shadcn/badge.d.ts +29 -0
- package/dist/shadcn/badge.d.ts.map +1 -0
- package/dist/shadcn/badge.js +29 -0
- package/dist/shadcn/breadcrumb.d.ts +42 -0
- package/dist/shadcn/breadcrumb.d.ts.map +1 -0
- package/dist/shadcn/breadcrumb.js +74 -0
- package/dist/shadcn/button.d.ts +38 -0
- package/dist/shadcn/button.d.ts.map +1 -0
- package/dist/shadcn/button.js +38 -0
- package/dist/shadcn/calendar.d.ts +23 -0
- package/dist/shadcn/calendar.d.ts.map +1 -0
- package/dist/shadcn/calendar.js +163 -0
- package/dist/shadcn/card.d.ts +31 -0
- package/dist/shadcn/card.d.ts.map +1 -0
- package/dist/shadcn/card.js +55 -0
- package/dist/shadcn/carousel.d.ts +51 -0
- package/dist/shadcn/carousel.d.ts.map +1 -0
- package/dist/shadcn/carousel.js +161 -0
- package/dist/shadcn/chart.d.ts +103 -0
- package/dist/shadcn/chart.d.ts.map +1 -0
- package/dist/shadcn/chart.js +248 -0
- package/dist/shadcn/checkbox.d.ts +8 -0
- package/dist/shadcn/checkbox.d.ts.map +1 -0
- package/dist/shadcn/checkbox.js +22 -0
- package/dist/shadcn/collapsible.d.ts +16 -0
- package/dist/shadcn/collapsible.d.ts.map +1 -0
- package/dist/shadcn/collapsible.js +19 -0
- package/dist/shadcn/command.d.ts +61 -0
- package/dist/shadcn/command.d.ts.map +1 -0
- package/dist/shadcn/command.js +123 -0
- package/dist/shadcn/context-menu.d.ts +107 -0
- package/dist/shadcn/context-menu.d.ts.map +1 -0
- package/dist/shadcn/context-menu.js +151 -0
- package/dist/shadcn/dialog.d.ts +57 -0
- package/dist/shadcn/dialog.d.ts.map +1 -0
- package/dist/shadcn/dialog.js +96 -0
- package/dist/shadcn/drawer.d.ts +54 -0
- package/dist/shadcn/drawer.d.ts.map +1 -0
- package/dist/shadcn/drawer.js +96 -0
- package/dist/shadcn/dropdown-menu.d.ts +110 -0
- package/dist/shadcn/dropdown-menu.d.ts.map +1 -0
- package/dist/shadcn/dropdown-menu.js +152 -0
- package/dist/shadcn/form.d.ts +59 -0
- package/dist/shadcn/form.d.ts.map +1 -0
- package/dist/shadcn/form.js +99 -0
- package/dist/shadcn/hover-card.d.ts +20 -0
- package/dist/shadcn/hover-card.d.ts.map +1 -0
- package/dist/shadcn/hover-card.js +26 -0
- package/dist/shadcn/input-otp.d.ts +25 -0
- package/dist/shadcn/input-otp.d.ts.map +1 -0
- package/dist/shadcn/input-otp.js +54 -0
- package/dist/shadcn/input.d.ts +14 -0
- package/dist/shadcn/input.d.ts.map +1 -0
- package/dist/shadcn/input.js +48 -0
- package/dist/shadcn/label.d.ts +8 -0
- package/dist/shadcn/label.d.ts.map +1 -0
- package/dist/shadcn/label.js +16 -0
- package/dist/shadcn/menubar.d.ts +108 -0
- package/dist/shadcn/menubar.d.ts.map +1 -0
- package/dist/shadcn/menubar.js +174 -0
- package/dist/shadcn/navigation-menu.d.ts +79 -0
- package/dist/shadcn/navigation-menu.d.ts.map +1 -0
- package/dist/shadcn/navigation-menu.js +108 -0
- package/dist/shadcn/pagination.d.ts +45 -0
- package/dist/shadcn/pagination.d.ts.map +1 -0
- package/dist/shadcn/pagination.js +83 -0
- package/dist/shadcn/popover.d.ts +19 -0
- package/dist/shadcn/popover.d.ts.map +1 -0
- package/dist/shadcn/popover.js +29 -0
- package/dist/shadcn/progress.d.ts +9 -0
- package/dist/shadcn/progress.d.ts.map +1 -0
- package/dist/shadcn/progress.js +17 -0
- package/dist/shadcn/radio-group.d.ts +12 -0
- package/dist/shadcn/radio-group.d.ts.map +1 -0
- package/dist/shadcn/radio-group.js +32 -0
- package/dist/shadcn/resizable.d.ts +20 -0
- package/dist/shadcn/resizable.d.ts.map +1 -0
- package/dist/shadcn/resizable.js +32 -0
- package/dist/shadcn/scroll-area.d.ts +16 -0
- package/dist/shadcn/scroll-area.d.ts.map +1 -0
- package/dist/shadcn/scroll-area.js +40 -0
- package/dist/shadcn/select.d.ts +63 -0
- package/dist/shadcn/select.d.ts.map +1 -0
- package/dist/shadcn/select.js +120 -0
- package/dist/shadcn/separator.d.ts +10 -0
- package/dist/shadcn/separator.d.ts.map +1 -0
- package/dist/shadcn/separator.js +18 -0
- package/dist/shadcn/sheet.d.ts +48 -0
- package/dist/shadcn/sheet.d.ts.map +1 -0
- package/dist/shadcn/sheet.js +99 -0
- package/dist/shadcn/sidebar.d.ts +200 -0
- package/dist/shadcn/sidebar.d.ts.map +1 -0
- package/dist/shadcn/sidebar.js +528 -0
- package/dist/shadcn/skeleton.d.ts +6 -0
- package/dist/shadcn/skeleton.d.ts.map +1 -0
- package/dist/shadcn/skeleton.js +11 -0
- package/dist/shadcn/slider.d.ts +12 -0
- package/dist/shadcn/slider.d.ts.map +1 -0
- package/dist/shadcn/slider.js +50 -0
- package/dist/shadcn/sonner.d.ts +7 -0
- package/dist/shadcn/sonner.d.ts.map +1 -0
- package/dist/shadcn/sonner.js +20 -0
- package/dist/shadcn/switch.d.ts +8 -0
- package/dist/shadcn/switch.d.ts.map +1 -0
- package/dist/shadcn/switch.js +22 -0
- package/dist/shadcn/table.d.ts +35 -0
- package/dist/shadcn/table.d.ts.map +1 -0
- package/dist/shadcn/table.js +73 -0
- package/dist/shadcn/tabs.d.ts +20 -0
- package/dist/shadcn/tabs.d.ts.map +1 -0
- package/dist/shadcn/tabs.js +40 -0
- package/dist/shadcn/textarea.d.ts +7 -0
- package/dist/shadcn/textarea.d.ts.map +1 -0
- package/dist/shadcn/textarea.js +14 -0
- package/dist/shadcn/toggle-group.d.ts +22 -0
- package/dist/shadcn/toggle-group.d.ts.map +1 -0
- package/dist/shadcn/toggle-group.js +43 -0
- package/dist/shadcn/toggle.d.ts +29 -0
- package/dist/shadcn/toggle.d.ts.map +1 -0
- package/dist/shadcn/toggle.js +31 -0
- package/dist/shadcn/tooltip.d.ts +20 -0
- package/dist/shadcn/tooltip.d.ts.map +1 -0
- package/dist/shadcn/tooltip.js +40 -0
- package/dist/stories/BackgroundSlideshow.stories.d.ts +9 -0
- package/dist/stories/BackgroundSlideshow.stories.d.ts.map +1 -0
- package/dist/stories/BackgroundSlideshow.stories.js +60 -0
- package/dist/stories/BlurryGradient.stories.d.ts +11 -0
- package/dist/stories/BlurryGradient.stories.d.ts.map +1 -0
- package/dist/stories/BlurryGradient.stories.js +53 -0
- package/dist/stories/Box.stories.d.ts +13 -0
- package/dist/stories/Box.stories.d.ts.map +1 -0
- package/dist/stories/Box.stories.js +50 -0
- package/dist/stories/Carousel.stories.d.ts +9 -0
- package/dist/stories/Carousel.stories.d.ts.map +1 -0
- package/dist/stories/Carousel.stories.js +30 -0
- package/dist/stories/Countdown.stories.d.ts +7 -0
- package/dist/stories/Countdown.stories.d.ts.map +1 -0
- package/dist/stories/Countdown.stories.js +11 -0
- package/dist/stories/DefinitionList.stories.d.ts +9 -0
- package/dist/stories/DefinitionList.stories.d.ts.map +1 -0
- package/dist/stories/DefinitionList.stories.js +20 -0
- package/dist/stories/GenericError.stories.d.ts +9 -0
- package/dist/stories/GenericError.stories.d.ts.map +1 -0
- package/dist/stories/GenericError.stories.js +39 -0
- package/dist/stories/Heading.stories.d.ts +15 -0
- package/dist/stories/Heading.stories.d.ts.map +1 -0
- package/dist/stories/Heading.stories.js +61 -0
- package/dist/stories/Highlight.stories.d.ts +8 -0
- package/dist/stories/Highlight.stories.d.ts.map +1 -0
- package/dist/stories/Highlight.stories.js +19 -0
- package/dist/stories/IconButton.stories.d.ts +10 -0
- package/dist/stories/IconButton.stories.d.ts.map +1 -0
- package/dist/stories/IconButton.stories.js +32 -0
- package/dist/stories/If.stories.d.ts +13 -0
- package/dist/stories/If.stories.d.ts.map +1 -0
- package/dist/stories/If.stories.js +54 -0
- package/dist/stories/Iframe.stories.d.ts +8 -0
- package/dist/stories/Iframe.stories.d.ts.map +1 -0
- package/dist/stories/Iframe.stories.js +23 -0
- package/dist/stories/Item.stories.d.ts +10 -0
- package/dist/stories/Item.stories.d.ts.map +1 -0
- package/dist/stories/Item.stories.js +32 -0
- package/dist/stories/Link.stories.d.ts +10 -0
- package/dist/stories/Link.stories.d.ts.map +1 -0
- package/dist/stories/Link.stories.js +36 -0
- package/dist/stories/ListItem.stories.d.ts +9 -0
- package/dist/stories/ListItem.stories.d.ts.map +1 -0
- package/dist/stories/ListItem.stories.js +25 -0
- package/dist/stories/MarkdownContainer.stories.d.ts +11 -0
- package/dist/stories/MarkdownContainer.stories.d.ts.map +1 -0
- package/dist/stories/MarkdownContainer.stories.js +66 -0
- package/dist/stories/PasswordInput.stories.d.ts +9 -0
- package/dist/stories/PasswordInput.stories.d.ts.map +1 -0
- package/dist/stories/PasswordInput.stories.js +27 -0
- package/dist/stories/Picture.stories.d.ts +10 -0
- package/dist/stories/Picture.stories.d.ts.map +1 -0
- package/dist/stories/Picture.stories.js +46 -0
- package/dist/stories/ProtectedEmail.stories.d.ts +10 -0
- package/dist/stories/ProtectedEmail.stories.d.ts.map +1 -0
- package/dist/stories/ProtectedEmail.stories.js +34 -0
- package/dist/stories/Text.stories.d.ts +10 -0
- package/dist/stories/Text.stories.d.ts.map +1 -0
- package/dist/stories/Text.stories.js +31 -0
- package/dist/stories/UnorderedList.stories.d.ts +10 -0
- package/dist/stories/UnorderedList.stories.d.ts.map +1 -0
- package/dist/stories/UnorderedList.stories.js +24 -0
- package/dist/test-setup.d.ts +2 -0
- package/dist/test-setup.d.ts.map +1 -0
- package/dist/test-setup.js +1 -0
- package/dist/utils/author.d.ts +9 -0
- package/dist/utils/author.d.ts.map +1 -0
- package/dist/utils/author.js +37 -0
- package/dist/utils/author.test.d.ts +2 -0
- package/dist/utils/author.test.d.ts.map +1 -0
- package/dist/utils/author.test.js +46 -0
- package/dist/utils/cn.d.ts +5 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +10 -0
- package/dist/utils/cn.test.d.ts +2 -0
- package/dist/utils/cn.test.d.ts.map +1 -0
- package/dist/utils/cn.test.js +33 -0
- package/dist/utils/is-route-active.d.ts +3 -0
- package/dist/utils/is-route-active.d.ts.map +1 -0
- package/dist/utils/is-route-active.js +54 -0
- package/dist/utils/is-route-active.test.d.ts +2 -0
- package/dist/utils/is-route-active.test.d.ts.map +1 -0
- package/dist/utils/is-route-active.test.js +61 -0
- package/dist/utils/locale.d.ts +22 -0
- package/dist/utils/locale.d.ts.map +1 -0
- package/dist/utils/locale.js +25 -0
- package/dist/utils/locale.test.d.ts +2 -0
- package/dist/utils/locale.test.d.ts.map +1 -0
- package/dist/utils/locale.test.js +99 -0
- package/dist/utils/text.d.ts +7 -0
- package/dist/utils/text.d.ts.map +1 -0
- package/dist/utils/text.js +102 -0
- package/dist/utils/text.test.d.ts +2 -0
- package/dist/utils/text.test.d.ts.map +1 -0
- package/dist/utils/text.test.js +122 -0
- package/package.json +117 -0
- package/src/components/background-slideshow.tsx +172 -0
- package/src/components/blurry-gradient.tsx +97 -0
- package/src/components/box.tsx +45 -0
- package/src/components/carousel.tsx +197 -0
- package/src/components/countdown.tsx +82 -0
- package/src/components/definition-list.tsx +90 -0
- package/src/components/generic-error.tsx +104 -0
- package/src/components/heading.tsx +60 -0
- package/src/components/highlight.tsx +53 -0
- package/src/components/icon-button.tsx +20 -0
- package/src/components/if.tsx +29 -0
- package/src/components/iframe.tsx +19 -0
- package/src/components/item.tsx +340 -0
- package/src/components/leaflet-map.tsx +294 -0
- package/src/components/link.test.tsx +387 -0
- package/src/components/link.tsx +206 -0
- package/src/components/list-item.tsx +30 -0
- package/src/components/maptiler-map.tsx +181 -0
- package/src/components/markdown-container.tsx +153 -0
- package/src/components/password-input.tsx +49 -0
- package/src/components/picture.tsx +107 -0
- package/src/components/protected-email.tsx +49 -0
- package/src/components/text.tsx +38 -0
- package/src/components/unordered-list.tsx +32 -0
- package/src/hooks/use-current-route-data.ts +18 -0
- package/src/hooks/use-focus-search.ts +20 -0
- package/src/hooks/use-matches-data.ts +19 -0
- package/src/hooks/use-media-query.ts +33 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/hooks/use-nonce.test.ts +35 -0
- package/src/hooks/use-nonce.ts +20 -0
- package/src/hooks/use-orientation.ts +48 -0
- package/src/hooks/use-user.tsx +72 -0
- package/src/stories/BackgroundSlideshow.stories.tsx +68 -0
- package/src/stories/BlurryGradient.stories.tsx +62 -0
- package/src/stories/Box.stories.tsx +83 -0
- package/src/stories/Carousel.stories.tsx +95 -0
- package/src/stories/Countdown.stories.tsx +16 -0
- package/src/stories/DefinitionList.stories.tsx +51 -0
- package/src/stories/GenericError.stories.tsx +58 -0
- package/src/stories/Heading.stories.tsx +82 -0
- package/src/stories/Highlight.stories.tsx +28 -0
- package/src/stories/IconButton.stories.tsx +90 -0
- package/src/stories/If.stories.tsx +72 -0
- package/src/stories/Iframe.stories.tsx +29 -0
- package/src/stories/Item.stories.tsx +79 -0
- package/src/stories/Link.stories.tsx +58 -0
- package/src/stories/ListItem.stories.tsx +37 -0
- package/src/stories/MarkdownContainer.stories.tsx +76 -0
- package/src/stories/PasswordInput.stories.tsx +34 -0
- package/src/stories/Picture.stories.tsx +54 -0
- package/src/stories/ProtectedEmail.stories.tsx +57 -0
- package/src/stories/Text.stories.tsx +44 -0
- package/src/stories/UnorderedList.stories.tsx +73 -0
- package/src/styles/storybook.css +1 -0
- package/src/styles/tailwind.css +7 -0
- package/src/test-setup.ts +1 -0
- package/src/utils/author.test.ts +54 -0
- package/src/utils/author.tsx +73 -0
- package/src/utils/cn.test.ts +48 -0
- package/src/utils/cn.ts +14 -0
- package/src/utils/is-route-active.test.ts +80 -0
- package/src/utils/is-route-active.ts +100 -0
- package/src/utils/locale.test.ts +148 -0
- package/src/utils/locale.ts +127 -0
- package/src/utils/text.test.ts +152 -0
- package/src/utils/text.tsx +209 -0
- package/src/vite-env.d.ts +1 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
+
import { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from 'react/jsx-runtime';
|
|
5
|
+
import { cn } from '../utils/cn';
|
|
6
|
+
|
|
7
|
+
function DropdownMenu({ ...props }) {
|
|
8
|
+
return _jsx(DropdownMenuPrimitive.Root, { 'data-slot': 'dropdown-menu', ...props });
|
|
9
|
+
}
|
|
10
|
+
function DropdownMenuPortal({ ...props }) {
|
|
11
|
+
return _jsx(DropdownMenuPrimitive.Portal, { 'data-slot': 'dropdown-menu-portal', ...props });
|
|
12
|
+
}
|
|
13
|
+
function DropdownMenuTrigger({ ...props }) {
|
|
14
|
+
return _jsx(DropdownMenuPrimitive.Trigger, { 'data-slot': 'dropdown-menu-trigger', ...props });
|
|
15
|
+
}
|
|
16
|
+
function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
|
|
17
|
+
return _jsx(DropdownMenuPrimitive.Portal, {
|
|
18
|
+
children: _jsx(DropdownMenuPrimitive.Content, {
|
|
19
|
+
className: cn(
|
|
20
|
+
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',
|
|
21
|
+
className,
|
|
22
|
+
),
|
|
23
|
+
'data-slot': 'dropdown-menu-content',
|
|
24
|
+
sideOffset: sideOffset,
|
|
25
|
+
...props,
|
|
26
|
+
}),
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function DropdownMenuGroup({ ...props }) {
|
|
30
|
+
return _jsx(DropdownMenuPrimitive.Group, { 'data-slot': 'dropdown-menu-group', ...props });
|
|
31
|
+
}
|
|
32
|
+
function DropdownMenuItem({ className, inset, variant = 'default', ...props }) {
|
|
33
|
+
return _jsx(DropdownMenuPrimitive.Item, {
|
|
34
|
+
className: cn(
|
|
35
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
36
|
+
className,
|
|
37
|
+
),
|
|
38
|
+
'data-inset': inset,
|
|
39
|
+
'data-slot': 'dropdown-menu-item',
|
|
40
|
+
'data-variant': variant,
|
|
41
|
+
...props,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
45
|
+
return _jsxs(DropdownMenuPrimitive.CheckboxItem, {
|
|
46
|
+
...(checked !== undefined ? { checked } : {}),
|
|
47
|
+
className: cn(
|
|
48
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
49
|
+
className,
|
|
50
|
+
),
|
|
51
|
+
'data-slot': 'dropdown-menu-checkbox-item',
|
|
52
|
+
...props,
|
|
53
|
+
children: [
|
|
54
|
+
_jsx('span', {
|
|
55
|
+
children: _jsx(DropdownMenuPrimitive.ItemIndicator, {
|
|
56
|
+
children: _jsx(CheckIcon, { className: 'size-4' }),
|
|
57
|
+
}),
|
|
58
|
+
className: 'pointer-events-none absolute left-2 flex size-3.5 items-center justify-center',
|
|
59
|
+
}),
|
|
60
|
+
children,
|
|
61
|
+
],
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function DropdownMenuRadioGroup({ ...props }) {
|
|
65
|
+
return _jsx(DropdownMenuPrimitive.RadioGroup, {
|
|
66
|
+
'data-slot': 'dropdown-menu-radio-group',
|
|
67
|
+
...props,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
71
|
+
return _jsxs(DropdownMenuPrimitive.RadioItem, {
|
|
72
|
+
className: cn(
|
|
73
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
74
|
+
className,
|
|
75
|
+
),
|
|
76
|
+
'data-slot': 'dropdown-menu-radio-item',
|
|
77
|
+
...props,
|
|
78
|
+
children: [
|
|
79
|
+
_jsx('span', {
|
|
80
|
+
children: _jsx(DropdownMenuPrimitive.ItemIndicator, {
|
|
81
|
+
children: _jsx(CircleIcon, { className: 'size-2 fill-current' }),
|
|
82
|
+
}),
|
|
83
|
+
className: 'pointer-events-none absolute left-2 flex size-3.5 items-center justify-center',
|
|
84
|
+
}),
|
|
85
|
+
children,
|
|
86
|
+
],
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
function DropdownMenuLabel({ className, inset, ...props }) {
|
|
90
|
+
return _jsx(DropdownMenuPrimitive.Label, {
|
|
91
|
+
className: cn('px-2 py-1.5 text-sm font-medium data-[inset]:pl-8', className),
|
|
92
|
+
'data-inset': inset,
|
|
93
|
+
'data-slot': 'dropdown-menu-label',
|
|
94
|
+
...props,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
function DropdownMenuSeparator({ className, ...props }) {
|
|
98
|
+
return _jsx(DropdownMenuPrimitive.Separator, {
|
|
99
|
+
className: cn('bg-border -mx-1 my-1 h-px', className),
|
|
100
|
+
'data-slot': 'dropdown-menu-separator',
|
|
101
|
+
...props,
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function DropdownMenuShortcut({ className, ...props }) {
|
|
105
|
+
return _jsx('span', {
|
|
106
|
+
className: cn('text-muted-foreground ml-auto text-xs tracking-widest', className),
|
|
107
|
+
'data-slot': 'dropdown-menu-shortcut',
|
|
108
|
+
...props,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
function DropdownMenuSub({ ...props }) {
|
|
112
|
+
return _jsx(DropdownMenuPrimitive.Sub, { 'data-slot': 'dropdown-menu-sub', ...props });
|
|
113
|
+
}
|
|
114
|
+
function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
115
|
+
return _jsxs(DropdownMenuPrimitive.SubTrigger, {
|
|
116
|
+
className: cn(
|
|
117
|
+
'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8',
|
|
118
|
+
className,
|
|
119
|
+
),
|
|
120
|
+
'data-inset': inset,
|
|
121
|
+
'data-slot': 'dropdown-menu-sub-trigger',
|
|
122
|
+
...props,
|
|
123
|
+
children: [children, _jsx(ChevronRightIcon, { className: 'ml-auto size-4' })],
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
function DropdownMenuSubContent({ className, ...props }) {
|
|
127
|
+
return _jsx(DropdownMenuPrimitive.SubContent, {
|
|
128
|
+
className: cn(
|
|
129
|
+
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',
|
|
130
|
+
className,
|
|
131
|
+
),
|
|
132
|
+
'data-slot': 'dropdown-menu-sub-content',
|
|
133
|
+
...props,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
export {
|
|
137
|
+
DropdownMenu,
|
|
138
|
+
DropdownMenuPortal,
|
|
139
|
+
DropdownMenuTrigger,
|
|
140
|
+
DropdownMenuContent,
|
|
141
|
+
DropdownMenuGroup,
|
|
142
|
+
DropdownMenuLabel,
|
|
143
|
+
DropdownMenuItem,
|
|
144
|
+
DropdownMenuCheckboxItem,
|
|
145
|
+
DropdownMenuRadioGroup,
|
|
146
|
+
DropdownMenuRadioItem,
|
|
147
|
+
DropdownMenuSeparator,
|
|
148
|
+
DropdownMenuShortcut,
|
|
149
|
+
DropdownMenuSub,
|
|
150
|
+
DropdownMenuSubTrigger,
|
|
151
|
+
DropdownMenuSubContent,
|
|
152
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { type ControllerProps, type FieldPath, type FieldValues } from 'react-hook-form';
|
|
5
|
+
declare const Form: <
|
|
6
|
+
TFieldValues extends FieldValues,
|
|
7
|
+
TContext = any,
|
|
8
|
+
TTransformedValues = TFieldValues,
|
|
9
|
+
>(
|
|
10
|
+
props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>,
|
|
11
|
+
) => React.JSX.Element;
|
|
12
|
+
declare const FormField: <
|
|
13
|
+
TFieldValues extends FieldValues = FieldValues,
|
|
14
|
+
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,
|
|
15
|
+
>({
|
|
16
|
+
...props
|
|
17
|
+
}: ControllerProps<TFieldValues, TName>) => import('react/jsx-runtime').JSX.Element;
|
|
18
|
+
declare const useFormField: () => {
|
|
19
|
+
invalid: boolean;
|
|
20
|
+
isDirty: boolean;
|
|
21
|
+
isTouched: boolean;
|
|
22
|
+
isValidating: boolean;
|
|
23
|
+
error?: import('react-hook-form').FieldError;
|
|
24
|
+
formDescriptionId: string;
|
|
25
|
+
formItemId: string;
|
|
26
|
+
formMessageId: string;
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
declare function FormItem({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<'div'>): import('react/jsx-runtime').JSX.Element;
|
|
34
|
+
declare function FormLabel({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): import('react/jsx-runtime').JSX.Element;
|
|
38
|
+
declare function FormControl({
|
|
39
|
+
...props
|
|
40
|
+
}: React.ComponentProps<typeof Slot>): import('react/jsx-runtime').JSX.Element;
|
|
41
|
+
declare function FormDescription({
|
|
42
|
+
className,
|
|
43
|
+
...props
|
|
44
|
+
}: React.ComponentProps<'p'>): import('react/jsx-runtime').JSX.Element;
|
|
45
|
+
declare function FormMessage({
|
|
46
|
+
className,
|
|
47
|
+
...props
|
|
48
|
+
}: React.ComponentProps<'p'>): import('react/jsx-runtime').JSX.Element | null;
|
|
49
|
+
export {
|
|
50
|
+
useFormField,
|
|
51
|
+
Form,
|
|
52
|
+
FormItem,
|
|
53
|
+
FormLabel,
|
|
54
|
+
FormControl,
|
|
55
|
+
FormDescription,
|
|
56
|
+
FormMessage,
|
|
57
|
+
FormField,
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/shadcn/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,WAAW,EAIjB,MAAM,iBAAiB,CAAC;AAIzB,QAAA,MAAM,IAAI,4MAAe,CAAC;AAW1B,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAC;AAQF,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAYrE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAY3F;AAED,iBAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,2CAYnE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAW1E;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,kDAkBtE;AAED,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,GACV,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { jsx as _jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { Controller, FormProvider, useFormContext, useFormState } from 'react-hook-form';
|
|
5
|
+
import { cn } from '../utils/cn';
|
|
6
|
+
import { Label } from './label';
|
|
7
|
+
|
|
8
|
+
const Form = FormProvider;
|
|
9
|
+
const FormFieldContext = React.createContext({});
|
|
10
|
+
const FormField = ({ ...props }) => {
|
|
11
|
+
return _jsx(FormFieldContext.Provider, {
|
|
12
|
+
children: _jsx(Controller, { ...props }),
|
|
13
|
+
value: { name: props.name },
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
const useFormField = () => {
|
|
17
|
+
const fieldContext = React.useContext(FormFieldContext);
|
|
18
|
+
const itemContext = React.useContext(FormItemContext);
|
|
19
|
+
const { getFieldState } = useFormContext();
|
|
20
|
+
const formState = useFormState({ name: fieldContext.name });
|
|
21
|
+
const fieldState = getFieldState(fieldContext.name, formState);
|
|
22
|
+
if (!fieldContext) {
|
|
23
|
+
throw new Error('useFormField should be used within <FormField>');
|
|
24
|
+
}
|
|
25
|
+
const { id } = itemContext;
|
|
26
|
+
return {
|
|
27
|
+
formDescriptionId: `${id}-form-item-description`,
|
|
28
|
+
formItemId: `${id}-form-item`,
|
|
29
|
+
formMessageId: `${id}-form-item-message`,
|
|
30
|
+
id,
|
|
31
|
+
name: fieldContext.name,
|
|
32
|
+
...fieldState,
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const FormItemContext = React.createContext({});
|
|
36
|
+
function FormItem({ className, ...props }) {
|
|
37
|
+
const id = React.useId();
|
|
38
|
+
return _jsx(FormItemContext.Provider, {
|
|
39
|
+
children: _jsx('div', {
|
|
40
|
+
className: cn('grid gap-2', className),
|
|
41
|
+
'data-slot': 'form-item',
|
|
42
|
+
...props,
|
|
43
|
+
}),
|
|
44
|
+
value: { id },
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
function FormLabel({ className, ...props }) {
|
|
48
|
+
const { error, formItemId } = useFormField();
|
|
49
|
+
return _jsx(Label, {
|
|
50
|
+
className: cn('data-[error=true]:text-destructive', className),
|
|
51
|
+
'data-error': !!error,
|
|
52
|
+
'data-slot': 'form-label',
|
|
53
|
+
htmlFor: formItemId,
|
|
54
|
+
...props,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function FormControl({ ...props }) {
|
|
58
|
+
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
59
|
+
return _jsx(Slot, {
|
|
60
|
+
'aria-describedby': !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
|
61
|
+
'aria-invalid': !!error,
|
|
62
|
+
'data-slot': 'form-control',
|
|
63
|
+
id: formItemId,
|
|
64
|
+
...props,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function FormDescription({ className, ...props }) {
|
|
68
|
+
const { formDescriptionId } = useFormField();
|
|
69
|
+
return _jsx('p', {
|
|
70
|
+
className: cn('text-muted-foreground text-sm', className),
|
|
71
|
+
'data-slot': 'form-description',
|
|
72
|
+
id: formDescriptionId,
|
|
73
|
+
...props,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function FormMessage({ className, ...props }) {
|
|
77
|
+
const { error, formMessageId } = useFormField();
|
|
78
|
+
const body = error ? String(error?.message ?? '') : props.children;
|
|
79
|
+
if (!body) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
return _jsx('p', {
|
|
83
|
+
className: cn('text-destructive text-sm', className),
|
|
84
|
+
'data-slot': 'form-message',
|
|
85
|
+
id: formMessageId,
|
|
86
|
+
...props,
|
|
87
|
+
children: body,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
export {
|
|
91
|
+
useFormField,
|
|
92
|
+
Form,
|
|
93
|
+
FormItem,
|
|
94
|
+
FormLabel,
|
|
95
|
+
FormControl,
|
|
96
|
+
FormDescription,
|
|
97
|
+
FormMessage,
|
|
98
|
+
FormField,
|
|
99
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
2
|
+
import type * as React from 'react';
|
|
3
|
+
declare function HoverCard({
|
|
4
|
+
...props
|
|
5
|
+
}: React.ComponentProps<typeof HoverCardPrimitive.Root>): import('react/jsx-runtime').JSX.Element;
|
|
6
|
+
declare function HoverCardTrigger({
|
|
7
|
+
...props
|
|
8
|
+
}: React.ComponentProps<
|
|
9
|
+
typeof HoverCardPrimitive.Trigger
|
|
10
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
11
|
+
declare function HoverCardContent({
|
|
12
|
+
className,
|
|
13
|
+
align,
|
|
14
|
+
sideOffset,
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<
|
|
17
|
+
typeof HoverCardPrimitive.Content
|
|
18
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
19
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent };
|
|
20
|
+
//# sourceMappingURL=hover-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hover-card.d.ts","sourceRoot":"","sources":["../../src/shadcn/hover-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iBAAS,SAAS,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAOpF;AAED,iBAAS,gBAAgB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAO9F;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,OAAO,CAAC,2CAezD;AAED,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
2
|
+
import { jsx as _jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { cn } from '../utils/cn';
|
|
4
|
+
|
|
5
|
+
function HoverCard({ ...props }) {
|
|
6
|
+
return _jsx(HoverCardPrimitive.Root, { 'data-slot': 'hover-card', ...props });
|
|
7
|
+
}
|
|
8
|
+
function HoverCardTrigger({ ...props }) {
|
|
9
|
+
return _jsx(HoverCardPrimitive.Trigger, { 'data-slot': 'hover-card-trigger', ...props });
|
|
10
|
+
}
|
|
11
|
+
function HoverCardContent({ className, align = 'center', sideOffset = 4, ...props }) {
|
|
12
|
+
return _jsx(HoverCardPrimitive.Portal, {
|
|
13
|
+
children: _jsx(HoverCardPrimitive.Content, {
|
|
14
|
+
align: align,
|
|
15
|
+
className: cn(
|
|
16
|
+
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden',
|
|
17
|
+
className,
|
|
18
|
+
),
|
|
19
|
+
'data-slot': 'hover-card-content',
|
|
20
|
+
sideOffset: sideOffset,
|
|
21
|
+
...props,
|
|
22
|
+
}),
|
|
23
|
+
'data-slot': 'hover-card-portal',
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OTPInput } from 'input-otp';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare function InputOTP({
|
|
4
|
+
className,
|
|
5
|
+
containerClassName,
|
|
6
|
+
...props
|
|
7
|
+
}: React.ComponentProps<typeof OTPInput> & {
|
|
8
|
+
containerClassName?: string;
|
|
9
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
10
|
+
declare function InputOTPGroup({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<'div'>): import('react/jsx-runtime').JSX.Element;
|
|
14
|
+
declare function InputOTPSlot({
|
|
15
|
+
index,
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<'div'> & {
|
|
19
|
+
index: number;
|
|
20
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
21
|
+
declare function InputOTPSeparator({
|
|
22
|
+
...props
|
|
23
|
+
}: React.ComponentProps<'div'>): import('react/jsx-runtime').JSX.Element;
|
|
24
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
|
|
25
|
+
//# sourceMappingURL=input-otp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../../src/shadcn/input-otp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAmB,MAAM,WAAW,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,2CASA;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQ1E;AAED,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf,2CAsBA;AAED,iBAAS,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAanE;AAED,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { OTPInput, OTPInputContext } from 'input-otp';
|
|
3
|
+
import { MinusIcon } from 'lucide-react';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs } from 'react/jsx-runtime';
|
|
6
|
+
import { cn } from '../utils/cn';
|
|
7
|
+
|
|
8
|
+
function InputOTP({ className, containerClassName, ...props }) {
|
|
9
|
+
return _jsx(OTPInput, {
|
|
10
|
+
className: cn('disabled:cursor-not-allowed', className),
|
|
11
|
+
containerClassName: cn('flex items-center gap-2 has-disabled:opacity-50', containerClassName),
|
|
12
|
+
'data-slot': 'input-otp',
|
|
13
|
+
...props,
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function InputOTPGroup({ className, ...props }) {
|
|
17
|
+
return _jsx('div', {
|
|
18
|
+
className: cn('flex items-center', className),
|
|
19
|
+
'data-slot': 'input-otp-group',
|
|
20
|
+
...props,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function InputOTPSlot({ index, className, ...props }) {
|
|
24
|
+
const inputOTPContext = React.useContext(OTPInputContext);
|
|
25
|
+
const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
|
|
26
|
+
return _jsxs('div', {
|
|
27
|
+
className: cn(
|
|
28
|
+
'data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive dark:bg-input/30 border-input relative flex h-9 w-9 items-center justify-center border-y border-r text-sm shadow-xs transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:z-10 data-[active=true]:ring-[3px]',
|
|
29
|
+
className,
|
|
30
|
+
),
|
|
31
|
+
'data-active': isActive,
|
|
32
|
+
'data-slot': 'input-otp-slot',
|
|
33
|
+
...props,
|
|
34
|
+
children: [
|
|
35
|
+
char,
|
|
36
|
+
hasFakeCaret &&
|
|
37
|
+
_jsx('div', {
|
|
38
|
+
children: _jsx('div', {
|
|
39
|
+
className: 'animate-caret-blink bg-foreground h-4 w-px duration-1000',
|
|
40
|
+
}),
|
|
41
|
+
className: 'pointer-events-none absolute inset-0 flex items-center justify-center',
|
|
42
|
+
}),
|
|
43
|
+
],
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function InputOTPSeparator({ ...props }) {
|
|
47
|
+
return _jsx('div', {
|
|
48
|
+
'data-slot': 'input-otp-separator',
|
|
49
|
+
role: 'separator',
|
|
50
|
+
...props,
|
|
51
|
+
children: _jsx(MinusIcon, {}),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from 'react';
|
|
2
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
label?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const Input: ({
|
|
7
|
+
className,
|
|
8
|
+
error,
|
|
9
|
+
label,
|
|
10
|
+
type,
|
|
11
|
+
...props
|
|
12
|
+
}: InputProps) => import('react/jsx-runtime').JSX.Element;
|
|
13
|
+
export { Input };
|
|
14
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/shadcn/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,WAAW,UAAW,SAAQ,mBAAmB,CAAC,gBAAgB,CAAC;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,KAAK,GAAI,6CAA6C,UAAU,4CAuCrE,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { cn } from '../utils/cn';
|
|
3
|
+
import { Label } from './label';
|
|
4
|
+
|
|
5
|
+
const Input = ({ className, error, label, type, ...props }) => {
|
|
6
|
+
return _jsxs('div', {
|
|
7
|
+
children: [
|
|
8
|
+
_jsxs(Label, {
|
|
9
|
+
children: [
|
|
10
|
+
_jsx('span', { children: label }),
|
|
11
|
+
_jsx('input', {
|
|
12
|
+
className: cn(
|
|
13
|
+
'border-b-4',
|
|
14
|
+
'border-input/30',
|
|
15
|
+
'border-t-0',
|
|
16
|
+
'border-t-0',
|
|
17
|
+
'border-x-0',
|
|
18
|
+
'disabled:cursor-not-allowed',
|
|
19
|
+
'disabled:opacity-50',
|
|
20
|
+
'file:bg-transparent',
|
|
21
|
+
'file:border-0',
|
|
22
|
+
'file:font-medium',
|
|
23
|
+
'file:text-sm',
|
|
24
|
+
'flex',
|
|
25
|
+
'focus-visible:border-b-input/80',
|
|
26
|
+
'focus-visible:outline-none',
|
|
27
|
+
'focus-visible:ring-0',
|
|
28
|
+
'leading-normal',
|
|
29
|
+
'placeholder:text-muted-foreground',
|
|
30
|
+
'px-0',
|
|
31
|
+
'py-3xs',
|
|
32
|
+
'rounded-b-sm',
|
|
33
|
+
'text-sm',
|
|
34
|
+
'tracking-normal',
|
|
35
|
+
'w-full',
|
|
36
|
+
className,
|
|
37
|
+
),
|
|
38
|
+
type: type,
|
|
39
|
+
...props,
|
|
40
|
+
}),
|
|
41
|
+
],
|
|
42
|
+
}),
|
|
43
|
+
error,
|
|
44
|
+
],
|
|
45
|
+
className: 'w-full',
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
export { Input };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
|
+
import type * as React from 'react';
|
|
3
|
+
declare function Label({
|
|
4
|
+
className,
|
|
5
|
+
...props
|
|
6
|
+
}: React.ComponentProps<typeof LabelPrimitive.Root>): import('react/jsx-runtime').JSX.Element;
|
|
7
|
+
export { Label };
|
|
8
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/shadcn/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAWvF;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
3
|
+
import { jsx as _jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { cn } from '../utils/cn';
|
|
5
|
+
|
|
6
|
+
function Label({ className, ...props }) {
|
|
7
|
+
return _jsx(LabelPrimitive.Root, {
|
|
8
|
+
className: cn(
|
|
9
|
+
'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',
|
|
10
|
+
className,
|
|
11
|
+
),
|
|
12
|
+
'data-slot': 'label',
|
|
13
|
+
...props,
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export { Label };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
2
|
+
import type * as React from 'react';
|
|
3
|
+
declare function Menubar({
|
|
4
|
+
className,
|
|
5
|
+
...props
|
|
6
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Root>): import('react/jsx-runtime').JSX.Element;
|
|
7
|
+
declare function MenubarMenu({
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Menu>): import('react/jsx-runtime').JSX.Element;
|
|
10
|
+
declare function MenubarGroup({
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Group>): import('react/jsx-runtime').JSX.Element;
|
|
13
|
+
declare function MenubarPortal({
|
|
14
|
+
...props
|
|
15
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Portal>): import('react/jsx-runtime').JSX.Element;
|
|
16
|
+
declare function MenubarRadioGroup({
|
|
17
|
+
...props
|
|
18
|
+
}: React.ComponentProps<
|
|
19
|
+
typeof MenubarPrimitive.RadioGroup
|
|
20
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
21
|
+
declare function MenubarTrigger({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Trigger>): import('react/jsx-runtime').JSX.Element;
|
|
25
|
+
declare function MenubarContent({
|
|
26
|
+
className,
|
|
27
|
+
align,
|
|
28
|
+
alignOffset,
|
|
29
|
+
sideOffset,
|
|
30
|
+
...props
|
|
31
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Content>): import('react/jsx-runtime').JSX.Element;
|
|
32
|
+
declare function MenubarItem({
|
|
33
|
+
className,
|
|
34
|
+
inset,
|
|
35
|
+
variant,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
38
|
+
inset?: boolean;
|
|
39
|
+
variant?: 'default' | 'destructive';
|
|
40
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
41
|
+
declare function MenubarCheckboxItem({
|
|
42
|
+
className,
|
|
43
|
+
children,
|
|
44
|
+
checked,
|
|
45
|
+
...props
|
|
46
|
+
}: React.ComponentProps<
|
|
47
|
+
typeof MenubarPrimitive.CheckboxItem
|
|
48
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
49
|
+
declare function MenubarRadioItem({
|
|
50
|
+
className,
|
|
51
|
+
children,
|
|
52
|
+
...props
|
|
53
|
+
}: React.ComponentProps<
|
|
54
|
+
typeof MenubarPrimitive.RadioItem
|
|
55
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
56
|
+
declare function MenubarLabel({
|
|
57
|
+
className,
|
|
58
|
+
inset,
|
|
59
|
+
...props
|
|
60
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
61
|
+
inset?: boolean;
|
|
62
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
63
|
+
declare function MenubarSeparator({
|
|
64
|
+
className,
|
|
65
|
+
...props
|
|
66
|
+
}: React.ComponentProps<
|
|
67
|
+
typeof MenubarPrimitive.Separator
|
|
68
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
69
|
+
declare function MenubarShortcut({
|
|
70
|
+
className,
|
|
71
|
+
...props
|
|
72
|
+
}: React.ComponentProps<'span'>): import('react/jsx-runtime').JSX.Element;
|
|
73
|
+
declare function MenubarSub({
|
|
74
|
+
...props
|
|
75
|
+
}: React.ComponentProps<typeof MenubarPrimitive.Sub>): import('react/jsx-runtime').JSX.Element;
|
|
76
|
+
declare function MenubarSubTrigger({
|
|
77
|
+
className,
|
|
78
|
+
inset,
|
|
79
|
+
children,
|
|
80
|
+
...props
|
|
81
|
+
}: React.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
82
|
+
inset?: boolean;
|
|
83
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
84
|
+
declare function MenubarSubContent({
|
|
85
|
+
className,
|
|
86
|
+
...props
|
|
87
|
+
}: React.ComponentProps<
|
|
88
|
+
typeof MenubarPrimitive.SubContent
|
|
89
|
+
>): import('react/jsx-runtime').JSX.Element;
|
|
90
|
+
export {
|
|
91
|
+
Menubar,
|
|
92
|
+
MenubarPortal,
|
|
93
|
+
MenubarMenu,
|
|
94
|
+
MenubarTrigger,
|
|
95
|
+
MenubarContent,
|
|
96
|
+
MenubarGroup,
|
|
97
|
+
MenubarSeparator,
|
|
98
|
+
MenubarLabel,
|
|
99
|
+
MenubarItem,
|
|
100
|
+
MenubarShortcut,
|
|
101
|
+
MenubarCheckboxItem,
|
|
102
|
+
MenubarRadioGroup,
|
|
103
|
+
MenubarRadioItem,
|
|
104
|
+
MenubarSub,
|
|
105
|
+
MenubarSubTrigger,
|
|
106
|
+
MenubarSubContent,
|
|
107
|
+
};
|
|
108
|
+
//# sourceMappingURL=menubar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menubar.d.ts","sourceRoot":"","sources":["../../src/shadcn/menubar.tsx"],"names":[],"mappings":"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"}
|