@jarrodmedrano/ui 0.1.0
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/README.md +108 -0
- package/dist/components/auth/providers.cjs +83 -0
- package/dist/components/auth/providers.cjs.map +1 -0
- package/dist/components/auth/providers.d.ts +19 -0
- package/dist/components/auth/providers.d.ts.map +1 -0
- package/dist/components/auth/providers.js +59 -0
- package/dist/components/auth/providers.js.map +1 -0
- package/dist/components/card/back-button.cjs +45 -0
- package/dist/components/card/back-button.cjs.map +1 -0
- package/dist/components/card/back-button.d.ts +7 -0
- package/dist/components/card/back-button.d.ts.map +1 -0
- package/dist/components/card/back-button.js +11 -0
- package/dist/components/card/back-button.js.map +1 -0
- package/dist/components/card/card-wrapper.cjs +56 -0
- package/dist/components/card/card-wrapper.cjs.map +1 -0
- package/dist/components/card/card-wrapper.d.ts +11 -0
- package/dist/components/card/card-wrapper.d.ts.map +1 -0
- package/dist/components/card/card-wrapper.js +36 -0
- package/dist/components/card/card-wrapper.js.map +1 -0
- package/dist/components/card/header.cjs +52 -0
- package/dist/components/card/header.cjs.map +1 -0
- package/dist/components/card/header.d.ts +8 -0
- package/dist/components/card/header.d.ts.map +1 -0
- package/dist/components/card/header.js +18 -0
- package/dist/components/card/header.js.map +1 -0
- package/dist/components/combobox/ComboList.cjs +78 -0
- package/dist/components/combobox/ComboList.cjs.map +1 -0
- package/dist/components/combobox/ComboList.d.ts +14 -0
- package/dist/components/combobox/ComboList.d.ts.map +1 -0
- package/dist/components/combobox/ComboList.js +61 -0
- package/dist/components/combobox/ComboList.js.map +1 -0
- package/dist/components/combobox/index.cjs +119 -0
- package/dist/components/combobox/index.cjs.map +1 -0
- package/dist/components/combobox/index.d.ts +6 -0
- package/dist/components/combobox/index.d.ts.map +1 -0
- package/dist/components/combobox/index.js +101 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/dashboard/account-select.cjs +69 -0
- package/dist/components/dashboard/account-select.cjs.map +1 -0
- package/dist/components/dashboard/account-select.d.ts +12 -0
- package/dist/components/dashboard/account-select.d.ts.map +1 -0
- package/dist/components/dashboard/account-select.js +41 -0
- package/dist/components/dashboard/account-select.js.map +1 -0
- package/dist/components/dashboard/account-switcher.cjs +72 -0
- package/dist/components/dashboard/account-switcher.cjs.map +1 -0
- package/dist/components/dashboard/account-switcher.d.ts +12 -0
- package/dist/components/dashboard/account-switcher.d.ts.map +1 -0
- package/dist/components/dashboard/account-switcher.js +44 -0
- package/dist/components/dashboard/account-switcher.js.map +1 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.cjs +100 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.d.ts +3 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.js +81 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.js.map +1 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.styles.cjs +77 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.styles.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.styles.d.ts +9 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.styles.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.styles.js +40 -0
- package/dist/components/dashboard/sidebar/CollapsibleSection.styles.js.map +1 -0
- package/dist/components/dashboard/sidebar/EntityList.cjs +121 -0
- package/dist/components/dashboard/sidebar/EntityList.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/EntityList.d.ts +3 -0
- package/dist/components/dashboard/sidebar/EntityList.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/EntityList.js +87 -0
- package/dist/components/dashboard/sidebar/EntityList.js.map +1 -0
- package/dist/components/dashboard/sidebar/EntityList.styles.cjs +95 -0
- package/dist/components/dashboard/sidebar/EntityList.styles.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/EntityList.styles.d.ts +14 -0
- package/dist/components/dashboard/sidebar/EntityList.styles.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/EntityList.styles.js +57 -0
- package/dist/components/dashboard/sidebar/EntityList.styles.js.map +1 -0
- package/dist/components/dashboard/sidebar/SectionHeader.cjs +99 -0
- package/dist/components/dashboard/sidebar/SectionHeader.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/SectionHeader.d.ts +3 -0
- package/dist/components/dashboard/sidebar/SectionHeader.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/SectionHeader.js +81 -0
- package/dist/components/dashboard/sidebar/SectionHeader.js.map +1 -0
- package/dist/components/dashboard/sidebar/SectionHeader.styles.cjs +116 -0
- package/dist/components/dashboard/sidebar/SectionHeader.styles.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/SectionHeader.styles.d.ts +18 -0
- package/dist/components/dashboard/sidebar/SectionHeader.styles.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/SectionHeader.styles.js +77 -0
- package/dist/components/dashboard/sidebar/SectionHeader.styles.js.map +1 -0
- package/dist/components/dashboard/sidebar/index.cjs +41 -0
- package/dist/components/dashboard/sidebar/index.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/index.d.ts +6 -0
- package/dist/components/dashboard/sidebar/index.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/index.js +12 -0
- package/dist/components/dashboard/sidebar/index.js.map +1 -0
- package/dist/components/dashboard/sidebar/sidebar.cjs +50 -0
- package/dist/components/dashboard/sidebar/sidebar.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/sidebar.d.ts +15 -0
- package/dist/components/dashboard/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/sidebar.js +26 -0
- package/dist/components/dashboard/sidebar/sidebar.js.map +1 -0
- package/dist/components/dashboard/sidebar/tabs.cjs +52 -0
- package/dist/components/dashboard/sidebar/tabs.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/tabs.d.ts +3 -0
- package/dist/components/dashboard/sidebar/tabs.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/tabs.js +37 -0
- package/dist/components/dashboard/sidebar/tabs.js.map +1 -0
- package/dist/components/dashboard/sidebar/types.cjs +17 -0
- package/dist/components/dashboard/sidebar/types.cjs.map +1 -0
- package/dist/components/dashboard/sidebar/types.d.ts +36 -0
- package/dist/components/dashboard/sidebar/types.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar/types.js +1 -0
- package/dist/components/dashboard/sidebar/types.js.map +1 -0
- package/dist/components/dashboard/sidebar-nav.cjs +99 -0
- package/dist/components/dashboard/sidebar-nav.cjs.map +1 -0
- package/dist/components/dashboard/sidebar-nav.d.ts +24 -0
- package/dist/components/dashboard/sidebar-nav.d.ts.map +1 -0
- package/dist/components/dashboard/sidebar-nav.js +75 -0
- package/dist/components/dashboard/sidebar-nav.js.map +1 -0
- package/dist/components/dashboard/utils/build-nav.cjs +103 -0
- package/dist/components/dashboard/utils/build-nav.cjs.map +1 -0
- package/dist/components/dashboard/utils/build-nav.d.ts +7 -0
- package/dist/components/dashboard/utils/build-nav.d.ts.map +1 -0
- package/dist/components/dashboard/utils/build-nav.js +78 -0
- package/dist/components/dashboard/utils/build-nav.js.map +1 -0
- package/dist/components/dashboard/utils.cjs +2 -0
- package/dist/components/dashboard/utils.cjs.map +1 -0
- package/dist/components/dashboard/utils.d.ts +1 -0
- package/dist/components/dashboard/utils.d.ts.map +1 -0
- package/dist/components/dashboard/utils.js +1 -0
- package/dist/components/dashboard/utils.js.map +1 -0
- package/dist/components/dashboard/with-dashboard.cjs +189 -0
- package/dist/components/dashboard/with-dashboard.cjs.map +1 -0
- package/dist/components/dashboard/with-dashboard.d.ts +6 -0
- package/dist/components/dashboard/with-dashboard.d.ts.map +1 -0
- package/dist/components/dashboard/with-dashboard.js +175 -0
- package/dist/components/dashboard/with-dashboard.js.map +1 -0
- package/dist/components/detail/DetailLayout.styles.cjs +116 -0
- package/dist/components/detail/DetailLayout.styles.cjs.map +1 -0
- package/dist/components/detail/DetailLayout.styles.d.ts +18 -0
- package/dist/components/detail/DetailLayout.styles.d.ts.map +1 -0
- package/dist/components/detail/DetailLayout.styles.js +74 -0
- package/dist/components/detail/DetailLayout.styles.js.map +1 -0
- package/dist/components/detail/index.cjs +45 -0
- package/dist/components/detail/index.cjs.map +1 -0
- package/dist/components/detail/index.d.ts +2 -0
- package/dist/components/detail/index.d.ts.map +1 -0
- package/dist/components/detail/index.js +23 -0
- package/dist/components/detail/index.js.map +1 -0
- package/dist/components/flowbite/card-images.cjs +104 -0
- package/dist/components/flowbite/card-images.cjs.map +1 -0
- package/dist/components/flowbite/card-images.d.ts +3 -0
- package/dist/components/flowbite/card-images.d.ts.map +1 -0
- package/dist/components/flowbite/card-images.js +84 -0
- package/dist/components/flowbite/card-images.js.map +1 -0
- package/dist/components/flowbite/gallery.cjs +53 -0
- package/dist/components/flowbite/gallery.cjs.map +1 -0
- package/dist/components/flowbite/gallery.d.ts +3 -0
- package/dist/components/flowbite/gallery.d.ts.map +1 -0
- package/dist/components/flowbite/gallery.js +23 -0
- package/dist/components/flowbite/gallery.js.map +1 -0
- package/dist/components/flowbite/masonry.cjs +73 -0
- package/dist/components/flowbite/masonry.cjs.map +1 -0
- package/dist/components/flowbite/masonry.d.ts +13 -0
- package/dist/components/flowbite/masonry.d.ts.map +1 -0
- package/dist/components/flowbite/masonry.js +43 -0
- package/dist/components/flowbite/masonry.js.map +1 -0
- package/dist/components/flowbite/search-hero.cjs +109 -0
- package/dist/components/flowbite/search-hero.cjs.map +1 -0
- package/dist/components/flowbite/search-hero.d.ts +6 -0
- package/dist/components/flowbite/search-hero.d.ts.map +1 -0
- package/dist/components/flowbite/search-hero.js +89 -0
- package/dist/components/flowbite/search-hero.js.map +1 -0
- package/dist/components/generic/copyright.cjs +32 -0
- package/dist/components/generic/copyright.cjs.map +1 -0
- package/dist/components/generic/copyright.d.ts +4 -0
- package/dist/components/generic/copyright.d.ts.map +1 -0
- package/dist/components/generic/copyright.js +8 -0
- package/dist/components/generic/copyright.js.map +1 -0
- package/dist/components/generic/icons.cjs +186 -0
- package/dist/components/generic/icons.cjs.map +1 -0
- package/dist/components/generic/icons.d.ts +19 -0
- package/dist/components/generic/icons.d.ts.map +1 -0
- package/dist/components/generic/icons.js +164 -0
- package/dist/components/generic/icons.js.map +1 -0
- package/dist/components/header/header.cjs +130 -0
- package/dist/components/header/header.cjs.map +1 -0
- package/dist/components/header/header.d.ts +14 -0
- package/dist/components/header/header.d.ts.map +1 -0
- package/dist/components/header/header.js +106 -0
- package/dist/components/header/header.js.map +1 -0
- package/dist/components/header/internal/main-nav.cjs +65 -0
- package/dist/components/header/internal/main-nav.cjs.map +1 -0
- package/dist/components/header/internal/main-nav.d.ts +4 -0
- package/dist/components/header/internal/main-nav.d.ts.map +1 -0
- package/dist/components/header/internal/main-nav.js +31 -0
- package/dist/components/header/internal/main-nav.js.map +1 -0
- package/dist/components/header/internal/mobile-nav.cjs +209 -0
- package/dist/components/header/internal/mobile-nav.cjs.map +1 -0
- package/dist/components/header/internal/mobile-nav.d.ts +2 -0
- package/dist/components/header/internal/mobile-nav.d.ts.map +1 -0
- package/dist/components/header/internal/mobile-nav.js +177 -0
- package/dist/components/header/internal/mobile-nav.js.map +1 -0
- package/dist/components/header/internal/mode-toggle.cjs +73 -0
- package/dist/components/header/internal/mode-toggle.cjs.map +1 -0
- package/dist/components/header/internal/mode-toggle.d.ts +8 -0
- package/dist/components/header/internal/mode-toggle.d.ts.map +1 -0
- package/dist/components/header/internal/mode-toggle.js +54 -0
- package/dist/components/header/internal/mode-toggle.js.map +1 -0
- package/dist/components/header/internal/site-header.cjs +62 -0
- package/dist/components/header/internal/site-header.cjs.map +1 -0
- package/dist/components/header/internal/site-header.d.ts +15 -0
- package/dist/components/header/internal/site-header.d.ts.map +1 -0
- package/dist/components/header/internal/site-header.js +38 -0
- package/dist/components/header/internal/site-header.js.map +1 -0
- package/dist/components/header/langbutton/langbutton.cjs +54 -0
- package/dist/components/header/langbutton/langbutton.cjs.map +1 -0
- package/dist/components/header/langbutton/langbutton.d.ts +4 -0
- package/dist/components/header/langbutton/langbutton.d.ts.map +1 -0
- package/dist/components/header/langbutton/langbutton.js +35 -0
- package/dist/components/header/langbutton/langbutton.js.map +1 -0
- package/dist/components/header/userbutton/user-dropdown.cjs +72 -0
- package/dist/components/header/userbutton/user-dropdown.cjs.map +1 -0
- package/dist/components/header/userbutton/user-dropdown.d.ts +10 -0
- package/dist/components/header/userbutton/user-dropdown.d.ts.map +1 -0
- package/dist/components/header/userbutton/user-dropdown.js +64 -0
- package/dist/components/header/userbutton/user-dropdown.js.map +1 -0
- package/dist/components/header/userbutton/userbutton.cjs +50 -0
- package/dist/components/header/userbutton/userbutton.cjs.map +1 -0
- package/dist/components/header/userbutton/userbutton.d.ts +10 -0
- package/dist/components/header/userbutton/userbutton.d.ts.map +1 -0
- package/dist/components/header/userbutton/userbutton.js +16 -0
- package/dist/components/header/userbutton/userbutton.js.map +1 -0
- package/dist/components/hooks/use-page-nav.cjs +89 -0
- package/dist/components/hooks/use-page-nav.cjs.map +1 -0
- package/dist/components/hooks/use-page-nav.d.ts +5 -0
- package/dist/components/hooks/use-page-nav.d.ts.map +1 -0
- package/dist/components/hooks/use-page-nav.js +61 -0
- package/dist/components/hooks/use-page-nav.js.map +1 -0
- package/dist/components/hooks/use-user-entities.cjs +30 -0
- package/dist/components/hooks/use-user-entities.cjs.map +1 -0
- package/dist/components/hooks/use-user-entities.d.ts +2 -0
- package/dist/components/hooks/use-user-entities.d.ts.map +1 -0
- package/dist/components/hooks/use-user-entities.js +6 -0
- package/dist/components/hooks/use-user-entities.js.map +1 -0
- package/dist/components/icons/apple.cjs +47 -0
- package/dist/components/icons/apple.cjs.map +1 -0
- package/dist/components/icons/apple.d.ts +2 -0
- package/dist/components/icons/apple.d.ts.map +1 -0
- package/dist/components/icons/apple.js +23 -0
- package/dist/components/icons/apple.js.map +1 -0
- package/dist/components/icons/facebook.cjs +49 -0
- package/dist/components/icons/facebook.cjs.map +1 -0
- package/dist/components/icons/facebook.d.ts +2 -0
- package/dist/components/icons/facebook.d.ts.map +1 -0
- package/dist/components/icons/facebook.js +25 -0
- package/dist/components/icons/facebook.js.map +1 -0
- package/dist/components/icons/github.cjs +49 -0
- package/dist/components/icons/github.cjs.map +1 -0
- package/dist/components/icons/github.d.ts +2 -0
- package/dist/components/icons/github.d.ts.map +1 -0
- package/dist/components/icons/github.js +25 -0
- package/dist/components/icons/github.js.map +1 -0
- package/dist/components/icons/google.cjs +49 -0
- package/dist/components/icons/google.cjs.map +1 -0
- package/dist/components/icons/google.d.ts +2 -0
- package/dist/components/icons/google.d.ts.map +1 -0
- package/dist/components/icons/google.js +25 -0
- package/dist/components/icons/google.js.map +1 -0
- package/dist/components/icons/logo.cjs +49 -0
- package/dist/components/icons/logo.cjs.map +1 -0
- package/dist/components/icons/logo.d.ts +4 -0
- package/dist/components/icons/logo.d.ts.map +1 -0
- package/dist/components/icons/logo.js +25 -0
- package/dist/components/icons/logo.js.map +1 -0
- package/dist/components/lightbox/GallerySection.cjs +53 -0
- package/dist/components/lightbox/GallerySection.cjs.map +1 -0
- package/dist/components/lightbox/GallerySection.d.ts +12 -0
- package/dist/components/lightbox/GallerySection.d.ts.map +1 -0
- package/dist/components/lightbox/GallerySection.js +29 -0
- package/dist/components/lightbox/GallerySection.js.map +1 -0
- package/dist/components/lightbox/ImageLightbox.cjs +244 -0
- package/dist/components/lightbox/ImageLightbox.cjs.map +1 -0
- package/dist/components/lightbox/ImageLightbox.d.ts +3 -0
- package/dist/components/lightbox/ImageLightbox.d.ts.map +1 -0
- package/dist/components/lightbox/ImageLightbox.js +220 -0
- package/dist/components/lightbox/ImageLightbox.js.map +1 -0
- package/dist/components/lightbox/ImageLightbox.types.cjs +17 -0
- package/dist/components/lightbox/ImageLightbox.types.cjs.map +1 -0
- package/dist/components/lightbox/ImageLightbox.types.d.ts +28 -0
- package/dist/components/lightbox/ImageLightbox.types.d.ts.map +1 -0
- package/dist/components/lightbox/ImageLightbox.types.js +1 -0
- package/dist/components/lightbox/ImageLightbox.types.js.map +1 -0
- package/dist/components/lightbox/index.cjs +38 -0
- package/dist/components/lightbox/index.cjs.map +1 -0
- package/dist/components/lightbox/index.d.ts +8 -0
- package/dist/components/lightbox/index.d.ts.map +1 -0
- package/dist/components/lightbox/index.js +11 -0
- package/dist/components/lightbox/index.js.map +1 -0
- package/dist/components/lightbox/useEntityLightbox.cjs +57 -0
- package/dist/components/lightbox/useEntityLightbox.cjs.map +1 -0
- package/dist/components/lightbox/useEntityLightbox.d.ts +25 -0
- package/dist/components/lightbox/useEntityLightbox.d.ts.map +1 -0
- package/dist/components/lightbox/useEntityLightbox.js +33 -0
- package/dist/components/lightbox/useEntityLightbox.js.map +1 -0
- package/dist/components/lightbox/useLightbox.cjs +59 -0
- package/dist/components/lightbox/useLightbox.cjs.map +1 -0
- package/dist/components/lightbox/useLightbox.d.ts +9 -0
- package/dist/components/lightbox/useLightbox.d.ts.map +1 -0
- package/dist/components/lightbox/useLightbox.js +35 -0
- package/dist/components/lightbox/useLightbox.js.map +1 -0
- package/dist/components/search/search.cjs +71 -0
- package/dist/components/search/search.cjs.map +1 -0
- package/dist/components/search/search.d.ts +2 -0
- package/dist/components/search/search.d.ts.map +1 -0
- package/dist/components/search/search.js +63 -0
- package/dist/components/search/search.js.map +1 -0
- package/dist/components/tailwind/contact.cjs +380 -0
- package/dist/components/tailwind/contact.cjs.map +1 -0
- package/dist/components/tailwind/contact.d.ts +2 -0
- package/dist/components/tailwind/contact.d.ts.map +1 -0
- package/dist/components/tailwind/contact.js +356 -0
- package/dist/components/tailwind/contact.js.map +1 -0
- package/dist/components/tailwind/content-page.cjs +58 -0
- package/dist/components/tailwind/content-page.cjs.map +1 -0
- package/dist/components/tailwind/content-page.d.ts +18 -0
- package/dist/components/tailwind/content-page.d.ts.map +1 -0
- package/dist/components/tailwind/content-page.js +32 -0
- package/dist/components/tailwind/content-page.js.map +1 -0
- package/dist/components/tailwind/feature.cjs +95 -0
- package/dist/components/tailwind/feature.cjs.map +1 -0
- package/dist/components/tailwind/feature.d.ts +2 -0
- package/dist/components/tailwind/feature.d.ts.map +1 -0
- package/dist/components/tailwind/feature.js +75 -0
- package/dist/components/tailwind/feature.js.map +1 -0
- package/dist/components/tailwind/featurelist.cjs +99 -0
- package/dist/components/tailwind/featurelist.cjs.map +1 -0
- package/dist/components/tailwind/featurelist.d.ts +2 -0
- package/dist/components/tailwind/featurelist.d.ts.map +1 -0
- package/dist/components/tailwind/featurelist.js +65 -0
- package/dist/components/tailwind/featurelist.js.map +1 -0
- package/dist/components/tailwind/footer.cjs +104 -0
- package/dist/components/tailwind/footer.cjs.map +1 -0
- package/dist/components/tailwind/footer.d.ts +2 -0
- package/dist/components/tailwind/footer.d.ts.map +1 -0
- package/dist/components/tailwind/footer.js +80 -0
- package/dist/components/tailwind/footer.js.map +1 -0
- package/dist/components/tailwind/hero.cjs +130 -0
- package/dist/components/tailwind/hero.cjs.map +1 -0
- package/dist/components/tailwind/hero.d.ts +22 -0
- package/dist/components/tailwind/hero.d.ts.map +1 -0
- package/dist/components/tailwind/hero.js +106 -0
- package/dist/components/tailwind/hero.js.map +1 -0
- package/dist/components/tailwind/pricing.cjs +214 -0
- package/dist/components/tailwind/pricing.cjs.map +1 -0
- package/dist/components/tailwind/pricing.d.ts +6 -0
- package/dist/components/tailwind/pricing.d.ts.map +1 -0
- package/dist/components/tailwind/pricing.js +190 -0
- package/dist/components/tailwind/pricing.js.map +1 -0
- package/dist/components/tailwind/privacy.cjs +138 -0
- package/dist/components/tailwind/privacy.cjs.map +1 -0
- package/dist/components/tailwind/privacy.d.ts +2 -0
- package/dist/components/tailwind/privacy.d.ts.map +1 -0
- package/dist/components/tailwind/privacy.js +114 -0
- package/dist/components/tailwind/privacy.js.map +1 -0
- package/dist/components/tailwind/providerIcons.cjs +48 -0
- package/dist/components/tailwind/providerIcons.cjs.map +1 -0
- package/dist/components/tailwind/providerIcons.d.ts +4 -0
- package/dist/components/tailwind/providerIcons.d.ts.map +1 -0
- package/dist/components/tailwind/providerIcons.js +24 -0
- package/dist/components/tailwind/providerIcons.js.map +1 -0
- package/dist/components/ui/avatar.cjs +120 -0
- package/dist/components/ui/avatar.cjs.map +1 -0
- package/dist/components/ui/avatar.d.ts +7 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/avatar.js +86 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/breadcrumb.cjs +63 -0
- package/dist/components/ui/breadcrumb.cjs.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +10 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/breadcrumb.js +29 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.cjs +105 -0
- package/dist/components/ui/button.cjs.map +1 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +82 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/card.cjs +129 -0
- package/dist/components/ui/card.cjs.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +102 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/checkbox.cjs +98 -0
- package/dist/components/ui/checkbox.cjs.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +66 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/command.cjs +200 -0
- package/dist/components/ui/command.cjs.map +1 -0
- package/dist/components/ui/command.d.ts +83 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/command.js +160 -0
- package/dist/components/ui/command.js.map +1 -0
- package/dist/components/ui/dialog.cjs +204 -0
- package/dist/components/ui/dialog.cjs.map +1 -0
- package/dist/components/ui/dialog.d.ts +14 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +163 -0
- package/dist/components/ui/dialog.js.map +1 -0
- package/dist/components/ui/drawer.cjs +191 -0
- package/dist/components/ui/drawer.cjs.map +1 -0
- package/dist/components/ui/drawer.d.ts +14 -0
- package/dist/components/ui/drawer.d.ts.map +1 -0
- package/dist/components/ui/drawer.js +160 -0
- package/dist/components/ui/drawer.js.map +1 -0
- package/dist/components/ui/dropdown-menu.cjs +323 -0
- package/dist/components/ui/dropdown-menu.cjs.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +277 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/input.cjs +72 -0
- package/dist/components/ui/input.cjs.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +50 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.cjs +85 -0
- package/dist/components/ui/label.cjs.map +1 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +53 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/menubar.cjs +351 -0
- package/dist/components/ui/menubar.cjs.map +1 -0
- package/dist/components/ui/menubar.d.ts +27 -0
- package/dist/components/ui/menubar.d.ts.map +1 -0
- package/dist/components/ui/menubar.js +304 -0
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/navigation-menu.cjs +257 -0
- package/dist/components/ui/navigation-menu.cjs.map +1 -0
- package/dist/components/ui/navigation-menu.d.ts +15 -0
- package/dist/components/ui/navigation-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation-menu.js +217 -0
- package/dist/components/ui/navigation-menu.js.map +1 -0
- package/dist/components/ui/popover.cjs +109 -0
- package/dist/components/ui/popover.cjs.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +74 -0
- package/dist/components/ui/popover.js.map +1 -0
- package/dist/components/ui/resizable.cjs +124 -0
- package/dist/components/ui/resizable.cjs.map +1 -0
- package/dist/components/ui/resizable.d.ts +26 -0
- package/dist/components/ui/resizable.d.ts.map +1 -0
- package/dist/components/ui/resizable.js +90 -0
- package/dist/components/ui/resizable.js.map +1 -0
- package/dist/components/ui/scroll-area.cjs +132 -0
- package/dist/components/ui/scroll-area.cjs.map +1 -0
- package/dist/components/ui/scroll-area.d.ts +6 -0
- package/dist/components/ui/scroll-area.d.ts.map +1 -0
- package/dist/components/ui/scroll-area.js +99 -0
- package/dist/components/ui/scroll-area.js.map +1 -0
- package/dist/components/ui/select.cjs +254 -0
- package/dist/components/ui/select.cjs.map +1 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +213 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/sheet.cjs +203 -0
- package/dist/components/ui/sheet.cjs.map +1 -0
- package/dist/components/ui/sheet.d.ts +14 -0
- package/dist/components/ui/sheet.d.ts.map +1 -0
- package/dist/components/ui/sheet.js +164 -0
- package/dist/components/ui/sheet.js.map +1 -0
- package/dist/components/ui/skeleton.cjs +66 -0
- package/dist/components/ui/skeleton.cjs.map +1 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +44 -0
- package/dist/components/ui/skeleton.js.map +1 -0
- package/dist/components/ui/spinner.cjs +128 -0
- package/dist/components/ui/spinner.cjs.map +1 -0
- package/dist/components/ui/spinner.d.ts +12 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +105 -0
- package/dist/components/ui/spinner.js.map +1 -0
- package/dist/components/ui/switch.cjs +98 -0
- package/dist/components/ui/switch.cjs.map +1 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +66 -0
- package/dist/components/ui/switch.js.map +1 -0
- package/dist/components/ui/tabs.cjs +136 -0
- package/dist/components/ui/tabs.cjs.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +101 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.cjs +69 -0
- package/dist/components/ui/textarea.cjs.map +1 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +47 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/toast.cjs +169 -0
- package/dist/components/ui/toast.cjs.map +1 -0
- package/dist/components/ui/toast.d.ts +15 -0
- package/dist/components/ui/toast.d.ts.map +1 -0
- package/dist/components/ui/toast.js +131 -0
- package/dist/components/ui/toast.js.map +1 -0
- package/dist/components/ui/toaster.cjs +78 -0
- package/dist/components/ui/toaster.cjs.map +1 -0
- package/dist/components/ui/toaster.d.ts +2 -0
- package/dist/components/ui/toaster.d.ts.map +1 -0
- package/dist/components/ui/toaster.js +63 -0
- package/dist/components/ui/toaster.js.map +1 -0
- package/dist/components/ui/tooltip.cjs +126 -0
- package/dist/components/ui/tooltip.cjs.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +91 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/components/ui/use-toast.cjs +187 -0
- package/dist/components/ui/use-toast.cjs.map +1 -0
- package/dist/components/ui/use-toast.d.ts +45 -0
- package/dist/components/ui/use-toast.d.ts.map +1 -0
- package/dist/components/ui/use-toast.js +153 -0
- package/dist/components/ui/use-toast.js.map +1 -0
- package/dist/components/upgrade-prompt/UpgradePrompt.cjs +80 -0
- package/dist/components/upgrade-prompt/UpgradePrompt.cjs.map +1 -0
- package/dist/components/upgrade-prompt/UpgradePrompt.d.ts +12 -0
- package/dist/components/upgrade-prompt/UpgradePrompt.d.ts.map +1 -0
- package/dist/components/upgrade-prompt/UpgradePrompt.js +46 -0
- package/dist/components/upgrade-prompt/UpgradePrompt.js.map +1 -0
- package/dist/components/upgrade-prompt/index.cjs +29 -0
- package/dist/components/upgrade-prompt/index.cjs.map +1 -0
- package/dist/components/upgrade-prompt/index.d.ts +3 -0
- package/dist/components/upgrade-prompt/index.d.ts.map +1 -0
- package/dist/components/upgrade-prompt/index.js +5 -0
- package/dist/components/upgrade-prompt/index.js.map +1 -0
- package/dist/config/docs.d.ts +8 -0
- package/dist/config/docs.d.ts.map +1 -0
- package/dist/config/site.d.ts +12 -0
- package/dist/config/site.d.ts.map +1 -0
- package/dist/hooks/useRecaptcha.d.ts +16 -0
- package/dist/hooks/useRecaptcha.d.ts.map +1 -0
- package/dist/lib/utils.cjs +48 -0
- package/dist/lib/utils.cjs.map +1 -0
- package/dist/lib/utils.d.cjs +17 -0
- package/dist/lib/utils.d.cjs.map +1 -0
- package/dist/lib/utils.d.js +1 -0
- package/dist/lib/utils.d.js.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +22 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/styles.css +178 -0
- package/dist/types/nav.cjs +17 -0
- package/dist/types/nav.cjs.map +1 -0
- package/dist/types/nav.d.ts +17 -0
- package/dist/types/nav.d.ts.map +1 -0
- package/dist/types/nav.js +1 -0
- package/dist/types/nav.js.map +1 -0
- package/dist/types/sitemap.cjs +17 -0
- package/dist/types/sitemap.cjs.map +1 -0
- package/dist/types/sitemap.d.ts +19 -0
- package/dist/types/sitemap.d.ts.map +1 -0
- package/dist/types/sitemap.js +1 -0
- package/dist/types/sitemap.js.map +1 -0
- package/dist/types/unist.cjs +17 -0
- package/dist/types/unist.cjs.map +1 -0
- package/dist/types/unist.js +1 -0
- package/dist/types/unist.js.map +1 -0
- package/package.json +91 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __objRest = (source, exclude) => {
|
|
24
|
+
var target = {};
|
|
25
|
+
for (var prop in source)
|
|
26
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
+
target[prop] = source[prop];
|
|
28
|
+
if (source != null && __getOwnPropSymbols)
|
|
29
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
+
target[prop] = source[prop];
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
};
|
|
35
|
+
var __export = (target, all) => {
|
|
36
|
+
for (var name in all)
|
|
37
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
+
};
|
|
39
|
+
var __copyProps = (to, from, except, desc) => {
|
|
40
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
+
for (let key of __getOwnPropNames(from))
|
|
42
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
+
}
|
|
45
|
+
return to;
|
|
46
|
+
};
|
|
47
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
48
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
49
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
50
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
51
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
52
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
53
|
+
mod
|
|
54
|
+
));
|
|
55
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
56
|
+
var avatar_exports = {};
|
|
57
|
+
__export(avatar_exports, {
|
|
58
|
+
Avatar: () => Avatar,
|
|
59
|
+
AvatarFallback: () => AvatarFallback,
|
|
60
|
+
AvatarImage: () => AvatarImage
|
|
61
|
+
});
|
|
62
|
+
module.exports = __toCommonJS(avatar_exports);
|
|
63
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
64
|
+
var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"), 1);
|
|
65
|
+
var import_utils = require("../../lib/utils");
|
|
66
|
+
function Avatar(_a) {
|
|
67
|
+
var _b = _a, {
|
|
68
|
+
className
|
|
69
|
+
} = _b, props = __objRest(_b, [
|
|
70
|
+
"className"
|
|
71
|
+
]);
|
|
72
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
73
|
+
AvatarPrimitive.Root,
|
|
74
|
+
__spreadValues({
|
|
75
|
+
"data-slot": "avatar",
|
|
76
|
+
className: (0, import_utils.cn)(
|
|
77
|
+
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
|
|
78
|
+
className
|
|
79
|
+
)
|
|
80
|
+
}, props)
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
function AvatarImage(_c) {
|
|
84
|
+
var _d = _c, {
|
|
85
|
+
className
|
|
86
|
+
} = _d, props = __objRest(_d, [
|
|
87
|
+
"className"
|
|
88
|
+
]);
|
|
89
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
90
|
+
AvatarPrimitive.Image,
|
|
91
|
+
__spreadValues({
|
|
92
|
+
"data-slot": "avatar-image",
|
|
93
|
+
className: (0, import_utils.cn)("aspect-square size-full", className)
|
|
94
|
+
}, props)
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
function AvatarFallback(_e) {
|
|
98
|
+
var _f = _e, {
|
|
99
|
+
className
|
|
100
|
+
} = _f, props = __objRest(_f, [
|
|
101
|
+
"className"
|
|
102
|
+
]);
|
|
103
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
104
|
+
AvatarPrimitive.Fallback,
|
|
105
|
+
__spreadValues({
|
|
106
|
+
"data-slot": "avatar-fallback",
|
|
107
|
+
className: (0, import_utils.cn)(
|
|
108
|
+
"bg-muted flex h-[40px] w-[40px] items-center justify-center rounded-full",
|
|
109
|
+
className
|
|
110
|
+
)
|
|
111
|
+
}, props)
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
115
|
+
0 && (module.exports = {
|
|
116
|
+
Avatar,
|
|
117
|
+
AvatarFallback,
|
|
118
|
+
AvatarImage
|
|
119
|
+
});
|
|
120
|
+
//# sourceMappingURL=avatar.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/avatar.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\n\nimport { cn } from '../../lib/utils'\n\nfunction Avatar({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return (\n <AvatarPrimitive.Root\n data-slot=\"avatar\"\n className={cn(\n 'relative flex size-8 shrink-0 overflow-hidden rounded-full',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarImage({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return (\n <AvatarPrimitive.Image\n data-slot=\"avatar-image\"\n className={cn('aspect-square size-full', className)}\n {...props}\n />\n )\n}\n\nfunction AvatarFallback({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn(\n 'bg-muted flex h-[40px] w-[40px] items-center justify-center rounded-full',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport { Avatar, AvatarImage, AvatarFallback }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYI;AATJ,sBAAiC;AAEjC,mBAAmB;AAEnB,SAAS,OAAO,IAGsC;AAHtC,eACd;AAAA;AAAA,EARF,IAOgB,IAEX,kBAFW,IAEX;AAAA,IADH;AAAA;AAGA,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,eAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAEJ;AAEA,SAAS,YAAY,IAGkC;AAHlC,eACnB;AAAA;AAAA,EAxBF,IAuBqB,IAEhB,kBAFgB,IAEhB;AAAA,IADH;AAAA;AAGA,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,eAAW,iBAAG,2BAA2B,SAAS;AAAA,OAC9C;AAAA,EACN;AAEJ;AAEA,SAAS,eAAe,IAGkC;AAHlC,eACtB;AAAA;AAAA,EArCF,IAoCwB,IAEnB,kBAFmB,IAEnB;AAAA,IADH;AAAA;AAGA,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,eAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { Avatar, AvatarImage, AvatarFallback };
|
|
7
|
+
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../components/ui/avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAWnD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,2CAQpD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,2CAWvD;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
6
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
+
var __spreadValues = (a, b) => {
|
|
8
|
+
for (var prop in b || (b = {}))
|
|
9
|
+
if (__hasOwnProp.call(b, prop))
|
|
10
|
+
__defNormalProp(a, prop, b[prop]);
|
|
11
|
+
if (__getOwnPropSymbols)
|
|
12
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
13
|
+
if (__propIsEnum.call(b, prop))
|
|
14
|
+
__defNormalProp(a, prop, b[prop]);
|
|
15
|
+
}
|
|
16
|
+
return a;
|
|
17
|
+
};
|
|
18
|
+
var __objRest = (source, exclude) => {
|
|
19
|
+
var target = {};
|
|
20
|
+
for (var prop in source)
|
|
21
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
22
|
+
target[prop] = source[prop];
|
|
23
|
+
if (source != null && __getOwnPropSymbols)
|
|
24
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
25
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
26
|
+
target[prop] = source[prop];
|
|
27
|
+
}
|
|
28
|
+
return target;
|
|
29
|
+
};
|
|
30
|
+
import { jsx } from "react/jsx-runtime";
|
|
31
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
32
|
+
import { cn } from "../../lib/utils";
|
|
33
|
+
function Avatar(_a) {
|
|
34
|
+
var _b = _a, {
|
|
35
|
+
className
|
|
36
|
+
} = _b, props = __objRest(_b, [
|
|
37
|
+
"className"
|
|
38
|
+
]);
|
|
39
|
+
return /* @__PURE__ */ jsx(
|
|
40
|
+
AvatarPrimitive.Root,
|
|
41
|
+
__spreadValues({
|
|
42
|
+
"data-slot": "avatar",
|
|
43
|
+
className: cn(
|
|
44
|
+
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
|
|
45
|
+
className
|
|
46
|
+
)
|
|
47
|
+
}, props)
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
function AvatarImage(_c) {
|
|
51
|
+
var _d = _c, {
|
|
52
|
+
className
|
|
53
|
+
} = _d, props = __objRest(_d, [
|
|
54
|
+
"className"
|
|
55
|
+
]);
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
AvatarPrimitive.Image,
|
|
58
|
+
__spreadValues({
|
|
59
|
+
"data-slot": "avatar-image",
|
|
60
|
+
className: cn("aspect-square size-full", className)
|
|
61
|
+
}, props)
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
function AvatarFallback(_e) {
|
|
65
|
+
var _f = _e, {
|
|
66
|
+
className
|
|
67
|
+
} = _f, props = __objRest(_f, [
|
|
68
|
+
"className"
|
|
69
|
+
]);
|
|
70
|
+
return /* @__PURE__ */ jsx(
|
|
71
|
+
AvatarPrimitive.Fallback,
|
|
72
|
+
__spreadValues({
|
|
73
|
+
"data-slot": "avatar-fallback",
|
|
74
|
+
className: cn(
|
|
75
|
+
"bg-muted flex h-[40px] w-[40px] items-center justify-center rounded-full",
|
|
76
|
+
className
|
|
77
|
+
)
|
|
78
|
+
}, props)
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
Avatar,
|
|
83
|
+
AvatarFallback,
|
|
84
|
+
AvatarImage
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/avatar.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\n\nimport { cn } from '../../lib/utils'\n\nfunction Avatar({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return (\n <AvatarPrimitive.Root\n data-slot=\"avatar\"\n className={cn(\n 'relative flex size-8 shrink-0 overflow-hidden rounded-full',\n className,\n )}\n {...props}\n />\n )\n}\n\nfunction AvatarImage({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return (\n <AvatarPrimitive.Image\n data-slot=\"avatar-image\"\n className={cn('aspect-square size-full', className)}\n {...props}\n />\n )\n}\n\nfunction AvatarFallback({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn(\n 'bg-muted flex h-[40px] w-[40px] items-center justify-center rounded-full',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport { Avatar, AvatarImage, AvatarFallback }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYI;AATJ,YAAY,qBAAqB;AAEjC,SAAS,UAAU;AAEnB,SAAS,OAAO,IAGsC;AAHtC,eACd;AAAA;AAAA,EARF,IAOgB,IAEX,kBAFW,IAEX;AAAA,IADH;AAAA;AAGA,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAEJ;AAEA,SAAS,YAAY,IAGkC;AAHlC,eACnB;AAAA;AAAA,EAxBF,IAuBqB,IAEhB,kBAFgB,IAEhB;AAAA,IADH;AAAA;AAGA,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,2BAA2B,SAAS;AAAA,OAC9C;AAAA,EACN;AAEJ;AAEA,SAAS,eAAe,IAGkC;AAHlC,eACtB;AAAA;AAAA,EArCF,IAoCwB,IAEnB,kBAFmB,IAEnB;AAAA,IADH;AAAA;AAGA,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC,aAAU;AAAA,MACV,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
var breadcrumb_exports = {};
|
|
31
|
+
__export(breadcrumb_exports, {
|
|
32
|
+
Breadcrumb: () => Breadcrumb
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(breadcrumb_exports);
|
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
+
var React = __toESM(require("react"), 1);
|
|
37
|
+
var import_lucide_react = require("lucide-react");
|
|
38
|
+
var import_utils = require("../../lib/utils");
|
|
39
|
+
function Breadcrumb({ items, className }) {
|
|
40
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { "aria-label": "breadcrumb", className: (0, import_utils.cn)("flex items-center", className), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ol", { className: "text-muted-foreground flex flex-wrap items-center gap-1 text-sm leading-none", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(React.Fragment, { children: [
|
|
41
|
+
index > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { "aria-hidden": "true", className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronRight, { className: "h-4 w-4" }) }),
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
"a",
|
|
44
|
+
{
|
|
45
|
+
href: item.href,
|
|
46
|
+
className: "hover:text-foreground inline-block max-w-[200px] truncate transition-colors",
|
|
47
|
+
children: item.label
|
|
48
|
+
}
|
|
49
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50
|
+
"span",
|
|
51
|
+
{
|
|
52
|
+
"aria-current": "page",
|
|
53
|
+
className: "text-foreground inline-block max-w-[200px] truncate font-medium",
|
|
54
|
+
children: item.label
|
|
55
|
+
}
|
|
56
|
+
) })
|
|
57
|
+
] }, index)) }) });
|
|
58
|
+
}
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
Breadcrumb
|
|
62
|
+
});
|
|
63
|
+
//# sourceMappingURL=breadcrumb.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/breadcrumb.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport { ChevronRight } from 'lucide-react'\nimport { cn } from '../../lib/utils'\n\nexport interface BreadcrumbItem {\n label: string\n href?: string\n}\n\nexport interface BreadcrumbProps {\n items: BreadcrumbItem[]\n className?: string\n}\n\nexport function Breadcrumb({ items, className }: BreadcrumbProps) {\n return (\n <nav aria-label=\"breadcrumb\" className={cn('flex items-center', className)}>\n <ol className=\"text-muted-foreground flex flex-wrap items-center gap-1 text-sm leading-none\">\n {items.map((item, index) => (\n <React.Fragment key={index}>\n {index > 0 && (\n <li aria-hidden=\"true\" className=\"flex items-center\">\n <ChevronRight className=\"h-4 w-4\" />\n </li>\n )}\n <li>\n {item.href ? (\n <a\n href={item.href}\n className=\"hover:text-foreground inline-block max-w-[200px] truncate transition-colors\"\n >\n {item.label}\n </a>\n ) : (\n <span\n aria-current=\"page\"\n className=\"text-foreground inline-block max-w-[200px] truncate font-medium\"\n >\n {item.label}\n </span>\n )}\n </li>\n </React.Fragment>\n ))}\n </ol>\n </nav>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBU;AAnBV,YAAuB;AACvB,0BAA6B;AAC7B,mBAAmB;AAYZ,SAAS,WAAW,EAAE,OAAO,UAAU,GAAoB;AAChE,SACE,4CAAC,SAAI,cAAW,cAAa,eAAW,iBAAG,qBAAqB,SAAS,GACvE,sDAAC,QAAG,WAAU,gFACX,gBAAM,IAAI,CAAC,MAAM,UAChB,6CAAC,MAAM,UAAN,EACE;AAAA,YAAQ,KACP,4CAAC,QAAG,eAAY,QAAO,WAAU,qBAC/B,sDAAC,oCAAa,WAAU,WAAU,GACpC;AAAA,IAEF,4CAAC,QACE,eAAK,OACJ;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,KAAK;AAAA,QACX,WAAU;AAAA,QAET,eAAK;AAAA;AAAA,IACR,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,gBAAa;AAAA,QACb,WAAU;AAAA,QAET,eAAK;AAAA;AAAA,IACR,GAEJ;AAAA,OAtBmB,KAuBrB,CACD,GACH,GACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface BreadcrumbItem {
|
|
2
|
+
label: string;
|
|
3
|
+
href?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface BreadcrumbProps {
|
|
6
|
+
items: BreadcrumbItem[];
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function Breadcrumb({ items, className }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../components/ui/breadcrumb.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,eAAe,2CAiC/D"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { ChevronRight } from "lucide-react";
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
|
+
function Breadcrumb({ items, className }) {
|
|
7
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", className: cn("flex items-center", className), children: /* @__PURE__ */ jsx("ol", { className: "text-muted-foreground flex flex-wrap items-center gap-1 text-sm leading-none", children: items.map((item, index) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
8
|
+
index > 0 && /* @__PURE__ */ jsx("li", { "aria-hidden": "true", className: "flex items-center", children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" }) }),
|
|
9
|
+
/* @__PURE__ */ jsx("li", { children: item.href ? /* @__PURE__ */ jsx(
|
|
10
|
+
"a",
|
|
11
|
+
{
|
|
12
|
+
href: item.href,
|
|
13
|
+
className: "hover:text-foreground inline-block max-w-[200px] truncate transition-colors",
|
|
14
|
+
children: item.label
|
|
15
|
+
}
|
|
16
|
+
) : /* @__PURE__ */ jsx(
|
|
17
|
+
"span",
|
|
18
|
+
{
|
|
19
|
+
"aria-current": "page",
|
|
20
|
+
className: "text-foreground inline-block max-w-[200px] truncate font-medium",
|
|
21
|
+
children: item.label
|
|
22
|
+
}
|
|
23
|
+
) })
|
|
24
|
+
] }, index)) }) });
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
Breadcrumb
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/breadcrumb.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport { ChevronRight } from 'lucide-react'\nimport { cn } from '../../lib/utils'\n\nexport interface BreadcrumbItem {\n label: string\n href?: string\n}\n\nexport interface BreadcrumbProps {\n items: BreadcrumbItem[]\n className?: string\n}\n\nexport function Breadcrumb({ items, className }: BreadcrumbProps) {\n return (\n <nav aria-label=\"breadcrumb\" className={cn('flex items-center', className)}>\n <ol className=\"text-muted-foreground flex flex-wrap items-center gap-1 text-sm leading-none\">\n {items.map((item, index) => (\n <React.Fragment key={index}>\n {index > 0 && (\n <li aria-hidden=\"true\" className=\"flex items-center\">\n <ChevronRight className=\"h-4 w-4\" />\n </li>\n )}\n <li>\n {item.href ? (\n <a\n href={item.href}\n className=\"hover:text-foreground inline-block max-w-[200px] truncate transition-colors\"\n >\n {item.label}\n </a>\n ) : (\n <span\n aria-current=\"page\"\n className=\"text-foreground inline-block max-w-[200px] truncate font-medium\"\n >\n {item.label}\n </span>\n )}\n </li>\n </React.Fragment>\n ))}\n </ol>\n </nav>\n )\n}\n"],"mappings":";AAqBU,SAGM,KAHN;AAnBV,YAAY,WAAW;AACvB,SAAS,oBAAoB;AAC7B,SAAS,UAAU;AAYZ,SAAS,WAAW,EAAE,OAAO,UAAU,GAAoB;AAChE,SACE,oBAAC,SAAI,cAAW,cAAa,WAAW,GAAG,qBAAqB,SAAS,GACvE,8BAAC,QAAG,WAAU,gFACX,gBAAM,IAAI,CAAC,MAAM,UAChB,qBAAC,MAAM,UAAN,EACE;AAAA,YAAQ,KACP,oBAAC,QAAG,eAAY,QAAO,WAAU,qBAC/B,8BAAC,gBAAa,WAAU,WAAU,GACpC;AAAA,IAEF,oBAAC,QACE,eAAK,OACJ;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,KAAK;AAAA,QACX,WAAU;AAAA,QAET,eAAK;AAAA;AAAA,IACR,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,gBAAa;AAAA,QACb,WAAU;AAAA,QAET,eAAK;AAAA;AAAA,IACR,GAEJ;AAAA,OAtBmB,KAuBrB,CACD,GACH,GACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __spreadValues = (a, b) => {
|
|
10
|
+
for (var prop in b || (b = {}))
|
|
11
|
+
if (__hasOwnProp.call(b, prop))
|
|
12
|
+
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
if (__getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
+
if (__propIsEnum.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
}
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
20
|
+
var __objRest = (source, exclude) => {
|
|
21
|
+
var target = {};
|
|
22
|
+
for (var prop in source)
|
|
23
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
+
target[prop] = source[prop];
|
|
25
|
+
if (source != null && __getOwnPropSymbols)
|
|
26
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
+
target[prop] = source[prop];
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
};
|
|
32
|
+
var __export = (target, all) => {
|
|
33
|
+
for (var name in all)
|
|
34
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
35
|
+
};
|
|
36
|
+
var __copyProps = (to, from, except, desc) => {
|
|
37
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
38
|
+
for (let key of __getOwnPropNames(from))
|
|
39
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
40
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
41
|
+
}
|
|
42
|
+
return to;
|
|
43
|
+
};
|
|
44
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
45
|
+
var button_exports = {};
|
|
46
|
+
__export(button_exports, {
|
|
47
|
+
Button: () => Button,
|
|
48
|
+
buttonVariants: () => buttonVariants
|
|
49
|
+
});
|
|
50
|
+
module.exports = __toCommonJS(button_exports);
|
|
51
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
52
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
53
|
+
var import_utils = require("../../lib/utils");
|
|
54
|
+
const buttonVariants = (0, import_class_variance_authority.cva)(
|
|
55
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
56
|
+
{
|
|
57
|
+
variants: {
|
|
58
|
+
variant: {
|
|
59
|
+
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
60
|
+
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
|
|
61
|
+
outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",
|
|
62
|
+
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
63
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
64
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
65
|
+
},
|
|
66
|
+
size: {
|
|
67
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
68
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
69
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
70
|
+
icon: "size-9"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
defaultVariants: {
|
|
74
|
+
variant: "default",
|
|
75
|
+
size: "default"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
function Button(_a) {
|
|
80
|
+
var _b = _a, {
|
|
81
|
+
className,
|
|
82
|
+
variant,
|
|
83
|
+
size,
|
|
84
|
+
asChild = false
|
|
85
|
+
} = _b, props = __objRest(_b, [
|
|
86
|
+
"className",
|
|
87
|
+
"variant",
|
|
88
|
+
"size",
|
|
89
|
+
"asChild"
|
|
90
|
+
]);
|
|
91
|
+
const Comp = "button";
|
|
92
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
93
|
+
Comp,
|
|
94
|
+
__spreadValues({
|
|
95
|
+
"data-slot": "button",
|
|
96
|
+
className: (0, import_utils.cn)(buttonVariants({ variant, size, className }))
|
|
97
|
+
}, props)
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
101
|
+
0 && (module.exports = {
|
|
102
|
+
Button,
|
|
103
|
+
buttonVariants
|
|
104
|
+
});
|
|
105
|
+
//# sourceMappingURL=button.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/button.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cva, type VariantProps } from 'class-variance-authority'\n\nimport { cn } from '../../lib/utils'\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",\n {\n variants: {\n variant: {\n default:\n 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90',\n destructive:\n 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40',\n outline:\n 'border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-9 px-4 py-2 has-[>svg]:px-3',\n sm: 'h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5',\n lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nfunction Button({\n className,\n variant,\n size,\n asChild = false,\n ...props\n}: React.ComponentProps<'button'> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean\n }) {\n const Comp = 'button'\n\n return (\n <Comp\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n )\n}\n\nexport { Button, buttonVariants }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgDI;AA/CJ,sCAAuC;AAEvC,mBAAmB;AAEnB,MAAM,qBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEA,SAAS,OAAO,IASX;AATW,eACd;AAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA,UAAU;AAAA,EAvCZ,IAmCgB,IAKX,kBALW,IAKX;AAAA,IAJH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAMA,QAAM,OAAO;AAEb,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAU;AAAA,MACV,eAAW,iBAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,OACtD;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { Button, buttonVariants };
|
|
11
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,cAAc;;;mFA4BnB,CAAA;AAED,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,2CAUF;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
var __objRest = (source, exclude) => {
|
|
18
|
+
var target = {};
|
|
19
|
+
for (var prop in source)
|
|
20
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
21
|
+
target[prop] = source[prop];
|
|
22
|
+
if (source != null && __getOwnPropSymbols)
|
|
23
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
24
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
25
|
+
target[prop] = source[prop];
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
};
|
|
29
|
+
import { jsx } from "react/jsx-runtime";
|
|
30
|
+
import { cva } from "class-variance-authority";
|
|
31
|
+
import { cn } from "../../lib/utils";
|
|
32
|
+
const buttonVariants = cva(
|
|
33
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
34
|
+
{
|
|
35
|
+
variants: {
|
|
36
|
+
variant: {
|
|
37
|
+
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
38
|
+
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
|
|
39
|
+
outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",
|
|
40
|
+
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
41
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
42
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
43
|
+
},
|
|
44
|
+
size: {
|
|
45
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
46
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
47
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
48
|
+
icon: "size-9"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
variant: "default",
|
|
53
|
+
size: "default"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
function Button(_a) {
|
|
58
|
+
var _b = _a, {
|
|
59
|
+
className,
|
|
60
|
+
variant,
|
|
61
|
+
size,
|
|
62
|
+
asChild = false
|
|
63
|
+
} = _b, props = __objRest(_b, [
|
|
64
|
+
"className",
|
|
65
|
+
"variant",
|
|
66
|
+
"size",
|
|
67
|
+
"asChild"
|
|
68
|
+
]);
|
|
69
|
+
const Comp = "button";
|
|
70
|
+
return /* @__PURE__ */ jsx(
|
|
71
|
+
Comp,
|
|
72
|
+
__spreadValues({
|
|
73
|
+
"data-slot": "button",
|
|
74
|
+
className: cn(buttonVariants({ variant, size, className }))
|
|
75
|
+
}, props)
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
Button,
|
|
80
|
+
buttonVariants
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../components/ui/button.tsx"],"sourcesContent":["import * as React from 'react'\nimport { cva, type VariantProps } from 'class-variance-authority'\n\nimport { cn } from '../../lib/utils'\n\nconst buttonVariants = cva(\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] cursor-pointer disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",\n {\n variants: {\n variant: {\n default:\n 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90',\n destructive:\n 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40',\n outline:\n 'border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-9 px-4 py-2 has-[>svg]:px-3',\n sm: 'h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5',\n lg: 'h-10 rounded-md px-6 has-[>svg]:px-4',\n icon: 'size-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nfunction Button({\n className,\n variant,\n size,\n asChild = false,\n ...props\n}: React.ComponentProps<'button'> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean\n }) {\n const Comp = 'button'\n\n return (\n <Comp\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size, className }))}\n {...props}\n />\n )\n}\n\nexport { Button, buttonVariants }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDI;AA/CJ,SAAS,WAA8B;AAEvC,SAAS,UAAU;AAEnB,MAAM,iBAAiB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAEA,SAAS,OAAO,IASX;AATW,eACd;AAAA;AAAA,IACA;AAAA,IACA;AAAA,IACA,UAAU;AAAA,EAvCZ,IAmCgB,IAKX,kBALW,IAKX;AAAA,IAJH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAMA,QAAM,OAAO;AAEb,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,eAAe,EAAE,SAAS,MAAM,UAAU,CAAC,CAAC;AAAA,OACtD;AAAA,EACN;AAEJ;","names":[]}
|