@lssm/lib.design-system 1.7.2 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/ActionButtons.d.ts +10 -10
- package/dist/components/atoms/ActionButtons.d.ts.map +1 -1
- package/dist/components/atoms/ActionButtons.js +3 -3
- package/dist/components/atoms/Button.d.ts +3 -3
- package/dist/components/atoms/Button.d.ts.map +1 -1
- package/dist/components/atoms/Button.js +2 -2
- package/dist/components/atoms/Button.mobile.d.ts +2 -2
- package/dist/components/atoms/Button.mobile.d.ts.map +1 -1
- package/dist/components/atoms/Button.mobile.js +3 -3
- package/dist/components/atoms/ButtonLink.d.ts +2 -2
- package/dist/components/atoms/ButtonLink.d.ts.map +1 -1
- package/dist/components/atoms/ButtonLink.mobile.d.ts +2 -2
- package/dist/components/atoms/ButtonLink.mobile.d.ts.map +1 -1
- package/dist/components/atoms/Cta.d.ts +3 -3
- package/dist/components/atoms/DataChips.d.ts +7 -7
- package/dist/components/atoms/DataChips.d.ts.map +1 -1
- package/dist/components/atoms/DataChips.js +1 -1
- package/dist/components/atoms/EmptyState.d.ts +2 -2
- package/dist/components/atoms/EmptyState.js +1 -1
- package/dist/components/atoms/ErrorState.d.ts +2 -2
- package/dist/components/atoms/ErrorState.d.ts.map +1 -1
- package/dist/components/atoms/ErrorState.js +1 -1
- package/dist/components/atoms/ErrorState.mobile.d.ts +2 -2
- package/dist/components/atoms/Input.d.ts +2 -2
- package/dist/components/atoms/Input.d.ts.map +1 -1
- package/dist/components/atoms/Input.js +1 -1
- package/dist/components/atoms/Input.mobile.d.ts +2 -2
- package/dist/components/atoms/Input.mobile.d.ts.map +1 -1
- package/dist/components/atoms/Input.mobile.js +1 -1
- package/dist/components/atoms/Link.d.ts +2 -2
- package/dist/components/atoms/Link.d.ts.map +1 -1
- package/dist/components/atoms/Link.web.d.ts +2 -2
- package/dist/components/atoms/Link.web.d.ts.map +1 -1
- package/dist/components/atoms/LoaderCircular.d.ts +4 -4
- package/dist/components/atoms/LoaderCircular.d.ts.map +1 -1
- package/dist/components/atoms/LoaderCircular.js +2 -3
- package/dist/components/atoms/LoaderCircular.js.map +1 -1
- package/dist/components/atoms/LoaderCircular.mobile.d.ts +2 -2
- package/dist/components/atoms/LoaderCircular.mobile.d.ts.map +1 -1
- package/dist/components/atoms/NavBrand.d.ts +2 -2
- package/dist/components/atoms/NavBrand.js +1 -2
- package/dist/components/atoms/NavBrand.js.map +1 -1
- package/dist/components/atoms/Stepper.d.ts +2 -2
- package/dist/components/atoms/Stepper.js +1 -1
- package/dist/components/atoms/Textarea.d.ts +2 -2
- package/dist/components/atoms/Textarea.d.ts.map +1 -1
- package/dist/components/atoms/Textarea.js +1 -1
- package/dist/components/atoms/Textarea.mobile.d.ts +2 -2
- package/dist/components/atoms/Textarea.mobile.d.ts.map +1 -1
- package/dist/components/atoms/Textarea.mobile.js +1 -1
- package/dist/components/data-view/DataViewDetail.d.ts +2 -2
- package/dist/components/data-view/DataViewList.d.ts +2 -2
- package/dist/components/data-view/DataViewRenderer.d.ts +2 -2
- package/dist/components/data-view/DataViewRenderer.d.ts.map +1 -1
- package/dist/components/data-view/DataViewTable.d.ts +2 -2
- package/dist/components/forms/FormCardLayout.d.ts +2 -2
- package/dist/components/forms/FormCardLayout.js +2 -3
- package/dist/components/forms/FormCardLayout.js.map +1 -1
- package/dist/components/forms/FormDialog.d.ts +2 -2
- package/dist/components/forms/FormDialog.js +1 -1
- package/dist/components/forms/FormLayout.d.ts +4 -4
- package/dist/components/forms/FormLayout.js +1 -2
- package/dist/components/forms/FormLayout.js.map +1 -1
- package/dist/components/forms/FormOneByOneLayout.d.ts +2 -2
- package/dist/components/forms/FormOneByOneLayout.js +1 -2
- package/dist/components/forms/FormOneByOneLayout.js.map +1 -1
- package/dist/components/forms/FormStepsLayout.d.ts +2 -2
- package/dist/components/forms/FormStepsLayout.d.ts.map +1 -1
- package/dist/components/forms/FormStepsLayout.js +2 -3
- package/dist/components/forms/FormStepsLayout.js.map +1 -1
- package/dist/components/forms/ZodForm.d.ts +4 -4
- package/dist/components/forms/ZodForm.js +1 -1
- package/dist/components/legal/atoms/DefinitionList.d.ts +2 -2
- package/dist/components/legal/atoms/DefinitionList.js +1 -2
- package/dist/components/legal/atoms/DefinitionList.js.map +1 -1
- package/dist/components/legal/atoms/KeyValueList.d.ts +2 -2
- package/dist/components/legal/atoms/KeyValueList.js +1 -2
- package/dist/components/legal/atoms/KeyValueList.js.map +1 -1
- package/dist/components/legal/atoms/LegalCallout.d.ts +4 -4
- package/dist/components/legal/atoms/LegalCallout.d.ts.map +1 -1
- package/dist/components/legal/atoms/LegalCallout.js +1 -2
- package/dist/components/legal/atoms/LegalCallout.js.map +1 -1
- package/dist/components/legal/atoms/LegalHeading.d.ts +4 -4
- package/dist/components/legal/atoms/LegalHeading.d.ts.map +1 -1
- package/dist/components/legal/atoms/LegalHeading.js +1 -2
- package/dist/components/legal/atoms/LegalHeading.js.map +1 -1
- package/dist/components/legal/atoms/LegalList.d.ts +4 -4
- package/dist/components/legal/atoms/LegalList.js +1 -2
- package/dist/components/legal/atoms/LegalList.js.map +1 -1
- package/dist/components/legal/atoms/LegalSection.d.ts +4 -4
- package/dist/components/legal/atoms/LegalSection.d.ts.map +1 -1
- package/dist/components/legal/atoms/LegalSection.js +1 -2
- package/dist/components/legal/atoms/LegalSection.js.map +1 -1
- package/dist/components/legal/atoms/LegalText.d.ts +5 -5
- package/dist/components/legal/atoms/LegalText.d.ts.map +1 -1
- package/dist/components/legal/atoms/LegalText.js +1 -2
- package/dist/components/legal/atoms/LegalText.js.map +1 -1
- package/dist/components/legal/molecules/Consent.d.ts +3 -3
- package/dist/components/legal/molecules/Consent.d.ts.map +1 -1
- package/dist/components/legal/molecules/Consent.js +2 -3
- package/dist/components/legal/molecules/Consent.js.map +1 -1
- package/dist/components/legal/molecules/ContactFields.d.ts +2 -2
- package/dist/components/legal/molecules/ContactFields.js +1 -1
- package/dist/components/legal/molecules/LegalMeta.d.ts +2 -2
- package/dist/components/legal/molecules/LegalMeta.d.ts.map +1 -1
- package/dist/components/legal/molecules/LegalMeta.js +1 -2
- package/dist/components/legal/molecules/LegalMeta.js.map +1 -1
- package/dist/components/legal/molecules/LegalTOC.d.ts +4 -4
- package/dist/components/legal/molecules/LegalTOC.d.ts.map +1 -1
- package/dist/components/legal/molecules/LegalTOC.js +1 -2
- package/dist/components/legal/molecules/LegalTOC.js.map +1 -1
- package/dist/components/legal/organisms/ContactForm.d.ts +2 -2
- package/dist/components/legal/organisms/ContactForm.d.ts.map +1 -1
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts.map +1 -1
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +2 -2
- package/dist/components/legal/organisms/LegalPageLayout.d.ts.map +1 -1
- package/dist/components/legal/organisms/LegalPageLayout.js +1 -2
- package/dist/components/legal/organisms/LegalPageLayout.js.map +1 -1
- package/dist/components/legal/templates/ContactTemplate.d.ts +2 -2
- package/dist/components/legal/templates/CookiesTemplate.d.ts +2 -2
- package/dist/components/legal/templates/CookiesTemplate.d.ts.map +1 -1
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +2 -2
- package/dist/components/legal/templates/PrivacyTemplate.d.ts.map +1 -1
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +2 -2
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts.map +1 -1
- package/dist/components/legal/templates/TermsTemplate.d.ts +2 -2
- package/dist/components/legal/templates/TermsTemplate.d.ts.map +1 -1
- package/dist/components/molecules/AiLinkButton.d.ts +2 -2
- package/dist/components/molecules/AiLinkButton.js +1 -1
- package/dist/components/molecules/Breadcrumbs.d.ts +2 -2
- package/dist/components/molecules/Breadcrumbs.js +1 -1
- package/dist/components/molecules/CommandPalette.d.ts +2 -2
- package/dist/components/molecules/CommandPalette.js +1 -1
- package/dist/components/molecules/CommandSearchTrigger.d.ts +2 -2
- package/dist/components/molecules/CommandSearchTrigger.js +2 -3
- package/dist/components/molecules/CommandSearchTrigger.js.map +1 -1
- package/dist/components/molecules/EntityCard.d.ts +5 -5
- package/dist/components/molecules/EntityCard.d.ts.map +1 -1
- package/dist/components/molecules/EntityCard.js +2 -3
- package/dist/components/molecules/EntityCard.js.map +1 -1
- package/dist/components/molecules/FiltersToolbar.d.ts +2 -2
- package/dist/components/molecules/FiltersToolbar.js +2 -3
- package/dist/components/molecules/FiltersToolbar.js.map +1 -1
- package/dist/components/molecules/FiltersToolbar.mobile.d.ts +2 -2
- package/dist/components/molecules/FiltersToolbar.mobile.js +1 -1
- package/dist/components/molecules/HoverPreview.d.ts +2 -2
- package/dist/components/molecules/HoverPreview.js +2 -4
- package/dist/components/molecules/HoverPreview.js.map +1 -1
- package/dist/components/molecules/LangSwitch.d.ts +2 -2
- package/dist/components/molecules/LangSwitchDropdown.d.ts +2 -2
- package/dist/components/molecules/LangSwitchDropdown.js +2 -2
- package/dist/components/molecules/LoaderBlock.d.ts +2 -2
- package/dist/components/molecules/LoaderBlock.js +1 -2
- package/dist/components/molecules/LoaderBlock.js.map +1 -1
- package/dist/components/molecules/LoaderBlock.mobile.d.ts +2 -2
- package/dist/components/molecules/MobileNavMenu.d.ts +2 -2
- package/dist/components/molecules/MobileNavMenu.js +1 -2
- package/dist/components/molecules/MobileNavMenu.js.map +1 -1
- package/dist/components/molecules/NavItemCard.d.ts +2 -2
- package/dist/components/molecules/NavItemCard.js +1 -2
- package/dist/components/molecules/NavItemCard.js.map +1 -1
- package/dist/components/molecules/NavMain.d.ts +2 -2
- package/dist/components/molecules/NavMain.d.ts.map +1 -1
- package/dist/components/molecules/NavMain.js +4 -5
- package/dist/components/molecules/NavMain.js.map +1 -1
- package/dist/components/molecules/NavUser.d.ts +2 -2
- package/dist/components/molecules/NavUser.d.ts.map +1 -1
- package/dist/components/molecules/NavUser.js +2 -2
- package/dist/components/molecules/OverviewCard.d.ts +2 -2
- package/dist/components/molecules/OverviewCard.js +1 -1
- package/dist/components/molecules/SkeletonBlock/index.mobile.d.ts +2 -2
- package/dist/components/molecules/SkeletonBlock/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonBlock/index.web.js +2 -3
- package/dist/components/molecules/SkeletonBlock/index.web.js.map +1 -1
- package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts +2 -2
- package/dist/components/molecules/SkeletonCircle/index.mobile.d.ts.map +1 -1
- package/dist/components/molecules/SkeletonCircle/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonCircle/index.web.js +1 -1
- package/dist/components/molecules/SkeletonList/index.mobile.d.ts +2 -2
- package/dist/components/molecules/SkeletonList/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonList/index.web.js +1 -1
- package/dist/components/molecules/StatCard.d.ts +6 -6
- package/dist/components/molecules/StatCard.d.ts.map +1 -1
- package/dist/components/molecules/StatCard.js +2 -3
- package/dist/components/molecules/StatCard.js.map +1 -1
- package/dist/components/molecules/StatusChip.d.ts +5 -5
- package/dist/components/molecules/StatusChip.d.ts.map +1 -1
- package/dist/components/molecules/StatusChip.js +1 -2
- package/dist/components/molecules/StatusChip.js.map +1 -1
- package/dist/components/molecules/hover-previews/Doc.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Media.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Simple.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Stats.d.ts +2 -2
- package/dist/components/molecules/hover-previews/User.d.ts +2 -2
- package/dist/components/molecules/hover-previews/User.d.ts.map +1 -1
- package/dist/components/native/BottomTabs.mobile.d.ts +2 -2
- package/dist/components/native/BottomTabs.mobile.js +1 -2
- package/dist/components/native/BottomTabs.mobile.js.map +1 -1
- package/dist/components/native/FlatListScreen.mobile.d.ts +4 -4
- package/dist/components/native/FlatListScreen.mobile.d.ts.map +1 -1
- package/dist/components/native/FlatListScreen.mobile.js +2 -2
- package/dist/components/native/SheetMenu.mobile.d.ts +2 -2
- package/dist/components/native/SheetMenu.mobile.d.ts.map +1 -1
- package/dist/components/native/SheetMenu.mobile.js +1 -1
- package/dist/components/organisms/AcademyLayout.d.ts +2 -2
- package/dist/components/organisms/AcademyLayout.d.ts.map +1 -1
- package/dist/components/organisms/AcademyLayout.js +2 -3
- package/dist/components/organisms/AcademyLayout.js.map +1 -1
- package/dist/components/organisms/AppHeader.d.ts +2 -2
- package/dist/components/organisms/AppHeader.d.ts.map +1 -1
- package/dist/components/organisms/AppHeader.js +2 -3
- package/dist/components/organisms/AppHeader.js.map +1 -1
- package/dist/components/organisms/AppHeader.mobile.d.ts +2 -2
- package/dist/components/organisms/AppHeader.mobile.d.ts.map +1 -1
- package/dist/components/organisms/AppHeader.mobile.js +1 -1
- package/dist/components/organisms/AppLayout.d.ts +2 -2
- package/dist/components/organisms/AppLayout.js +3 -4
- package/dist/components/organisms/AppLayout.js.map +1 -1
- package/dist/components/organisms/AppSidebar.d.ts +2 -2
- package/dist/components/organisms/AppSidebar.d.ts.map +1 -1
- package/dist/components/organisms/AppSidebar.js +2 -3
- package/dist/components/organisms/AppSidebar.js.map +1 -1
- package/dist/components/organisms/EmptyDataList.d.ts +2 -2
- package/dist/components/organisms/EmptyDataList.d.ts.map +1 -1
- package/dist/components/organisms/EmptyDataList.js +1 -1
- package/dist/components/organisms/EmptyDataList.mobile.d.ts +2 -2
- package/dist/components/organisms/EmptyDataList.mobile.d.ts.map +1 -1
- package/dist/components/organisms/EmptyDataList.mobile.js +3 -3
- package/dist/components/organisms/EmptySearchResult.d.ts +2 -2
- package/dist/components/organisms/EmptySearchResult.d.ts.map +1 -1
- package/dist/components/organisms/EmptySearchResult.js +1 -1
- package/dist/components/organisms/FAQSection.d.ts +2 -2
- package/dist/components/organisms/FAQSection.d.ts.map +1 -1
- package/dist/components/organisms/FAQSection.js +2 -2
- package/dist/components/organisms/FeatureCarousel.d.ts +2 -2
- package/dist/components/organisms/FeatureCarousel.d.ts.map +1 -1
- package/dist/components/organisms/FeatureCarousel.js +2 -2
- package/dist/components/organisms/FeaturesSection.d.ts +2 -2
- package/dist/components/organisms/FeaturesSection.d.ts.map +1 -1
- package/dist/components/organisms/FeaturesSection.js +1 -1
- package/dist/components/organisms/Footer.d.ts +2 -2
- package/dist/components/organisms/Footer.d.ts.map +1 -1
- package/dist/components/organisms/Footer.js +1 -2
- package/dist/components/organisms/Footer.js.map +1 -1
- package/dist/components/organisms/GridLayout.d.ts +4 -4
- package/dist/components/organisms/GridLayout.d.ts.map +1 -1
- package/dist/components/organisms/GridLayout.js +1 -2
- package/dist/components/organisms/GridLayout.js.map +1 -1
- package/dist/components/organisms/Header.d.ts +4 -4
- package/dist/components/organisms/Header.d.ts.map +1 -1
- package/dist/components/organisms/Header.js +4 -5
- package/dist/components/organisms/Header.js.map +1 -1
- package/dist/components/organisms/Header.mobile.d.ts +2 -2
- package/dist/components/organisms/Header.mobile.js +1 -1
- package/dist/components/organisms/HeroResponsive.d.ts +2 -2
- package/dist/components/organisms/HeroResponsive.d.ts.map +1 -1
- package/dist/components/organisms/HeroSection.d.ts +2 -2
- package/dist/components/organisms/HeroSection.d.ts.map +1 -1
- package/dist/components/organisms/HeroSection.js +1 -1
- package/dist/components/organisms/ListCardPage.d.ts +5 -5
- package/dist/components/organisms/ListCardPage.d.ts.map +1 -1
- package/dist/components/organisms/ListCardPage.js +2 -2
- package/dist/components/organisms/ListGridPage.d.ts +5 -5
- package/dist/components/organisms/ListGridPage.d.ts.map +1 -1
- package/dist/components/organisms/ListGridPage.js +1 -1
- package/dist/components/organisms/ListPageResponsive.d.ts +2 -2
- package/dist/components/organisms/ListPageResponsive.d.ts.map +1 -1
- package/dist/components/organisms/ListPageResponsive.js +1 -1
- package/dist/components/organisms/ListTablePage.d.ts +4 -4
- package/dist/components/organisms/ListTablePage.d.ts.map +1 -1
- package/dist/components/organisms/ListTablePage.js +2 -2
- package/dist/components/organisms/MarketingHeader.d.ts +2 -2
- package/dist/components/organisms/MarketingHeader.js +7 -8
- package/dist/components/organisms/MarketingHeader.js.map +1 -1
- package/dist/components/organisms/MarketingHeaderDesktop.d.ts +2 -2
- package/dist/components/organisms/MarketingHeaderDesktop.d.ts.map +1 -1
- package/dist/components/organisms/MarketingHeaderDesktop.js +3 -4
- package/dist/components/organisms/MarketingHeaderDesktop.js.map +1 -1
- package/dist/components/organisms/MarketingHeaderMobile.d.ts +2 -2
- package/dist/components/organisms/MarketingHeaderMobile.js +4 -5
- package/dist/components/organisms/MarketingHeaderMobile.js.map +1 -1
- package/dist/components/organisms/MarketingLayout.d.ts +2 -2
- package/dist/components/organisms/MarketingLayout.js +2 -3
- package/dist/components/organisms/MarketingLayout.js.map +1 -1
- package/dist/components/organisms/PageHeaderResponsive.d.ts +2 -2
- package/dist/components/organisms/PageHeaderResponsive.js +1 -1
- package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +2 -2
- package/dist/components/organisms/PageHeaderResponsive.mobile.js +2 -2
- package/dist/components/organisms/PricingCarousel.d.ts +2 -2
- package/dist/components/organisms/PricingCarousel.js +2 -2
- package/dist/components/organisms/PricingSection.d.ts +2 -2
- package/dist/components/organisms/PricingSection.d.ts.map +1 -1
- package/dist/components/organisms/PricingSection.js +1 -1
- package/dist/components/organisms/TestimonialCarousel.d.ts +2 -2
- package/dist/components/organisms/TestimonialCarousel.js +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.mobile.d.ts.map +1 -1
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts.map +1 -1
- package/dist/components/templates/lists/ListPageTemplate/index.web.js +3 -4
- package/dist/components/templates/lists/ListPageTemplate/index.web.js.map +1 -1
- package/dist/renderers/form-contract.d.ts +3 -3
- package/dist/renderers/form-contract.js +12 -12
- package/dist/renderers/form-contract.js.map +1 -1
- package/dist/theme/tokenBridge.d.ts.map +1 -1
- package/dist/theme/variants.d.ts +4 -4
- package/dist/theme/variants.d.ts.map +1 -1
- package/dist/types/navigation.d.ts.map +1 -1
- package/package.json +155 -4
- package/dist/contracts/dist/client/react/drivers/shadcn.js +0 -8
- package/dist/contracts/dist/client/react/drivers/shadcn.js.map +0 -1
- package/dist/contracts/dist/client/react/form-render.js +0 -262
- package/dist/contracts/dist/client/react/form-render.js.map +0 -1
- package/dist/contracts/dist/forms.js +0 -79
- package/dist/contracts/dist/forms.js.map +0 -1
- package/dist/ui-kit/dist/ui/button.js +0 -75
- package/dist/ui-kit/dist/ui/button.js.map +0 -1
- package/dist/ui-kit/dist/ui/empty.js +0 -63
- package/dist/ui-kit/dist/ui/empty.js.map +0 -1
- package/dist/ui-kit/dist/ui/input.js +0 -17
- package/dist/ui-kit/dist/ui/input.js.map +0 -1
- package/dist/ui-kit/dist/ui/stack.js +0 -224
- package/dist/ui-kit/dist/ui/stack.js.map +0 -1
- package/dist/ui-kit/dist/ui/text.js +0 -19
- package/dist/ui-kit/dist/ui/text.js.map +0 -1
- package/dist/ui-kit/dist/ui/textarea.js +0 -20
- package/dist/ui-kit/dist/ui/textarea.js.map +0 -1
- package/dist/ui-kit/dist/ui/utils.js +0 -11
- package/dist/ui-kit/dist/ui/utils.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/accordion.js +0 -50
- package/dist/ui-kit-web/dist/ui/accordion.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/atoms/FilterSelect/FilterSelect.js +0 -53
- package/dist/ui-kit-web/dist/ui/atoms/FilterSelect/FilterSelect.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js +0 -157
- package/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js +0 -50
- package/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/avatar.js +0 -35
- package/dist/ui-kit-web/dist/ui/avatar.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/badge.js +0 -28
- package/dist/ui-kit-web/dist/ui/badge.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/breadcrumb.js +0 -60
- package/dist/ui-kit-web/dist/ui/breadcrumb.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/button.js +0 -45
- package/dist/ui-kit-web/dist/ui/button.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/card.js +0 -38
- package/dist/ui-kit-web/dist/ui/card.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/carousel.js +0 -138
- package/dist/ui-kit-web/dist/ui/carousel.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/checkbox.js +0 -27
- package/dist/ui-kit-web/dist/ui/checkbox.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/collapsible.js +0 -29
- package/dist/ui-kit-web/dist/ui/collapsible.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/command.js +0 -92
- package/dist/ui-kit-web/dist/ui/command.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/dialog.js +0 -86
- package/dist/ui-kit-web/dist/ui/dialog.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/dropdown-menu.js +0 -59
- package/dist/ui-kit-web/dist/ui/dropdown-menu.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/empty-state.js +0 -44
- package/dist/ui-kit-web/dist/ui/empty-state.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/empty.js +0 -63
- package/dist/ui-kit-web/dist/ui/empty.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/field.js +0 -80
- package/dist/ui-kit-web/dist/ui/field.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/form.js +0 -18
- package/dist/ui-kit-web/dist/ui/form.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/hover-card.js +0 -42
- package/dist/ui-kit-web/dist/ui/hover-card.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/input.js +0 -18
- package/dist/ui-kit-web/dist/ui/input.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/label.js +0 -21
- package/dist/ui-kit-web/dist/ui/label.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/marketing/Hero.js +0 -54
- package/dist/ui-kit-web/dist/ui/marketing/Hero.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/marketing/PricingTable.js +0 -61
- package/dist/ui-kit-web/dist/ui/marketing/PricingTable.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +0 -103
- package/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/molecules/SkeletonList.js +0 -15
- package/dist/ui-kit-web/dist/ui/molecules/SkeletonList.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/navigation-menu.js +0 -76
- package/dist/ui-kit-web/dist/ui/navigation-menu.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js +0 -198
- package/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/page-header.js +0 -41
- package/dist/ui-kit-web/dist/ui/page-header.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/radio-group.js +0 -34
- package/dist/ui-kit-web/dist/ui/radio-group.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/select.js +0 -88
- package/dist/ui-kit-web/dist/ui/select.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/separator.js +0 -23
- package/dist/ui-kit-web/dist/ui/separator.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/sheet.js +0 -82
- package/dist/ui-kit-web/dist/ui/sheet.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/sidebar.js +0 -381
- package/dist/ui-kit-web/dist/ui/sidebar.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/skeleton.js +0 -16
- package/dist/ui-kit-web/dist/ui/skeleton.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/stack.js +0 -159
- package/dist/ui-kit-web/dist/ui/stack.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/stepper.js +0 -38
- package/dist/ui-kit-web/dist/ui/stepper.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/switch.js +0 -25
- package/dist/ui-kit-web/dist/ui/switch.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/table.js +0 -59
- package/dist/ui-kit-web/dist/ui/table.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/text.js +0 -17
- package/dist/ui-kit-web/dist/ui/text.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/textarea.js +0 -17
- package/dist/ui-kit-web/dist/ui/textarea.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/tooltip.js +0 -42
- package/dist/ui-kit-web/dist/ui/tooltip.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/use-mobile.js +0 -21
- package/dist/ui-kit-web/dist/ui/use-mobile.js.map +0 -1
- package/dist/ui-kit-web/dist/ui/utils.js +0 -14
- package/dist/ui-kit-web/dist/ui/utils.js.map +0 -1
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn, init_utils } from "./utils.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { XIcon } from "lucide-react";
|
|
8
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
9
|
-
|
|
10
|
-
//#region ../ui-kit-web/dist/ui/dialog.js
|
|
11
|
-
init_utils();
|
|
12
|
-
function Dialog({ ...props }) {
|
|
13
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Root, {
|
|
14
|
-
"data-slot": "dialog",
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function DialogTrigger({ ...props }) {
|
|
19
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, {
|
|
20
|
-
"data-slot": "dialog-trigger",
|
|
21
|
-
...props
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function DialogPortal({ ...props }) {
|
|
25
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Portal, {
|
|
26
|
-
"data-slot": "dialog-portal",
|
|
27
|
-
...props
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function DialogOverlay({ className,...props }) {
|
|
31
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
|
|
32
|
-
"data-slot": "dialog-overlay",
|
|
33
|
-
className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
34
|
-
...props
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function DialogContent({ className, children, showCloseButton = true,...props }) {
|
|
38
|
-
return /* @__PURE__ */ jsxs(DialogPortal, {
|
|
39
|
-
"data-slot": "dialog-portal",
|
|
40
|
-
children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(DialogPrimitive.Content, {
|
|
41
|
-
"data-slot": "dialog-content",
|
|
42
|
-
className: cn("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className),
|
|
43
|
-
...props,
|
|
44
|
-
children: [children, showCloseButton && /* @__PURE__ */ jsxs(DialogPrimitive.Close, {
|
|
45
|
-
"data-slot": "dialog-close",
|
|
46
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
47
|
-
children: [/* @__PURE__ */ jsx(XIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
48
|
-
className: "sr-only",
|
|
49
|
-
children: "Close"
|
|
50
|
-
})]
|
|
51
|
-
})]
|
|
52
|
-
})]
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function DialogHeader({ className,...props }) {
|
|
56
|
-
return /* @__PURE__ */ jsx("div", {
|
|
57
|
-
"data-slot": "dialog-header",
|
|
58
|
-
className: cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
59
|
-
...props
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function DialogFooter({ className,...props }) {
|
|
63
|
-
return /* @__PURE__ */ jsx("div", {
|
|
64
|
-
"data-slot": "dialog-footer",
|
|
65
|
-
className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
66
|
-
...props
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function DialogTitle({ className,...props }) {
|
|
70
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Title, {
|
|
71
|
-
"data-slot": "dialog-title",
|
|
72
|
-
className: cn("text-lg leading-none font-semibold", className),
|
|
73
|
-
...props
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function DialogDescription({ className,...props }) {
|
|
77
|
-
return /* @__PURE__ */ jsx(DialogPrimitive.Description, {
|
|
78
|
-
"data-slot": "dialog-description",
|
|
79
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
80
|
-
...props
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
//#endregion
|
|
85
|
-
export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };
|
|
86
|
-
//# sourceMappingURL=dialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/dialog.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport \"react\";\nimport { XIcon } from \"lucide-react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\n\n//#region ui/dialog.tsx\nfunction Dialog({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Root, {\n\t\t\"data-slot\": \"dialog\",\n\t\t...props\n\t});\n}\nfunction DialogTrigger({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Trigger, {\n\t\t\"data-slot\": \"dialog-trigger\",\n\t\t...props\n\t});\n}\nfunction DialogPortal({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Portal, {\n\t\t\"data-slot\": \"dialog-portal\",\n\t\t...props\n\t});\n}\nfunction DialogClose({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Close, {\n\t\t\"data-slot\": \"dialog-close\",\n\t\t...props\n\t});\n}\nfunction DialogOverlay({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {\n\t\t\"data-slot\": \"dialog-overlay\",\n\t\tclassName: cn(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50\", className),\n\t\t...props\n\t});\n}\nfunction DialogContent({ className, children, showCloseButton = true,...props }) {\n\treturn /* @__PURE__ */ jsxs(DialogPortal, {\n\t\t\"data-slot\": \"dialog-portal\",\n\t\tchildren: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(DialogPrimitive.Content, {\n\t\t\t\"data-slot\": \"dialog-content\",\n\t\t\tclassName: cn(\"bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\", className),\n\t\t\t...props,\n\t\t\tchildren: [children, showCloseButton && /* @__PURE__ */ jsxs(DialogPrimitive.Close, {\n\t\t\t\t\"data-slot\": \"dialog-close\",\n\t\t\t\tclassName: \"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n\t\t\t\tchildren: [/* @__PURE__ */ jsx(XIcon, {}), /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\tclassName: \"sr-only\",\n\t\t\t\t\tchildren: \"Close\"\n\t\t\t\t})]\n\t\t\t})]\n\t\t})]\n\t});\n}\nfunction DialogHeader({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"dialog-header\",\n\t\tclassName: cn(\"flex flex-col gap-2 text-center sm:text-left\", className),\n\t\t...props\n\t});\n}\nfunction DialogFooter({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"dialog-footer\",\n\t\tclassName: cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className),\n\t\t...props\n\t});\n}\nfunction DialogTitle({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Title, {\n\t\t\"data-slot\": \"dialog-title\",\n\t\tclassName: cn(\"text-lg leading-none font-semibold\", className),\n\t\t...props\n\t});\n}\nfunction DialogDescription({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(DialogPrimitive.Description, {\n\t\t\"data-slot\": \"dialog-description\",\n\t\tclassName: cn(\"text-muted-foreground text-sm\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };\n//# sourceMappingURL=dialog.js.map"],"mappings":";;;;;;;;;;YAGgC;AAOhC,SAAS,OAAO,EAAE,GAAG,SAAS;AAC7B,QAAuB,oBAAI,gBAAgB,MAAM;EAChD,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,cAAc,EAAE,GAAG,SAAS;AACpC,QAAuB,oBAAI,gBAAgB,SAAS;EACnD,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,aAAa,EAAE,GAAG,SAAS;AACnC,QAAuB,oBAAI,gBAAgB,QAAQ;EAClD,aAAa;EACb,GAAG;EACH,CAAC;;AAQH,SAAS,cAAc,EAAE,UAAU,GAAG,SAAS;AAC9C,QAAuB,oBAAI,gBAAgB,SAAS;EACnD,aAAa;EACb,WAAW,GAAG,0JAA0J,UAAU;EAClL,GAAG;EACH,CAAC;;AAEH,SAAS,cAAc,EAAE,WAAW,UAAU,kBAAkB,KAAK,GAAG,SAAS;AAChF,QAAuB,qBAAK,cAAc;EACzC,aAAa;EACb,UAAU,CAAiB,oBAAI,eAAe,EAAE,CAAC,EAAkB,qBAAK,gBAAgB,SAAS;GAChG,aAAa;GACb,WAAW,GAAG,+WAA+W,UAAU;GACvY,GAAG;GACH,UAAU,CAAC,UAAU,mBAAmC,qBAAK,gBAAgB,OAAO;IACnF,aAAa;IACb,WAAW;IACX,UAAU,CAAiB,oBAAI,OAAO,EAAE,CAAC,EAAkB,oBAAI,QAAQ;KACtE,WAAW;KACX,UAAU;KACV,CAAC,CAAC;IACH,CAAC,CAAC;GACH,CAAC,CAAC;EACH,CAAC;;AAEH,SAAS,aAAa,EAAE,UAAU,GAAG,SAAS;AAC7C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,gDAAgD,UAAU;EACxE,GAAG;EACH,CAAC;;AAEH,SAAS,aAAa,EAAE,UAAU,GAAG,SAAS;AAC7C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,0DAA0D,UAAU;EAClF,GAAG;EACH,CAAC;;AAEH,SAAS,YAAY,EAAE,UAAU,GAAG,SAAS;AAC5C,QAAuB,oBAAI,gBAAgB,OAAO;EACjD,aAAa;EACb,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAG;EACH,CAAC;;AAEH,SAAS,kBAAkB,EAAE,UAAU,GAAG,SAAS;AAClD,QAAuB,oBAAI,gBAAgB,aAAa;EACvD,aAAa;EACb,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAG;EACH,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn, init_utils } from "./utils.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { CheckIcon, CircleIcon } from "lucide-react";
|
|
8
|
-
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
9
|
-
|
|
10
|
-
//#region ../ui-kit-web/dist/ui/dropdown-menu.js
|
|
11
|
-
init_utils();
|
|
12
|
-
function DropdownMenu({ ...props }) {
|
|
13
|
-
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, {
|
|
14
|
-
"data-slot": "dropdown-menu",
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function DropdownMenuTrigger({ ...props }) {
|
|
19
|
-
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Trigger, {
|
|
20
|
-
"data-slot": "dropdown-menu-trigger",
|
|
21
|
-
...props
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function DropdownMenuContent({ className, sideOffset = 4,...props }) {
|
|
25
|
-
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.Content, {
|
|
26
|
-
"data-slot": "dropdown-menu-content",
|
|
27
|
-
sideOffset,
|
|
28
|
-
className: cn("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-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md", className),
|
|
29
|
-
...props
|
|
30
|
-
}) });
|
|
31
|
-
}
|
|
32
|
-
function DropdownMenuItem({ className, inset, variant = "default",...props }) {
|
|
33
|
-
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Item, {
|
|
34
|
-
"data-slot": "dropdown-menu-item",
|
|
35
|
-
"data-inset": inset,
|
|
36
|
-
"data-variant": variant,
|
|
37
|
-
className: cn("data-[variant=destructive]:*:[svg]:text-destructive! focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-xs 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", className),
|
|
38
|
-
...props
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function DropdownMenuLabel({ className, inset,...props }) {
|
|
42
|
-
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Label, {
|
|
43
|
-
"data-slot": "dropdown-menu-label",
|
|
44
|
-
"data-inset": inset,
|
|
45
|
-
className: cn("px-2 py-1.5 text-sm font-medium data-inset:pl-8", className),
|
|
46
|
-
...props
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function DropdownMenuSeparator({ className,...props }) {
|
|
50
|
-
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, {
|
|
51
|
-
"data-slot": "dropdown-menu-separator",
|
|
52
|
-
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
53
|
-
...props
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
//#endregion
|
|
58
|
-
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger };
|
|
59
|
-
//# sourceMappingURL=dropdown-menu.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/dropdown-menu.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport \"react\";\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from \"lucide-react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\";\n\n//#region ui/dropdown-menu.tsx\nfunction DropdownMenu({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, {\n\t\t\"data-slot\": \"dropdown-menu\",\n\t\t...props\n\t});\n}\nfunction DropdownMenuPortal({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, {\n\t\t\"data-slot\": \"dropdown-menu-portal\",\n\t\t...props\n\t});\n}\nfunction DropdownMenuTrigger({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Trigger, {\n\t\t\"data-slot\": \"dropdown-menu-trigger\",\n\t\t...props\n\t});\n}\nfunction DropdownMenuContent({ className, sideOffset = 4,...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.Content, {\n\t\t\"data-slot\": \"dropdown-menu-content\",\n\t\tsideOffset,\n\t\tclassName: cn(\"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-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md\", className),\n\t\t...props\n\t}) });\n}\nfunction DropdownMenuGroup({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Group, {\n\t\t\"data-slot\": \"dropdown-menu-group\",\n\t\t...props\n\t});\n}\nfunction DropdownMenuItem({ className, inset, variant = \"default\",...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Item, {\n\t\t\"data-slot\": \"dropdown-menu-item\",\n\t\t\"data-inset\": inset,\n\t\t\"data-variant\": variant,\n\t\tclassName: cn(\"data-[variant=destructive]:*:[svg]:text-destructive! focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-xs 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\", className),\n\t\t...props\n\t});\n}\nfunction DropdownMenuCheckboxItem({ className, children, checked,...props }) {\n\treturn /* @__PURE__ */ jsxs(DropdownMenuPrimitive.CheckboxItem, {\n\t\t\"data-slot\": \"dropdown-menu-checkbox-item\",\n\t\tclassName: cn(\"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs 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\", className),\n\t\tchecked,\n\t\t...props,\n\t\tchildren: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\",\n\t\t\tchildren: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: \"size-4\" }) })\n\t\t}), children]\n\t});\n}\nfunction DropdownMenuRadioGroup({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.RadioGroup, {\n\t\t\"data-slot\": \"dropdown-menu-radio-group\",\n\t\t...props\n\t});\n}\nfunction DropdownMenuRadioItem({ className, children,...props }) {\n\treturn /* @__PURE__ */ jsxs(DropdownMenuPrimitive.RadioItem, {\n\t\t\"data-slot\": \"dropdown-menu-radio-item\",\n\t\tclassName: cn(\"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs 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\", className),\n\t\t...props,\n\t\tchildren: [/* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\",\n\t\t\tchildren: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: \"size-2 fill-current\" }) })\n\t\t}), children]\n\t});\n}\nfunction DropdownMenuLabel({ className, inset,...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Label, {\n\t\t\"data-slot\": \"dropdown-menu-label\",\n\t\t\"data-inset\": inset,\n\t\tclassName: cn(\"px-2 py-1.5 text-sm font-medium data-inset:pl-8\", className),\n\t\t...props\n\t});\n}\nfunction DropdownMenuSeparator({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, {\n\t\t\"data-slot\": \"dropdown-menu-separator\",\n\t\tclassName: cn(\"bg-border -mx-1 my-1 h-px\", className),\n\t\t...props\n\t});\n}\nfunction DropdownMenuShortcut({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"span\", {\n\t\t\"data-slot\": \"dropdown-menu-shortcut\",\n\t\tclassName: cn(\"text-muted-foreground ml-auto text-xs tracking-widest\", className),\n\t\t...props\n\t});\n}\nfunction DropdownMenuSub({ ...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.Sub, {\n\t\t\"data-slot\": \"dropdown-menu-sub\",\n\t\t...props\n\t});\n}\nfunction DropdownMenuSubTrigger({ className, inset, children,...props }) {\n\treturn /* @__PURE__ */ jsxs(DropdownMenuPrimitive.SubTrigger, {\n\t\t\"data-slot\": \"dropdown-menu-sub-trigger\",\n\t\t\"data-inset\": inset,\n\t\tclassName: cn(\"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-inset:pl-8\", className),\n\t\t...props,\n\t\tchildren: [children, /* @__PURE__ */ jsx(ChevronRightIcon, { className: \"ml-auto size-4\" })]\n\t});\n}\nfunction DropdownMenuSubContent({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubContent, {\n\t\t\"data-slot\": \"dropdown-menu-sub-content\",\n\t\tclassName: cn(\"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-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };\n//# sourceMappingURL=dropdown-menu.js.map"],"mappings":";;;;;;;;;;YAGgC;AAOhC,SAAS,aAAa,EAAE,GAAG,SAAS;AACnC,QAAuB,oBAAI,sBAAsB,MAAM;EACtD,aAAa;EACb,GAAG;EACH,CAAC;;AAQH,SAAS,oBAAoB,EAAE,GAAG,SAAS;AAC1C,QAAuB,oBAAI,sBAAsB,SAAS;EACzD,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,oBAAoB,EAAE,WAAW,aAAa,EAAE,GAAG,SAAS;AACpE,QAAuB,oBAAI,sBAAsB,QAAQ,EAAE,UAA0B,oBAAI,sBAAsB,SAAS;EACvH,aAAa;EACb;EACA,WAAW,GAAG,sjBAAsjB,UAAU;EAC9kB,GAAG;EACH,CAAC,EAAE,CAAC;;AAQN,SAAS,iBAAiB,EAAE,WAAW,OAAO,UAAU,UAAU,GAAG,SAAS;AAC7E,QAAuB,oBAAI,sBAAsB,MAAM;EACtD,aAAa;EACb,cAAc;EACd,gBAAgB;EAChB,WAAW,GAAG,ymBAAymB,UAAU;EACjoB,GAAG;EACH,CAAC;;AA+BH,SAAS,kBAAkB,EAAE,WAAW,MAAM,GAAG,SAAS;AACzD,QAAuB,oBAAI,sBAAsB,OAAO;EACvD,aAAa;EACb,cAAc;EACd,WAAW,GAAG,mDAAmD,UAAU;EAC3E,GAAG;EACH,CAAC;;AAEH,SAAS,sBAAsB,EAAE,UAAU,GAAG,SAAS;AACtD,QAAuB,oBAAI,sBAAsB,WAAW;EAC3D,aAAa;EACb,WAAW,GAAG,6BAA6B,UAAU;EACrD,GAAG;EACH,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "./utils.js";
|
|
2
|
-
import { VStack } from "./stack.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { cva } from "class-variance-authority";
|
|
6
|
-
|
|
7
|
-
//#region ../ui-kit-web/dist/ui/empty-state.js
|
|
8
|
-
init_utils();
|
|
9
|
-
const containerVariants = cva("items-center text-center", {
|
|
10
|
-
variants: { density: {
|
|
11
|
-
compact: "gap-3 p-6",
|
|
12
|
-
default: "gap-4 p-8"
|
|
13
|
-
} },
|
|
14
|
-
defaultVariants: { density: "default" }
|
|
15
|
-
});
|
|
16
|
-
function EmptyState({ icon, title, description, primaryAction, secondaryAction, className, density }) {
|
|
17
|
-
return /* @__PURE__ */ jsxs(VStack, {
|
|
18
|
-
className: cn(containerVariants({ density }), className),
|
|
19
|
-
children: [
|
|
20
|
-
icon ? /* @__PURE__ */ jsx("div", {
|
|
21
|
-
className: "bg-muted flex h-12 w-12 items-center justify-center rounded-full",
|
|
22
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
23
|
-
className: "text-muted-foreground flex items-center justify-center",
|
|
24
|
-
children: icon
|
|
25
|
-
})
|
|
26
|
-
}) : null,
|
|
27
|
-
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("h3", {
|
|
28
|
-
className: "font-medium",
|
|
29
|
-
children: title
|
|
30
|
-
}), description ? /* @__PURE__ */ jsx("p", {
|
|
31
|
-
className: "text-muted-foreground text-base",
|
|
32
|
-
children: description
|
|
33
|
-
}) : null] }),
|
|
34
|
-
(primaryAction || secondaryAction) && /* @__PURE__ */ jsxs("div", {
|
|
35
|
-
className: "flex items-center justify-center gap-2",
|
|
36
|
-
children: [primaryAction, secondaryAction]
|
|
37
|
-
})
|
|
38
|
-
]
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
//#endregion
|
|
43
|
-
export { EmptyState };
|
|
44
|
-
//# sourceMappingURL=empty-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/empty-state.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport { VStack } from \"./stack.js\";\nimport \"react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport { cva } from \"class-variance-authority\";\n\n//#region ui/empty-state.tsx\nconst containerVariants = cva(\"items-center text-center\", {\n\tvariants: { density: {\n\t\tcompact: \"gap-3 p-6\",\n\t\tdefault: \"gap-4 p-8\"\n\t} },\n\tdefaultVariants: { density: \"default\" }\n});\nfunction EmptyState({ icon, title, description, primaryAction, secondaryAction, className, density }) {\n\treturn /* @__PURE__ */ jsxs(VStack, {\n\t\tclassName: cn(containerVariants({ density }), className),\n\t\tchildren: [\n\t\t\ticon ? /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"bg-muted flex h-12 w-12 items-center justify-center rounded-full\",\n\t\t\t\tchildren: /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\t\tclassName: \"text-muted-foreground flex items-center justify-center\",\n\t\t\t\t\tchildren: icon\n\t\t\t\t})\n\t\t\t}) : null,\n\t\t\t/* @__PURE__ */ jsxs(\"div\", { children: [/* @__PURE__ */ jsx(\"h3\", {\n\t\t\t\tclassName: \"font-medium\",\n\t\t\t\tchildren: title\n\t\t\t}), description ? /* @__PURE__ */ jsx(\"p\", {\n\t\t\t\tclassName: \"text-muted-foreground text-base\",\n\t\t\t\tchildren: description\n\t\t\t}) : null] }),\n\t\t\t(primaryAction || secondaryAction) && /* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"flex items-center justify-center gap-2\",\n\t\t\t\tchildren: [primaryAction, secondaryAction]\n\t\t\t})\n\t\t]\n\t});\n}\n\n//#endregion\nexport { EmptyState };\n//# sourceMappingURL=empty-state.js.map"],"mappings":";;;;;;;YAAgC;AAOhC,MAAM,oBAAoB,IAAI,4BAA4B;CACzD,UAAU,EAAE,SAAS;EACpB,SAAS;EACT,SAAS;EACT,EAAE;CACH,iBAAiB,EAAE,SAAS,WAAW;CACvC,CAAC;AACF,SAAS,WAAW,EAAE,MAAM,OAAO,aAAa,eAAe,iBAAiB,WAAW,WAAW;AACrG,QAAuB,qBAAK,QAAQ;EACnC,WAAW,GAAG,kBAAkB,EAAE,SAAS,CAAC,EAAE,UAAU;EACxD,UAAU;GACT,OAAuB,oBAAI,OAAO;IACjC,WAAW;IACX,UAA0B,oBAAI,OAAO;KACpC,WAAW;KACX,UAAU;KACV,CAAC;IACF,CAAC,GAAG;GACW,qBAAK,OAAO,EAAE,UAAU,CAAiB,oBAAI,MAAM;IAClE,WAAW;IACX,UAAU;IACV,CAAC,EAAE,cAA8B,oBAAI,KAAK;IAC1C,WAAW;IACX,UAAU;IACV,CAAC,GAAG,KAAK,EAAE,CAAC;IACZ,iBAAiB,oBAAoC,qBAAK,OAAO;IACjE,WAAW;IACX,UAAU,CAAC,eAAe,gBAAgB;IAC1C,CAAC;GACF;EACD,CAAC"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "./utils.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cva } from "class-variance-authority";
|
|
4
|
-
|
|
5
|
-
//#region ../ui-kit-web/dist/ui/empty.js
|
|
6
|
-
init_utils();
|
|
7
|
-
function Empty({ className,...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx("div", {
|
|
9
|
-
"data-slot": "empty",
|
|
10
|
-
className: cn("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", className),
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function EmptyHeader({ className,...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx("div", {
|
|
16
|
-
"data-slot": "empty-header",
|
|
17
|
-
className: cn("flex max-w-sm flex-col items-center gap-2 text-center", className),
|
|
18
|
-
...props
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
const emptyMediaVariants = cva("flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
22
|
-
variants: { variant: {
|
|
23
|
-
default: "bg-transparent",
|
|
24
|
-
icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6"
|
|
25
|
-
} },
|
|
26
|
-
defaultVariants: { variant: "default" }
|
|
27
|
-
});
|
|
28
|
-
function EmptyMedia({ className, variant = "default",...props }) {
|
|
29
|
-
return /* @__PURE__ */ jsx("div", {
|
|
30
|
-
"data-slot": "empty-icon",
|
|
31
|
-
"data-variant": variant,
|
|
32
|
-
className: cn(emptyMediaVariants({
|
|
33
|
-
variant,
|
|
34
|
-
className
|
|
35
|
-
})),
|
|
36
|
-
...props
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function EmptyTitle({ className,...props }) {
|
|
40
|
-
return /* @__PURE__ */ jsx("div", {
|
|
41
|
-
"data-slot": "empty-title",
|
|
42
|
-
className: cn("text-lg font-medium tracking-tight", className),
|
|
43
|
-
...props
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
function EmptyDescription({ className,...props }) {
|
|
47
|
-
return /* @__PURE__ */ jsx("div", {
|
|
48
|
-
"data-slot": "empty-description",
|
|
49
|
-
className: cn("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className),
|
|
50
|
-
...props
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function EmptyContent({ className,...props }) {
|
|
54
|
-
return /* @__PURE__ */ jsx("div", {
|
|
55
|
-
"data-slot": "empty-content",
|
|
56
|
-
className: cn("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", className),
|
|
57
|
-
...props
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
63
|
-
//# sourceMappingURL=empty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"empty.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/empty.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { cva } from \"class-variance-authority\";\n\n//#region ui/empty.tsx\nfunction Empty({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"empty\",\n\t\tclassName: cn(\"flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12\", className),\n\t\t...props\n\t});\n}\nfunction EmptyHeader({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"empty-header\",\n\t\tclassName: cn(\"flex max-w-sm flex-col items-center gap-2 text-center\", className),\n\t\t...props\n\t});\n}\nconst emptyMediaVariants = cva(\"flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0\", {\n\tvariants: { variant: {\n\t\tdefault: \"bg-transparent\",\n\t\ticon: \"bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\"\n\t} },\n\tdefaultVariants: { variant: \"default\" }\n});\nfunction EmptyMedia({ className, variant = \"default\",...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"empty-icon\",\n\t\t\"data-variant\": variant,\n\t\tclassName: cn(emptyMediaVariants({\n\t\t\tvariant,\n\t\t\tclassName\n\t\t})),\n\t\t...props\n\t});\n}\nfunction EmptyTitle({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"empty-title\",\n\t\tclassName: cn(\"text-lg font-medium tracking-tight\", className),\n\t\t...props\n\t});\n}\nfunction EmptyDescription({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"empty-description\",\n\t\tclassName: cn(\"text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4\", className),\n\t\t...props\n\t});\n}\nfunction EmptyContent({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"empty-content\",\n\t\tclassName: cn(\"flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };\n//# sourceMappingURL=empty.js.map"],"mappings":";;;;;YAAgC;AAKhC,SAAS,MAAM,EAAE,UAAU,GAAG,SAAS;AACtC,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,gIAAgI,UAAU;EACxJ,GAAG;EACH,CAAC;;AAEH,SAAS,YAAY,EAAE,UAAU,GAAG,SAAS;AAC5C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,yDAAyD,UAAU;EACjF,GAAG;EACH,CAAC;;AAEH,MAAM,qBAAqB,IAAI,+FAA+F;CAC7H,UAAU,EAAE,SAAS;EACpB,SAAS;EACT,MAAM;EACN,EAAE;CACH,iBAAiB,EAAE,SAAS,WAAW;CACvC,CAAC;AACF,SAAS,WAAW,EAAE,WAAW,UAAU,UAAU,GAAG,SAAS;AAChE,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,gBAAgB;EAChB,WAAW,GAAG,mBAAmB;GAChC;GACA;GACA,CAAC,CAAC;EACH,GAAG;EACH,CAAC;;AAEH,SAAS,WAAW,EAAE,UAAU,GAAG,SAAS;AAC3C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAG;EACH,CAAC;;AAEH,SAAS,iBAAiB,EAAE,UAAU,GAAG,SAAS;AACjD,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,2GAA2G,UAAU;EACnI,GAAG;EACH,CAAC;;AAEH,SAAS,aAAa,EAAE,UAAU,GAAG,SAAS;AAC7C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,iFAAiF,UAAU;EACzG,GAAG;EACH,CAAC"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn, init_utils } from "./utils.js";
|
|
5
|
-
import { Label } from "./label.js";
|
|
6
|
-
import { useMemo } from "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { cva } from "class-variance-authority";
|
|
9
|
-
|
|
10
|
-
//#region ../ui-kit-web/dist/ui/field.js
|
|
11
|
-
init_utils();
|
|
12
|
-
function FieldGroup({ className,...props }) {
|
|
13
|
-
return /* @__PURE__ */ jsx("div", {
|
|
14
|
-
"data-slot": "field-group",
|
|
15
|
-
className: cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 data-[slot=field-group]:*:gap-4", className),
|
|
16
|
-
...props
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const fieldVariants = cva("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
|
|
20
|
-
variants: { orientation: {
|
|
21
|
-
vertical: ["flex-col *:w-full [&>.sr-only]:w-auto"],
|
|
22
|
-
horizontal: [
|
|
23
|
-
"flex-row items-center",
|
|
24
|
-
"data-[slot=field-label]:*:flex-auto",
|
|
25
|
-
"has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
26
|
-
],
|
|
27
|
-
responsive: [
|
|
28
|
-
"flex-col *:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto",
|
|
29
|
-
"@md/field-group:data-[slot=field-label]:*:flex-auto",
|
|
30
|
-
"@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
31
|
-
]
|
|
32
|
-
} },
|
|
33
|
-
defaultVariants: { orientation: "vertical" }
|
|
34
|
-
});
|
|
35
|
-
function Field({ className, orientation = "vertical",...props }) {
|
|
36
|
-
return /* @__PURE__ */ jsx("div", {
|
|
37
|
-
role: "group",
|
|
38
|
-
"data-slot": "field",
|
|
39
|
-
"data-orientation": orientation,
|
|
40
|
-
className: cn(fieldVariants({ orientation }), className),
|
|
41
|
-
...props
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
function FieldLabel({ className,...props }) {
|
|
45
|
-
return /* @__PURE__ */ jsx(Label, {
|
|
46
|
-
"data-slot": "field-label",
|
|
47
|
-
className: cn("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4", "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", className),
|
|
48
|
-
...props
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function FieldDescription({ className,...props }) {
|
|
52
|
-
return /* @__PURE__ */ jsx("p", {
|
|
53
|
-
"data-slot": "field-description",
|
|
54
|
-
className: cn("text-muted-foreground text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", className),
|
|
55
|
-
...props
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function FieldError({ className, children, errors,...props }) {
|
|
59
|
-
const content = useMemo(() => {
|
|
60
|
-
if (children) return children;
|
|
61
|
-
if (!errors?.length) return null;
|
|
62
|
-
if (errors?.length == 1) return errors[0]?.message;
|
|
63
|
-
return /* @__PURE__ */ jsx("ul", {
|
|
64
|
-
className: "ml-4 flex list-disc flex-col gap-1",
|
|
65
|
-
children: errors.map((error, index) => error?.message && /* @__PURE__ */ jsx("li", { children: error.message }, index))
|
|
66
|
-
});
|
|
67
|
-
}, [children, errors]);
|
|
68
|
-
if (!content) return null;
|
|
69
|
-
return /* @__PURE__ */ jsx("div", {
|
|
70
|
-
role: "alert",
|
|
71
|
-
"data-slot": "field-error",
|
|
72
|
-
className: cn("text-destructive text-sm font-normal", className),
|
|
73
|
-
...props,
|
|
74
|
-
children: content
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
//#endregion
|
|
79
|
-
export { Field, FieldDescription, FieldError, FieldGroup, FieldLabel };
|
|
80
|
-
//# sourceMappingURL=field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/field.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport { Label } from \"./label.js\";\nimport { Separator } from \"./separator.js\";\nimport { useMemo } from \"react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport { cva } from \"class-variance-authority\";\n\n//#region ui/field.tsx\nfunction FieldSet({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"fieldset\", {\n\t\t\"data-slot\": \"field-set\",\n\t\tclassName: cn(\"flex flex-col gap-6\", \"has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3\", className),\n\t\t...props\n\t});\n}\nfunction FieldLegend({ className, variant = \"legend\",...props }) {\n\treturn /* @__PURE__ */ jsx(\"legend\", {\n\t\t\"data-slot\": \"field-legend\",\n\t\t\"data-variant\": variant,\n\t\tclassName: cn(\"mb-3 font-medium\", \"data-[variant=legend]:text-base\", \"data-[variant=label]:text-sm\", className),\n\t\t...props\n\t});\n}\nfunction FieldGroup({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"field-group\",\n\t\tclassName: cn(\"group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 data-[slot=field-group]:*:gap-4\", className),\n\t\t...props\n\t});\n}\nconst fieldVariants = cva(\"group/field flex w-full gap-3 data-[invalid=true]:text-destructive\", {\n\tvariants: { orientation: {\n\t\tvertical: [\"flex-col *:w-full [&>.sr-only]:w-auto\"],\n\t\thorizontal: [\n\t\t\t\"flex-row items-center\",\n\t\t\t\"data-[slot=field-label]:*:flex-auto\",\n\t\t\t\"has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\"\n\t\t],\n\t\tresponsive: [\n\t\t\t\"flex-col *:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto\",\n\t\t\t\"@md/field-group:data-[slot=field-label]:*:flex-auto\",\n\t\t\t\"@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px\"\n\t\t]\n\t} },\n\tdefaultVariants: { orientation: \"vertical\" }\n});\nfunction Field({ className, orientation = \"vertical\",...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\trole: \"group\",\n\t\t\"data-slot\": \"field\",\n\t\t\"data-orientation\": orientation,\n\t\tclassName: cn(fieldVariants({ orientation }), className),\n\t\t...props\n\t});\n}\nfunction FieldContent({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"field-content\",\n\t\tclassName: cn(\"group/field-content flex flex-1 flex-col gap-1.5 leading-snug\", className),\n\t\t...props\n\t});\n}\nfunction FieldLabel({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(Label, {\n\t\t\"data-slot\": \"field-label\",\n\t\tclassName: cn(\"group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50\", \"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4\", \"has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10\", className),\n\t\t...props\n\t});\n}\nfunction FieldTitle({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"field-label\",\n\t\tclassName: cn(\"flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50\", className),\n\t\t...props\n\t});\n}\nfunction FieldDescription({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"p\", {\n\t\t\"data-slot\": \"field-description\",\n\t\tclassName: cn(\"text-muted-foreground text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance\", \"last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5\", \"[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4\", className),\n\t\t...props\n\t});\n}\nfunction FieldSeparator({ children, className,...props }) {\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\t\"data-slot\": \"field-separator\",\n\t\t\"data-content\": !!children,\n\t\tclassName: cn(\"relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2\", className),\n\t\t...props,\n\t\tchildren: [/* @__PURE__ */ jsx(Separator, { className: \"absolute inset-0 top-1/2\" }), children && /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"bg-background text-muted-foreground relative mx-auto block w-fit px-2\",\n\t\t\t\"data-slot\": \"field-separator-content\",\n\t\t\tchildren\n\t\t})]\n\t});\n}\nfunction FieldError({ className, children, errors,...props }) {\n\tconst content = useMemo(() => {\n\t\tif (children) return children;\n\t\tif (!errors?.length) return null;\n\t\tif (errors?.length == 1) return errors[0]?.message;\n\t\treturn /* @__PURE__ */ jsx(\"ul\", {\n\t\t\tclassName: \"ml-4 flex list-disc flex-col gap-1\",\n\t\t\tchildren: errors.map((error, index) => error?.message && /* @__PURE__ */ jsx(\"li\", { children: error.message }, index))\n\t\t});\n\t}, [children, errors]);\n\tif (!content) return null;\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\trole: \"alert\",\n\t\t\"data-slot\": \"field-error\",\n\t\tclassName: cn(\"text-destructive text-sm font-normal\", className),\n\t\t...props,\n\t\tchildren: content\n\t});\n}\n\n//#endregion\nexport { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };\n//# sourceMappingURL=field.js.map"],"mappings":";;;;;;;;;;YAGgC;AAuBhC,SAAS,WAAW,EAAE,UAAU,GAAG,SAAS;AAC3C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,wIAAwI,UAAU;EAChK,GAAG;EACH,CAAC;;AAEH,MAAM,gBAAgB,IAAI,sEAAsE;CAC/F,UAAU,EAAE,aAAa;EACxB,UAAU,CAAC,wCAAwC;EACnD,YAAY;GACX;GACA;GACA;GACA;EACD,YAAY;GACX;GACA;GACA;GACA;EACD,EAAE;CACH,iBAAiB,EAAE,aAAa,YAAY;CAC5C,CAAC;AACF,SAAS,MAAM,EAAE,WAAW,cAAc,WAAW,GAAG,SAAS;AAChE,QAAuB,oBAAI,OAAO;EACjC,MAAM;EACN,aAAa;EACb,oBAAoB;EACpB,WAAW,GAAG,cAAc,EAAE,aAAa,CAAC,EAAE,UAAU;EACxD,GAAG;EACH,CAAC;;AASH,SAAS,WAAW,EAAE,UAAU,GAAG,SAAS;AAC3C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,gHAAgH,iKAAiK,6HAA6H,UAAU;EACta,GAAG;EACH,CAAC;;AASH,SAAS,iBAAiB,EAAE,UAAU,GAAG,SAAS;AACjD,QAAuB,oBAAI,KAAK;EAC/B,aAAa;EACb,WAAW,GAAG,uHAAuH,gEAAgE,qEAAqE,UAAU;EACpR,GAAG;EACH,CAAC;;AAeH,SAAS,WAAW,EAAE,WAAW,UAAU,OAAO,GAAG,SAAS;CAC7D,MAAM,UAAU,cAAc;AAC7B,MAAI,SAAU,QAAO;AACrB,MAAI,CAAC,QAAQ,OAAQ,QAAO;AAC5B,MAAI,QAAQ,UAAU,EAAG,QAAO,OAAO,IAAI;AAC3C,SAAuB,oBAAI,MAAM;GAChC,WAAW;GACX,UAAU,OAAO,KAAK,OAAO,UAAU,OAAO,WAA2B,oBAAI,MAAM,EAAE,UAAU,MAAM,SAAS,EAAE,MAAM,CAAC;GACvH,CAAC;IACA,CAAC,UAAU,OAAO,CAAC;AACtB,KAAI,CAAC,QAAS,QAAO;AACrB,QAAuB,oBAAI,OAAO;EACjC,MAAM;EACN,aAAa;EACb,WAAW,GAAG,wCAAwC,UAAU;EAChE,GAAG;EACH,UAAU;EACV,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import * as React$1 from "react";
|
|
5
|
-
import { Controller, FormProvider, useForm as useForm$1 } from "react-hook-form";
|
|
6
|
-
import { zodResolver as zodResolver$1 } from "@hookform/resolvers/zod";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import "@radix-ui/react-label";
|
|
9
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
10
|
-
|
|
11
|
-
//#region ../ui-kit-web/dist/ui/form.js
|
|
12
|
-
const Form = FormProvider;
|
|
13
|
-
const FormFieldContext = React$1.createContext({});
|
|
14
|
-
const FormItemContext = React$1.createContext({});
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { Form, useForm$1 as useForm, zodResolver$1 as zodResolver };
|
|
18
|
-
//# sourceMappingURL=form.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/form.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport { Label } from \"./label.js\";\nimport * as React$1 from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport \"@radix-ui/react-label\";\nimport { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from \"react-hook-form\";\nimport { zodResolver } from \"@hookform/resolvers/zod\";\n\n//#region ui/form.tsx\nconst Form = FormProvider;\nconst FormFieldContext = React$1.createContext({});\nconst FormField = ({ ...props }) => {\n\treturn /* @__PURE__ */ jsx(FormFieldContext.Provider, {\n\t\tvalue: { name: props.name },\n\t\tchildren: /* @__PURE__ */ jsx(Controller, { ...props })\n\t});\n};\nconst useFormField = () => {\n\tconst fieldContext = React$1.useContext(FormFieldContext);\n\tconst itemContext = React$1.useContext(FormItemContext);\n\tconst { getFieldState } = useFormContext();\n\tconst formState = useFormState({ name: fieldContext.name });\n\tconst fieldState = getFieldState(fieldContext.name, formState);\n\tif (!fieldContext) throw new Error(\"useFormField should be used within <FormField>\");\n\tconst { id } = itemContext;\n\treturn {\n\t\tid,\n\t\tname: fieldContext.name,\n\t\tformItemId: `${id}-form-item`,\n\t\tformDescriptionId: `${id}-form-item-description`,\n\t\tformMessageId: `${id}-form-item-message`,\n\t\t...fieldState\n\t};\n};\nconst FormItemContext = React$1.createContext({});\nfunction FormItem({ className,...props }) {\n\tconst id = React$1.useId();\n\treturn /* @__PURE__ */ jsx(FormItemContext.Provider, {\n\t\tvalue: { id },\n\t\tchildren: /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\"data-slot\": \"form-item\",\n\t\t\tclassName: cn(\"grid gap-2\", className),\n\t\t\t...props\n\t\t})\n\t});\n}\nfunction FormLabel({ className,...props }) {\n\tconst { error, formItemId } = useFormField();\n\treturn /* @__PURE__ */ jsx(Label, {\n\t\t\"data-slot\": \"form-label\",\n\t\t\"data-error\": !!error,\n\t\tclassName: cn(\"data-[error=true]:text-destructive\", className),\n\t\thtmlFor: formItemId,\n\t\t...props\n\t});\n}\nfunction FormControl({ ...props }) {\n\tconst { error, formItemId, formDescriptionId, formMessageId } = useFormField();\n\treturn /* @__PURE__ */ jsx(Slot, {\n\t\t\"data-slot\": \"form-control\",\n\t\tid: formItemId,\n\t\t\"aria-describedby\": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,\n\t\t\"aria-invalid\": !!error,\n\t\t...props\n\t});\n}\nfunction FormDescription({ className,...props }) {\n\tconst { formDescriptionId } = useFormField();\n\treturn /* @__PURE__ */ jsx(\"p\", {\n\t\t\"data-slot\": \"form-description\",\n\t\tid: formDescriptionId,\n\t\tclassName: cn(\"text-muted-foreground text-sm\", className),\n\t\t...props\n\t});\n}\nfunction FormMessage({ className,...props }) {\n\tconst { error, formMessageId } = useFormField();\n\tconst body = error ? String(error?.message ?? \"\") : props.children;\n\tif (!body) return null;\n\treturn /* @__PURE__ */ jsx(\"p\", {\n\t\t\"data-slot\": \"form-message\",\n\t\tid: formMessageId,\n\t\tclassName: cn(\"text-destructive text-sm\", className),\n\t\t...props,\n\t\tchildren: body\n\t});\n}\n\n//#endregion\nexport { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, zodResolver };\n//# sourceMappingURL=form.js.map"],"mappings":";;;;;;;;;;;AAaA,MAAM,OAAO;AACb,MAAM,mBAAmB,QAAQ,cAAc,EAAE,CAAC;AAwBlD,MAAM,kBAAkB,QAAQ,cAAc,EAAE,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { __esm } from "../../../_virtual/rolldown_runtime.js";
|
|
5
|
-
import { cn, init_utils } from "./utils.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
9
|
-
|
|
10
|
-
//#region ../ui-kit-web/dist/ui/hover-card.js
|
|
11
|
-
function HoverCard({ ...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx(HoverCardPrimitive.Root, {
|
|
13
|
-
"data-slot": "hover-card",
|
|
14
|
-
...props
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function HoverCardTrigger({ ...props }) {
|
|
18
|
-
return /* @__PURE__ */ jsx(HoverCardPrimitive.Trigger, {
|
|
19
|
-
"data-slot": "hover-card-trigger",
|
|
20
|
-
...props
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function HoverCardContent({ className, align = "center", sideOffset = 4,...props }) {
|
|
24
|
-
return /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, {
|
|
25
|
-
"data-slot": "hover-card-portal",
|
|
26
|
-
children: /* @__PURE__ */ jsx(HoverCardPrimitive.Content, {
|
|
27
|
-
"data-slot": "hover-card-content",
|
|
28
|
-
align,
|
|
29
|
-
sideOffset,
|
|
30
|
-
className: cn("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", className),
|
|
31
|
-
...props
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
var init_hover_card = __esm({ "../ui-kit-web/dist/ui/hover-card.js": (() => {
|
|
36
|
-
init_utils();
|
|
37
|
-
}) });
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
init_hover_card();
|
|
41
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger, init_hover_card };
|
|
42
|
-
//# sourceMappingURL=hover-card.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/hover-card.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport * as HoverCardPrimitive from \"@radix-ui/react-hover-card\";\n\n//#region ui/hover-card.tsx\nfunction HoverCard({ ...props }) {\n\treturn /* @__PURE__ */ jsx(HoverCardPrimitive.Root, {\n\t\t\"data-slot\": \"hover-card\",\n\t\t...props\n\t});\n}\nfunction HoverCardTrigger({ ...props }) {\n\treturn /* @__PURE__ */ jsx(HoverCardPrimitive.Trigger, {\n\t\t\"data-slot\": \"hover-card-trigger\",\n\t\t...props\n\t});\n}\nfunction HoverCardContent({ className, align = \"center\", sideOffset = 4,...props }) {\n\treturn /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, {\n\t\t\"data-slot\": \"hover-card-portal\",\n\t\tchildren: /* @__PURE__ */ jsx(HoverCardPrimitive.Content, {\n\t\t\t\"data-slot\": \"hover-card-content\",\n\t\t\talign,\n\t\t\tsideOffset,\n\t\t\tclassName: cn(\"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\", className),\n\t\t\t...props\n\t\t})\n\t});\n}\n\n//#endregion\nexport { HoverCard, HoverCardContent, HoverCardTrigger };\n//# sourceMappingURL=hover-card.js.map"],"mappings":";;;;;;;;;;AASA,SAAS,UAAU,EAAE,GAAG,SAAS;AAChC,QAAuB,oBAAI,mBAAmB,MAAM;EACnD,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,iBAAiB,EAAE,GAAG,SAAS;AACvC,QAAuB,oBAAI,mBAAmB,SAAS;EACtD,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,iBAAiB,EAAE,WAAW,QAAQ,UAAU,aAAa,EAAE,GAAG,SAAS;AACnF,QAAuB,oBAAI,mBAAmB,QAAQ;EACrD,aAAa;EACb,UAA0B,oBAAI,mBAAmB,SAAS;GACzD,aAAa;GACb;GACA;GACA,WAAW,GAAG,qeAAqe,UAAU;GAC7f,GAAG;GACH,CAAC;EACF,CAAC;;;aA5B6B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "./utils.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region ../ui-kit-web/dist/ui/input.js
|
|
6
|
-
init_utils();
|
|
7
|
-
function Input({ className, type,...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx("input", {
|
|
9
|
-
type,
|
|
10
|
-
"data-slot": "input",
|
|
11
|
-
className: cn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "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", className),
|
|
12
|
-
...props
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { Input };
|
|
18
|
-
//# sourceMappingURL=input.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/input.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\n\n//#region ui/input.tsx\nfunction Input({ className, type,...props }) {\n\treturn /* @__PURE__ */ jsx(\"input\", {\n\t\ttype,\n\t\t\"data-slot\": \"input\",\n\t\tclassName: cn(\"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\", \"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\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Input };\n//# sourceMappingURL=input.js.map"],"mappings":";;;;;YAAgC;AAKhC,SAAS,MAAM,EAAE,WAAW,KAAK,GAAG,SAAS;AAC5C,QAAuB,oBAAI,SAAS;EACnC;EACA,aAAa;EACb,WAAW,GAAG,8bAA8b,iFAAiF,0GAA0G,UAAU;EACjpB,GAAG;EACH,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn, init_utils } from "./utils.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
8
|
-
|
|
9
|
-
//#region ../ui-kit-web/dist/ui/label.js
|
|
10
|
-
init_utils();
|
|
11
|
-
function Label({ className,...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx(LabelPrimitive.Root, {
|
|
13
|
-
"data-slot": "label",
|
|
14
|
-
className: cn("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", className),
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { Label };
|
|
21
|
-
//# sourceMappingURL=label.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/label.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\n\n//#region ui/label.tsx\nfunction Label({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(LabelPrimitive.Root, {\n\t\t\"data-slot\": \"label\",\n\t\tclassName: cn(\"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\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Label };\n//# sourceMappingURL=label.js.map"],"mappings":";;;;;;;;;YAGgC;AAMhC,SAAS,MAAM,EAAE,UAAU,GAAG,SAAS;AACtC,QAAuB,oBAAI,eAAe,MAAM;EAC/C,aAAa;EACb,WAAW,GAAG,uNAAuN,UAAU;EAC/O,GAAG;EACH,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "../utils.js";
|
|
2
|
-
import { Button } from "../button.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region ../ui-kit-web/dist/ui/marketing/Hero.js
|
|
7
|
-
init_utils();
|
|
8
|
-
function Hero({ title, subtitle, primaryCta, secondaryCta, className }) {
|
|
9
|
-
return /* @__PURE__ */ jsxs("section", {
|
|
10
|
-
className: cn("mx-auto max-w-4xl py-16 text-center", className),
|
|
11
|
-
children: [
|
|
12
|
-
/* @__PURE__ */ jsx("h1", {
|
|
13
|
-
className: "text-4xl font-bold tracking-tight md:text-5xl",
|
|
14
|
-
children: title
|
|
15
|
-
}),
|
|
16
|
-
subtitle && /* @__PURE__ */ jsx("p", {
|
|
17
|
-
className: "text-muted-foreground mt-4 text-lg md:text-xl",
|
|
18
|
-
children: subtitle
|
|
19
|
-
}),
|
|
20
|
-
(primaryCta || secondaryCta) && /* @__PURE__ */ jsxs("div", {
|
|
21
|
-
className: "mt-8 flex items-center justify-center gap-3",
|
|
22
|
-
children: [primaryCta && (primaryCta.href ? /* @__PURE__ */ jsx(Button, {
|
|
23
|
-
asChild: true,
|
|
24
|
-
size: "lg",
|
|
25
|
-
children: /* @__PURE__ */ jsx("a", {
|
|
26
|
-
href: primaryCta.href,
|
|
27
|
-
children: primaryCta.label
|
|
28
|
-
})
|
|
29
|
-
}) : /* @__PURE__ */ jsx(Button, {
|
|
30
|
-
size: "lg",
|
|
31
|
-
onClick: primaryCta.onClick,
|
|
32
|
-
children: primaryCta.label
|
|
33
|
-
})), secondaryCta && (secondaryCta.href ? /* @__PURE__ */ jsx(Button, {
|
|
34
|
-
variant: "outline",
|
|
35
|
-
asChild: true,
|
|
36
|
-
size: "lg",
|
|
37
|
-
children: /* @__PURE__ */ jsx("a", {
|
|
38
|
-
href: secondaryCta.href,
|
|
39
|
-
children: secondaryCta.label
|
|
40
|
-
})
|
|
41
|
-
}) : /* @__PURE__ */ jsx(Button, {
|
|
42
|
-
variant: "outline",
|
|
43
|
-
size: "lg",
|
|
44
|
-
onClick: secondaryCta.onClick,
|
|
45
|
-
children: secondaryCta.label
|
|
46
|
-
}))]
|
|
47
|
-
})
|
|
48
|
-
]
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
//#endregion
|
|
53
|
-
export { Hero };
|
|
54
|
-
//# sourceMappingURL=Hero.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Hero.js","names":[],"sources":["../../../../../../ui-kit-web/dist/ui/marketing/Hero.js"],"sourcesContent":["import { cn } from \"../utils.js\";\nimport { Button } from \"../button.js\";\nimport \"react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\n\n//#region ui/marketing/Hero.tsx\nfunction Hero({ title, subtitle, primaryCta, secondaryCta, className }) {\n\treturn /* @__PURE__ */ jsxs(\"section\", {\n\t\tclassName: cn(\"mx-auto max-w-4xl py-16 text-center\", className),\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ jsx(\"h1\", {\n\t\t\t\tclassName: \"text-4xl font-bold tracking-tight md:text-5xl\",\n\t\t\t\tchildren: title\n\t\t\t}),\n\t\t\tsubtitle && /* @__PURE__ */ jsx(\"p\", {\n\t\t\t\tclassName: \"text-muted-foreground mt-4 text-lg md:text-xl\",\n\t\t\t\tchildren: subtitle\n\t\t\t}),\n\t\t\t(primaryCta || secondaryCta) && /* @__PURE__ */ jsxs(\"div\", {\n\t\t\t\tclassName: \"mt-8 flex items-center justify-center gap-3\",\n\t\t\t\tchildren: [primaryCta && (primaryCta.href ? /* @__PURE__ */ jsx(Button, {\n\t\t\t\t\tasChild: true,\n\t\t\t\t\tsize: \"lg\",\n\t\t\t\t\tchildren: /* @__PURE__ */ jsx(\"a\", {\n\t\t\t\t\t\thref: primaryCta.href,\n\t\t\t\t\t\tchildren: primaryCta.label\n\t\t\t\t\t})\n\t\t\t\t}) : /* @__PURE__ */ jsx(Button, {\n\t\t\t\t\tsize: \"lg\",\n\t\t\t\t\tonClick: primaryCta.onClick,\n\t\t\t\t\tchildren: primaryCta.label\n\t\t\t\t})), secondaryCta && (secondaryCta.href ? /* @__PURE__ */ jsx(Button, {\n\t\t\t\t\tvariant: \"outline\",\n\t\t\t\t\tasChild: true,\n\t\t\t\t\tsize: \"lg\",\n\t\t\t\t\tchildren: /* @__PURE__ */ jsx(\"a\", {\n\t\t\t\t\t\thref: secondaryCta.href,\n\t\t\t\t\t\tchildren: secondaryCta.label\n\t\t\t\t\t})\n\t\t\t\t}) : /* @__PURE__ */ jsx(Button, {\n\t\t\t\t\tvariant: \"outline\",\n\t\t\t\t\tsize: \"lg\",\n\t\t\t\t\tonClick: secondaryCta.onClick,\n\t\t\t\t\tchildren: secondaryCta.label\n\t\t\t\t}))]\n\t\t\t})\n\t\t]\n\t});\n}\n\n//#endregion\nexport { Hero };\n//# sourceMappingURL=Hero.js.map"],"mappings":";;;;;;YAAiC;AAMjC,SAAS,KAAK,EAAE,OAAO,UAAU,YAAY,cAAc,aAAa;AACvE,QAAuB,qBAAK,WAAW;EACtC,WAAW,GAAG,uCAAuC,UAAU;EAC/D,UAAU;GACO,oBAAI,MAAM;IACzB,WAAW;IACX,UAAU;IACV,CAAC;GACF,YAA4B,oBAAI,KAAK;IACpC,WAAW;IACX,UAAU;IACV,CAAC;IACD,cAAc,iBAAiC,qBAAK,OAAO;IAC3D,WAAW;IACX,UAAU,CAAC,eAAe,WAAW,OAAuB,oBAAI,QAAQ;KACvE,SAAS;KACT,MAAM;KACN,UAA0B,oBAAI,KAAK;MAClC,MAAM,WAAW;MACjB,UAAU,WAAW;MACrB,CAAC;KACF,CAAC,GAAmB,oBAAI,QAAQ;KAChC,MAAM;KACN,SAAS,WAAW;KACpB,UAAU,WAAW;KACrB,CAAC,GAAG,iBAAiB,aAAa,OAAuB,oBAAI,QAAQ;KACrE,SAAS;KACT,SAAS;KACT,MAAM;KACN,UAA0B,oBAAI,KAAK;MAClC,MAAM,aAAa;MACnB,UAAU,aAAa;MACvB,CAAC;KACF,CAAC,GAAmB,oBAAI,QAAQ;KAChC,SAAS;KACT,MAAM;KACN,SAAS,aAAa;KACtB,UAAU,aAAa;KACvB,CAAC,EAAE;IACJ,CAAC;GACF;EACD,CAAC"}
|