@lssm/lib.design-system 1.7.3 → 1.9.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 +99 -0
- package/dist/_virtual/rolldown_runtime.js +21 -12
- package/dist/components/agent/AgentMonitor.d.ts +29 -0
- package/dist/components/agent/AgentMonitor.d.ts.map +1 -0
- package/dist/components/agent/AgentMonitor.js +79 -0
- package/dist/components/agent/AgentMonitor.js.map +1 -0
- package/dist/components/agent/ApprovalQueue.d.ts +26 -0
- package/dist/components/agent/ApprovalQueue.d.ts.map +1 -0
- package/dist/components/agent/ApprovalQueue.js +89 -0
- package/dist/components/agent/ApprovalQueue.js.map +1 -0
- 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 +5 -5
- package/dist/components/atoms/ActionButtons.js.map +1 -1
- 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 +3 -3
- package/dist/components/atoms/Button.js.map +1 -1
- 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 +4 -4
- package/dist/components/atoms/Button.mobile.js.map +1 -1
- package/dist/components/atoms/ButtonLink.d.ts +2 -2
- package/dist/components/atoms/ButtonLink.js +1 -2
- package/dist/components/atoms/ButtonLink.js.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/ButtonLink.mobile.js +1 -1
- package/dist/components/atoms/ButtonLink.mobile.js.map +1 -1
- package/dist/components/atoms/Cta.d.ts +3 -3
- package/dist/components/atoms/Cta.js +1 -1
- package/dist/components/atoms/Cta.js.map +1 -1
- package/dist/components/atoms/Cta.mobile.js +1 -2
- package/dist/components/atoms/Cta.mobile.js.map +1 -1
- 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 +5 -5
- package/dist/components/atoms/DataChips.js.map +1 -1
- package/dist/components/atoms/EmptyState.d.ts +2 -2
- package/dist/components/atoms/EmptyState.d.ts.map +1 -1
- package/dist/components/atoms/EmptyState.js +1 -2
- package/dist/components/atoms/EmptyState.js.map +1 -1
- package/dist/components/atoms/ErrorState.d.ts +2 -2
- package/dist/components/atoms/ErrorState.js +1 -1
- package/dist/components/atoms/ErrorState.mobile.d.ts +2 -2
- package/dist/components/atoms/ErrorState.mobile.d.ts.map +1 -1
- 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 +2 -2
- package/dist/components/atoms/Input.js.map +1 -1
- package/dist/components/atoms/Input.mobile.d.ts +2 -2
- package/dist/components/atoms/Input.mobile.js +2 -2
- package/dist/components/atoms/Input.mobile.js.map +1 -1
- package/dist/components/atoms/Link.d.ts +2 -2
- package/dist/components/atoms/Link.js +1 -1
- package/dist/components/atoms/Link.js.map +1 -1
- package/dist/components/atoms/Link.web.d.ts +2 -2
- package/dist/components/atoms/Link.web.js +1 -1
- package/dist/components/atoms/Link.web.js.map +1 -1
- package/dist/components/atoms/LoaderCircular.d.ts +4 -4
- package/dist/components/atoms/LoaderCircular.js +3 -4
- package/dist/components/atoms/LoaderCircular.js.map +1 -1
- package/dist/components/atoms/LoaderCircular.mobile.d.ts +2 -2
- package/dist/components/atoms/NavBrand.d.ts +2 -2
- package/dist/components/atoms/NavBrand.js +1 -3
- 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 -2
- package/dist/components/atoms/Stepper.js.map +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 +2 -2
- package/dist/components/atoms/Textarea.js.map +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 +2 -2
- package/dist/components/atoms/Textarea.mobile.js.map +1 -1
- package/dist/components/data-view/DataViewDetail.d.ts +3 -2
- package/dist/components/data-view/DataViewDetail.d.ts.map +1 -1
- package/dist/components/data-view/DataViewDetail.js +9 -10
- package/dist/components/data-view/DataViewDetail.js.map +1 -1
- package/dist/components/data-view/DataViewList.d.ts +3 -2
- package/dist/components/data-view/DataViewList.d.ts.map +1 -1
- package/dist/components/data-view/DataViewList.js +5 -6
- package/dist/components/data-view/DataViewList.js.map +1 -1
- package/dist/components/data-view/DataViewRenderer.d.ts +20 -3
- package/dist/components/data-view/DataViewRenderer.d.ts.map +1 -1
- package/dist/components/data-view/DataViewRenderer.js +128 -50
- package/dist/components/data-view/DataViewRenderer.js.map +1 -1
- package/dist/components/data-view/DataViewTable.d.ts +3 -2
- package/dist/components/data-view/DataViewTable.d.ts.map +1 -1
- package/dist/components/data-view/DataViewTable.js +9 -10
- package/dist/components/data-view/DataViewTable.js.map +1 -1
- package/dist/components/data-view/utils.js +0 -1
- package/dist/components/data-view/utils.js.map +1 -1
- package/dist/components/forms/FormCardLayout.d.ts +2 -2
- package/dist/components/forms/FormCardLayout.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/components/forms/FormDialog.js +1 -2
- package/dist/components/forms/FormDialog.js.map +1 -1
- package/dist/components/forms/FormLayout.d.ts +4 -4
- package/dist/components/forms/FormLayout.d.ts.map +1 -1
- package/dist/components/forms/FormLayout.js +1 -3
- package/dist/components/forms/FormLayout.js.map +1 -1
- package/dist/components/forms/FormOneByOneLayout.d.ts +2 -2
- package/dist/components/forms/FormOneByOneLayout.d.ts.map +1 -1
- 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.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.d.ts.map +1 -1
- package/dist/components/forms/ZodForm.js +1 -2
- package/dist/components/forms/ZodForm.js.map +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 +2 -3
- 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 +2 -3
- 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.d.ts.map +1 -1
- package/dist/components/legal/atoms/LegalList.js +2 -3
- 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 +2 -3
- 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 +2 -3
- 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.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.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.js +2 -3
- 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/GDPRDataRequest.d.ts +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts +2 -2
- 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/TermsTemplate.d.ts +2 -2
- package/dist/components/legal/templates/TermsTemplate.js +0 -1
- package/dist/components/legal/templates/TermsTemplate.js.map +1 -1
- package/dist/components/molecules/AiLinkButton.d.ts +2 -2
- package/dist/components/molecules/AiLinkButton.d.ts.map +1 -1
- package/dist/components/molecules/AiLinkButton.js +1 -1
- package/dist/components/molecules/Breadcrumbs.d.ts +2 -2
- package/dist/components/molecules/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/molecules/Breadcrumbs.js +1 -2
- package/dist/components/molecules/Breadcrumbs.js.map +1 -1
- package/dist/components/molecules/CommandPalette.d.ts +2 -2
- package/dist/components/molecules/CommandPalette.js +1 -2
- package/dist/components/molecules/CommandPalette.js.map +1 -1
- package/dist/components/molecules/CommandSearchTrigger.d.ts +2 -2
- package/dist/components/molecules/CommandSearchTrigger.js +2 -4
- package/dist/components/molecules/CommandSearchTrigger.js.map +1 -1
- package/dist/components/molecules/EntityCard.d.ts +4 -4
- package/dist/components/molecules/EntityCard.js +3 -5
- 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 -5
- package/dist/components/molecules/HoverPreview.js.map +1 -1
- package/dist/components/molecules/LangSwitch.d.ts +2 -2
- package/dist/components/molecules/LangSwitch.js +0 -1
- package/dist/components/molecules/LangSwitch.js.map +1 -1
- 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 -3
- package/dist/components/molecules/MobileNavMenu.js.map +1 -1
- package/dist/components/molecules/NavItemCard.d.ts +2 -2
- package/dist/components/molecules/NavItemCard.d.ts.map +1 -1
- package/dist/components/molecules/NavItemCard.js +1 -3
- 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.d.ts.map +1 -1
- package/dist/components/molecules/OverviewCard.js +1 -2
- package/dist/components/molecules/OverviewCard.js.map +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.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonCircle/index.web.d.ts.map +1 -1
- 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 +3 -5
- package/dist/components/molecules/StatCard.js.map +1 -1
- package/dist/components/molecules/StatusChip.d.ts +4 -4
- package/dist/components/molecules/StatusChip.d.ts.map +1 -1
- package/dist/components/molecules/StatusChip.js +2 -4
- 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/Doc.js +0 -1
- package/dist/components/molecules/hover-previews/Doc.js.map +1 -1
- package/dist/components/molecules/hover-previews/Media.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Media.js +0 -1
- package/dist/components/molecules/hover-previews/Media.js.map +1 -1
- package/dist/components/molecules/hover-previews/Simple.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Simple.d.ts.map +1 -1
- package/dist/components/molecules/hover-previews/Simple.js +0 -1
- package/dist/components/molecules/hover-previews/Simple.js.map +1 -1
- package/dist/components/molecules/hover-previews/Stats.d.ts +2 -2
- package/dist/components/molecules/hover-previews/Stats.js +0 -1
- package/dist/components/molecules/hover-previews/Stats.js.map +1 -1
- package/dist/components/molecules/hover-previews/User.d.ts +2 -2
- package/dist/components/molecules/hover-previews/User.js +0 -1
- package/dist/components/molecules/hover-previews/User.js.map +1 -1
- package/dist/components/native/BottomTabs.mobile.d.ts +2 -2
- package/dist/components/native/BottomTabs.mobile.js +1 -3
- 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 +3 -4
- package/dist/components/native/FlatListScreen.mobile.js.map +1 -1
- 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 -2
- package/dist/components/native/SheetMenu.mobile.js.map +1 -1
- package/dist/components/organisms/AcademyLayout.d.ts +2 -2
- package/dist/components/organisms/AcademyLayout.js +2 -4
- 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 +3 -5
- 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 -2
- package/dist/components/organisms/AppHeader.mobile.js.map +1 -1
- package/dist/components/organisms/AppLayout.d.ts +2 -2
- package/dist/components/organisms/AppLayout.d.ts.map +1 -1
- package/dist/components/organisms/AppLayout.js +3 -5
- 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.js +2 -2
- package/dist/components/organisms/FeaturesSection.d.ts +2 -2
- package/dist/components/organisms/FeaturesSection.js +1 -1
- package/dist/components/organisms/Footer.d.ts +2 -2
- 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 -6
- 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 -2
- package/dist/components/organisms/Header.mobile.js.map +1 -1
- package/dist/components/organisms/HeroResponsive.js +0 -1
- package/dist/components/organisms/HeroResponsive.js.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 -3
- package/dist/components/organisms/ListCardPage.js.map +1 -1
- 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 -2
- package/dist/components/organisms/ListGridPage.js.map +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 -2
- package/dist/components/organisms/ListPageResponsive.js.map +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 -3
- package/dist/components/organisms/ListTablePage.js.map +1 -1
- package/dist/components/organisms/MarketingHeader.d.ts +2 -2
- package/dist/components/organisms/MarketingHeader.js +7 -9
- package/dist/components/organisms/MarketingHeader.js.map +1 -1
- package/dist/components/organisms/MarketingHeaderDesktop.d.ts +2 -2
- package/dist/components/organisms/MarketingHeaderDesktop.js +3 -5
- 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 -6
- 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 -4
- 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 -2
- package/dist/components/organisms/PageHeaderResponsive.js.map +1 -1
- package/dist/components/organisms/PageHeaderResponsive.mobile.d.ts +2 -2
- package/dist/components/organisms/PageHeaderResponsive.mobile.js +2 -3
- package/dist/components/organisms/PageHeaderResponsive.mobile.js.map +1 -1
- 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.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.mobile.js +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/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/keyboard.d.ts.map +1 -1
- package/dist/platform/useColorScheme.js +0 -1
- package/dist/platform/useColorScheme.js.map +1 -1
- package/dist/platform/useColorScheme.mobile.js +0 -1
- package/dist/platform/useColorScheme.mobile.js.map +1 -1
- package/dist/platform/useReducedMotion.js +0 -1
- package/dist/platform/useReducedMotion.js.map +1 -1
- package/dist/platform/useReducedMotion.mobile.js +0 -1
- package/dist/platform/useReducedMotion.mobile.js.map +1 -1
- package/dist/platform/useResponsive.js +0 -1
- package/dist/platform/useResponsive.js.map +1 -1
- package/dist/platform/useResponsive.mobile.js +0 -1
- package/dist/platform/useResponsive.mobile.js.map +1 -1
- package/dist/platform/withPlatformUI.js +0 -1
- package/dist/platform/withPlatformUI.js.map +1 -1
- package/dist/renderers/form-contract.d.ts +4 -1
- package/dist/renderers/form-contract.d.ts.map +1 -1
- package/dist/renderers/form-contract.js +9 -10
- package/dist/renderers/form-contract.js.map +1 -1
- package/dist/theme/tokenBridge.d.ts.map +1 -1
- package/dist/theme/tokenBridge.js +0 -1
- package/dist/theme/tokenBridge.js.map +1 -1
- package/dist/theme/tokens.js +0 -1
- package/dist/theme/tokens.js.map +1 -1
- package/dist/theme/variants.d.ts +3 -3
- package/dist/theme/variants.d.ts.map +1 -1
- package/dist/theme/variants.js +0 -1
- package/dist/theme/variants.js.map +1 -1
- package/package.json +157 -154
- package/dist/contracts/src/client/react/drivers/shadcn.js +0 -12
- package/dist/contracts/src/client/react/drivers/shadcn.js.map +0 -1
- package/dist/contracts/src/client/react/form-render.js +0 -299
- package/dist/contracts/src/client/react/form-render.js.map +0 -1
- package/dist/contracts/src/forms.js +0 -89
- package/dist/contracts/src/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 -283
- 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,50 +0,0 @@
|
|
|
1
|
-
import { Button } from "../../button.js";
|
|
2
|
-
import { Input } from "../../input.js";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { Search, X } from "lucide-react";
|
|
6
|
-
|
|
7
|
-
//#region ../ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js
|
|
8
|
-
const SearchInput = ({ value, onChange, placeholder = "Rechercher...", onClear, disabled = false, className = "", autoFocus = false }) => {
|
|
9
|
-
const handleClear = () => {
|
|
10
|
-
onChange("");
|
|
11
|
-
onClear?.();
|
|
12
|
-
};
|
|
13
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
14
|
-
className: `relative w-full ${className}`,
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ jsx("div", {
|
|
17
|
-
className: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",
|
|
18
|
-
children: /* @__PURE__ */ jsx(Search, { className: "text-muted-foreground h-4 w-4" })
|
|
19
|
-
}),
|
|
20
|
-
/* @__PURE__ */ jsx(Input, {
|
|
21
|
-
type: "text",
|
|
22
|
-
value,
|
|
23
|
-
onChange: (e) => onChange(e.target.value),
|
|
24
|
-
placeholder,
|
|
25
|
-
disabled,
|
|
26
|
-
autoFocus,
|
|
27
|
-
className: "pr-10 pl-10"
|
|
28
|
-
}),
|
|
29
|
-
value && /* @__PURE__ */ jsx("div", {
|
|
30
|
-
className: "absolute inset-y-0 right-0 flex items-center pr-3",
|
|
31
|
-
children: /* @__PURE__ */ jsxs(Button, {
|
|
32
|
-
type: "button",
|
|
33
|
-
variant: "ghost",
|
|
34
|
-
size: "sm",
|
|
35
|
-
onClick: handleClear,
|
|
36
|
-
disabled,
|
|
37
|
-
className: "h-6 w-6 p-0 hover:bg-transparent",
|
|
38
|
-
children: [/* @__PURE__ */ jsx(X, { className: "text-muted-foreground hover:text-foreground h-4 w-4" }), /* @__PURE__ */ jsx("span", {
|
|
39
|
-
className: "sr-only",
|
|
40
|
-
children: "Effacer la recherche"
|
|
41
|
-
})]
|
|
42
|
-
})
|
|
43
|
-
})
|
|
44
|
-
]
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
//#endregion
|
|
49
|
-
export { SearchInput };
|
|
50
|
-
//# sourceMappingURL=SearchInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.js","names":[],"sources":["../../../../../../../ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js"],"sourcesContent":["import { Button } from \"../../button.js\";\nimport { Input } from \"../../input.js\";\nimport React from \"react\";\nimport { Search, X } from \"lucide-react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\n\n//#region ui/atoms/SearchInput/SearchInput.tsx\nconst SearchInput = ({ value, onChange, placeholder = \"Rechercher...\", onClear, disabled = false, className = \"\", autoFocus = false }) => {\n\tconst handleClear = () => {\n\t\tonChange(\"\");\n\t\tonClear?.();\n\t};\n\treturn /* @__PURE__ */ jsxs(\"div\", {\n\t\tclassName: `relative w-full ${className}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3\",\n\t\t\t\tchildren: /* @__PURE__ */ jsx(Search, { className: \"text-muted-foreground h-4 w-4\" })\n\t\t\t}),\n\t\t\t/* @__PURE__ */ jsx(Input, {\n\t\t\t\ttype: \"text\",\n\t\t\t\tvalue,\n\t\t\t\tonChange: (e) => onChange(e.target.value),\n\t\t\t\tplaceholder,\n\t\t\t\tdisabled,\n\t\t\t\tautoFocus,\n\t\t\t\tclassName: \"pr-10 pl-10\"\n\t\t\t}),\n\t\t\tvalue && /* @__PURE__ */ jsx(\"div\", {\n\t\t\t\tclassName: \"absolute inset-y-0 right-0 flex items-center pr-3\",\n\t\t\t\tchildren: /* @__PURE__ */ jsxs(Button, {\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tvariant: \"ghost\",\n\t\t\t\t\tsize: \"sm\",\n\t\t\t\t\tonClick: handleClear,\n\t\t\t\t\tdisabled,\n\t\t\t\t\tclassName: \"h-6 w-6 p-0 hover:bg-transparent\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ jsx(X, { className: \"text-muted-foreground hover:text-foreground h-4 w-4\" }), /* @__PURE__ */ jsx(\"span\", {\n\t\t\t\t\t\tclassName: \"sr-only\",\n\t\t\t\t\t\tchildren: \"Effacer la recherche\"\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t})\n\t\t]\n\t});\n};\n\n//#endregion\nexport { SearchInput };\n//# sourceMappingURL=SearchInput.js.map"],"mappings":";;;;;;;AAOA,MAAM,eAAe,EAAE,OAAO,UAAU,cAAc,iBAAiB,SAAS,WAAW,OAAO,YAAY,IAAI,YAAY,YAAY;CACzI,MAAM,oBAAoB;AACzB,WAAS,GAAG;AACZ,aAAW;;AAEZ,QAAuB,qBAAK,OAAO;EAClC,WAAW,mBAAmB;EAC9B,UAAU;GACO,oBAAI,OAAO;IAC1B,WAAW;IACX,UAA0B,oBAAI,QAAQ,EAAE,WAAW,iCAAiC,CAAC;IACrF,CAAC;GACc,oBAAI,OAAO;IAC1B,MAAM;IACN;IACA,WAAW,MAAM,SAAS,EAAE,OAAO,MAAM;IACzC;IACA;IACA;IACA,WAAW;IACX,CAAC;GACF,SAAyB,oBAAI,OAAO;IACnC,WAAW;IACX,UAA0B,qBAAK,QAAQ;KACtC,MAAM;KACN,SAAS;KACT,MAAM;KACN,SAAS;KACT;KACA,WAAW;KACX,UAAU,CAAiB,oBAAI,GAAG,EAAE,WAAW,uDAAuD,CAAC,EAAkB,oBAAI,QAAQ;MACpI,WAAW;MACX,UAAU;MACV,CAAC,CAAC;KACH,CAAC;IACF,CAAC;GACF;EACD,CAAC"}
|
|
@@ -1,35 +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 AvatarPrimitive from "@radix-ui/react-avatar";
|
|
8
|
-
|
|
9
|
-
//#region ../ui-kit-web/dist/ui/avatar.js
|
|
10
|
-
init_utils();
|
|
11
|
-
function Avatar({ className,...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx(AvatarPrimitive.Root, {
|
|
13
|
-
"data-slot": "avatar",
|
|
14
|
-
className: cn("relative flex size-8 shrink-0 overflow-hidden rounded-full", className),
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function AvatarImage({ className,...props }) {
|
|
19
|
-
return /* @__PURE__ */ jsx(AvatarPrimitive.Image, {
|
|
20
|
-
"data-slot": "avatar-image",
|
|
21
|
-
className: cn("aspect-square size-full", className),
|
|
22
|
-
...props
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function AvatarFallback({ className,...props }) {
|
|
26
|
-
return /* @__PURE__ */ jsx(AvatarPrimitive.Fallback, {
|
|
27
|
-
"data-slot": "avatar-fallback",
|
|
28
|
-
className: cn("bg-muted flex size-full items-center justify-center rounded-full", className),
|
|
29
|
-
...props
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
//#endregion
|
|
34
|
-
export { Avatar, AvatarFallback, AvatarImage };
|
|
35
|
-
//# sourceMappingURL=avatar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/avatar.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport * as AvatarPrimitive from \"@radix-ui/react-avatar\";\n\n//#region ui/avatar.tsx\nfunction Avatar({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(AvatarPrimitive.Root, {\n\t\t\"data-slot\": \"avatar\",\n\t\tclassName: cn(\"relative flex size-8 shrink-0 overflow-hidden rounded-full\", className),\n\t\t...props\n\t});\n}\nfunction AvatarImage({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(AvatarPrimitive.Image, {\n\t\t\"data-slot\": \"avatar-image\",\n\t\tclassName: cn(\"aspect-square size-full\", className),\n\t\t...props\n\t});\n}\nfunction AvatarFallback({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(AvatarPrimitive.Fallback, {\n\t\t\"data-slot\": \"avatar-fallback\",\n\t\tclassName: cn(\"bg-muted flex size-full items-center justify-center rounded-full\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Avatar, AvatarFallback, AvatarImage };\n//# sourceMappingURL=avatar.js.map"],"mappings":";;;;;;;;;YAGgC;AAMhC,SAAS,OAAO,EAAE,UAAU,GAAG,SAAS;AACvC,QAAuB,oBAAI,gBAAgB,MAAM;EAChD,aAAa;EACb,WAAW,GAAG,8DAA8D,UAAU;EACtF,GAAG;EACH,CAAC;;AAEH,SAAS,YAAY,EAAE,UAAU,GAAG,SAAS;AAC5C,QAAuB,oBAAI,gBAAgB,OAAO;EACjD,aAAa;EACb,WAAW,GAAG,2BAA2B,UAAU;EACnD,GAAG;EACH,CAAC;;AAEH,SAAS,eAAe,EAAE,UAAU,GAAG,SAAS;AAC/C,QAAuB,oBAAI,gBAAgB,UAAU;EACpD,aAAa;EACb,WAAW,GAAG,oEAAoE,UAAU;EAC5F,GAAG;EACH,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "./utils.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { cva } from "class-variance-authority";
|
|
5
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
6
|
-
|
|
7
|
-
//#region ../ui-kit-web/dist/ui/badge.js
|
|
8
|
-
init_utils();
|
|
9
|
-
const badgeVariants = cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden", {
|
|
10
|
-
variants: { variant: {
|
|
11
|
-
default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
12
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
13
|
-
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
14
|
-
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
15
|
-
} },
|
|
16
|
-
defaultVariants: { variant: "default" }
|
|
17
|
-
});
|
|
18
|
-
function Badge({ className, variant, asChild = false,...props }) {
|
|
19
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "span", {
|
|
20
|
-
"data-slot": "badge",
|
|
21
|
-
className: cn(badgeVariants({ variant }), className),
|
|
22
|
-
...props
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
export { Badge };
|
|
28
|
-
//# sourceMappingURL=badge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/badge.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva } from \"class-variance-authority\";\n\n//#region ui/badge.tsx\nconst badgeVariants = cva(\"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden\", {\n\tvariants: { variant: {\n\t\tdefault: \"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90\",\n\t\tsecondary: \"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90\",\n\t\tdestructive: \"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60\",\n\t\toutline: \"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground\"\n\t} },\n\tdefaultVariants: { variant: \"default\" }\n});\nfunction Badge({ className, variant, asChild = false,...props }) {\n\treturn /* @__PURE__ */ jsx(asChild ? Slot : \"span\", {\n\t\t\"data-slot\": \"badge\",\n\t\tclassName: cn(badgeVariants({ variant }), className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Badge, badgeVariants };\n//# sourceMappingURL=badge.js.map"],"mappings":";;;;;;;YAAgC;AAOhC,MAAM,gBAAgB,IAAI,kZAAkZ;CAC3a,UAAU,EAAE,SAAS;EACpB,SAAS;EACT,WAAW;EACX,aAAa;EACb,SAAS;EACT,EAAE;CACH,iBAAiB,EAAE,SAAS,WAAW;CACvC,CAAC;AACF,SAAS,MAAM,EAAE,WAAW,SAAS,UAAU,MAAM,GAAG,SAAS;AAChE,QAAuB,oBAAI,UAAU,OAAO,QAAQ;EACnD,aAAa;EACb,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAG;EACH,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "./utils.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
5
|
-
import { ChevronRight } from "lucide-react";
|
|
6
|
-
|
|
7
|
-
//#region ../ui-kit-web/dist/ui/breadcrumb.js
|
|
8
|
-
init_utils();
|
|
9
|
-
function Breadcrumb({ ...props }) {
|
|
10
|
-
return /* @__PURE__ */ jsx("nav", {
|
|
11
|
-
"aria-label": "breadcrumb",
|
|
12
|
-
"data-slot": "breadcrumb",
|
|
13
|
-
...props
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function BreadcrumbList({ className,...props }) {
|
|
17
|
-
return /* @__PURE__ */ jsx("ol", {
|
|
18
|
-
"data-slot": "breadcrumb-list",
|
|
19
|
-
className: cn("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", className),
|
|
20
|
-
...props
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function BreadcrumbItem({ className,...props }) {
|
|
24
|
-
return /* @__PURE__ */ jsx("li", {
|
|
25
|
-
"data-slot": "breadcrumb-item",
|
|
26
|
-
className: cn("inline-flex items-center gap-1.5", className),
|
|
27
|
-
...props
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function BreadcrumbLink({ asChild, className,...props }) {
|
|
31
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "a", {
|
|
32
|
-
"data-slot": "breadcrumb-link",
|
|
33
|
-
className: cn("hover:text-foreground transition-colors", className),
|
|
34
|
-
...props
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function BreadcrumbPage({ className,...props }) {
|
|
38
|
-
return /* @__PURE__ */ jsx("span", {
|
|
39
|
-
"data-slot": "breadcrumb-page",
|
|
40
|
-
role: "link",
|
|
41
|
-
"aria-disabled": "true",
|
|
42
|
-
"aria-current": "page",
|
|
43
|
-
className: cn("text-foreground font-normal", className),
|
|
44
|
-
...props
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function BreadcrumbSeparator({ children, className,...props }) {
|
|
48
|
-
return /* @__PURE__ */ jsx("li", {
|
|
49
|
-
"data-slot": "breadcrumb-separator",
|
|
50
|
-
role: "presentation",
|
|
51
|
-
"aria-hidden": "true",
|
|
52
|
-
className: cn("[&>svg]:size-3.5", className),
|
|
53
|
-
...props,
|
|
54
|
-
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
//#endregion
|
|
59
|
-
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
60
|
-
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/breadcrumb.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport \"react\";\nimport { ChevronRight, MoreHorizontal } from \"lucide-react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\n//#region ui/breadcrumb.tsx\nfunction Breadcrumb({ ...props }) {\n\treturn /* @__PURE__ */ jsx(\"nav\", {\n\t\t\"aria-label\": \"breadcrumb\",\n\t\t\"data-slot\": \"breadcrumb\",\n\t\t...props\n\t});\n}\nfunction BreadcrumbList({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"ol\", {\n\t\t\"data-slot\": \"breadcrumb-list\",\n\t\tclassName: cn(\"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5\", className),\n\t\t...props\n\t});\n}\nfunction BreadcrumbItem({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"li\", {\n\t\t\"data-slot\": \"breadcrumb-item\",\n\t\tclassName: cn(\"inline-flex items-center gap-1.5\", className),\n\t\t...props\n\t});\n}\nfunction BreadcrumbLink({ asChild, className,...props }) {\n\treturn /* @__PURE__ */ jsx(asChild ? Slot : \"a\", {\n\t\t\"data-slot\": \"breadcrumb-link\",\n\t\tclassName: cn(\"hover:text-foreground transition-colors\", className),\n\t\t...props\n\t});\n}\nfunction BreadcrumbPage({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"span\", {\n\t\t\"data-slot\": \"breadcrumb-page\",\n\t\trole: \"link\",\n\t\t\"aria-disabled\": \"true\",\n\t\t\"aria-current\": \"page\",\n\t\tclassName: cn(\"text-foreground font-normal\", className),\n\t\t...props\n\t});\n}\nfunction BreadcrumbSeparator({ children, className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"li\", {\n\t\t\"data-slot\": \"breadcrumb-separator\",\n\t\trole: \"presentation\",\n\t\t\"aria-hidden\": \"true\",\n\t\tclassName: cn(\"[&>svg]:size-3.5\", className),\n\t\t...props,\n\t\tchildren: children ?? /* @__PURE__ */ jsx(ChevronRight, {})\n\t});\n}\nfunction BreadcrumbEllipsis({ className,...props }) {\n\treturn /* @__PURE__ */ jsxs(\"span\", {\n\t\t\"data-slot\": \"breadcrumb-ellipsis\",\n\t\trole: \"presentation\",\n\t\t\"aria-hidden\": \"true\",\n\t\tclassName: cn(\"flex size-9 items-center justify-center\", className),\n\t\t...props,\n\t\tchildren: [/* @__PURE__ */ jsx(MoreHorizontal, { className: \"size-4\" }), /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"sr-only\",\n\t\t\tchildren: \"More\"\n\t\t})]\n\t});\n}\n\n//#endregion\nexport { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };\n//# sourceMappingURL=breadcrumb.js.map"],"mappings":";;;;;;;YAAgC;AAOhC,SAAS,WAAW,EAAE,GAAG,SAAS;AACjC,QAAuB,oBAAI,OAAO;EACjC,cAAc;EACd,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,eAAe,EAAE,UAAU,GAAG,SAAS;AAC/C,QAAuB,oBAAI,MAAM;EAChC,aAAa;EACb,WAAW,GAAG,4FAA4F,UAAU;EACpH,GAAG;EACH,CAAC;;AAEH,SAAS,eAAe,EAAE,UAAU,GAAG,SAAS;AAC/C,QAAuB,oBAAI,MAAM;EAChC,aAAa;EACb,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAG;EACH,CAAC;;AAEH,SAAS,eAAe,EAAE,SAAS,UAAU,GAAG,SAAS;AACxD,QAAuB,oBAAI,UAAU,OAAO,KAAK;EAChD,aAAa;EACb,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAG;EACH,CAAC;;AAEH,SAAS,eAAe,EAAE,UAAU,GAAG,SAAS;AAC/C,QAAuB,oBAAI,QAAQ;EAClC,aAAa;EACb,MAAM;EACN,iBAAiB;EACjB,gBAAgB;EAChB,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAG;EACH,CAAC;;AAEH,SAAS,oBAAoB,EAAE,UAAU,UAAU,GAAG,SAAS;AAC9D,QAAuB,oBAAI,MAAM;EAChC,aAAa;EACb,MAAM;EACN,eAAe;EACf,WAAW,GAAG,oBAAoB,UAAU;EAC5C,GAAG;EACH,UAAU,YAA4B,oBAAI,cAAc,EAAE,CAAC;EAC3D,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { cn, init_utils } from "./utils.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { cva } from "class-variance-authority";
|
|
5
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
6
|
-
|
|
7
|
-
//#region ../ui-kit-web/dist/ui/button.js
|
|
8
|
-
init_utils();
|
|
9
|
-
const buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-hidden 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", {
|
|
10
|
-
variants: {
|
|
11
|
-
variant: {
|
|
12
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
13
|
-
destructive: "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
14
|
-
outline: "border bg-background shadow-2xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
15
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
16
|
-
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
17
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
18
|
-
},
|
|
19
|
-
size: {
|
|
20
|
-
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
21
|
-
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
22
|
-
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
23
|
-
icon: "size-9"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
defaultVariants: {
|
|
27
|
-
variant: "default",
|
|
28
|
-
size: "default"
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
function Button({ className, variant, size, asChild = false,...props }) {
|
|
32
|
-
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
33
|
-
"data-slot": "button",
|
|
34
|
-
className: cn(buttonVariants({
|
|
35
|
-
variant,
|
|
36
|
-
size,
|
|
37
|
-
className
|
|
38
|
-
})),
|
|
39
|
-
...props
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
//#endregion
|
|
44
|
-
export { Button };
|
|
45
|
-
//# sourceMappingURL=button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/button.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva } from \"class-variance-authority\";\n\n//#region ui/button.tsx\nconst buttonVariants = cva(\"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-hidden 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\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: \"bg-primary text-primary-foreground hover:bg-primary/90\",\n\t\t\tdestructive: \"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60\",\n\t\t\toutline: \"border bg-background shadow-2xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50\",\n\t\t\tsecondary: \"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n\t\t\tghost: \"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50\",\n\t\t\tlink: \"text-primary underline-offset-4 hover:underline\"\n\t\t},\n\t\tsize: {\n\t\t\tdefault: \"h-9 px-4 py-2 has-[>svg]:px-3\",\n\t\t\tsm: \"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5\",\n\t\t\tlg: \"h-10 rounded-md px-6 has-[>svg]:px-4\",\n\t\t\ticon: \"size-9\"\n\t\t}\n\t},\n\tdefaultVariants: {\n\t\tvariant: \"default\",\n\t\tsize: \"default\"\n\t}\n});\nfunction Button({ className, variant, size, asChild = false,...props }) {\n\treturn /* @__PURE__ */ jsx(asChild ? Slot : \"button\", {\n\t\t\"data-slot\": \"button\",\n\t\tclassName: cn(buttonVariants({\n\t\t\tvariant,\n\t\t\tsize,\n\t\t\tclassName\n\t\t})),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Button, buttonVariants };\n//# sourceMappingURL=button.js.map"],"mappings":";;;;;;;YAAgC;AAOhC,MAAM,iBAAiB,IAAI,icAAic;CAC3d,UAAU;EACT,SAAS;GACR,SAAS;GACT,aAAa;GACb,SAAS;GACT,WAAW;GACX,OAAO;GACP,MAAM;GACN;EACD,MAAM;GACL,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACN;EACD;CACD,iBAAiB;EAChB,SAAS;EACT,MAAM;EACN;CACD,CAAC;AACF,SAAS,OAAO,EAAE,WAAW,SAAS,MAAM,UAAU,MAAM,GAAG,SAAS;AACvE,QAAuB,oBAAI,UAAU,OAAO,UAAU;EACrD,aAAa;EACb,WAAW,GAAG,eAAe;GAC5B;GACA;GACA;GACA,CAAC,CAAC;EACH,GAAG;EACH,CAAC"}
|
|
@@ -1,38 +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/card.js
|
|
6
|
-
init_utils();
|
|
7
|
-
function Card({ className,...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx("div", {
|
|
9
|
-
"data-slot": "card",
|
|
10
|
-
className: cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-2xs", className),
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function CardHeader({ className,...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx("div", {
|
|
16
|
-
"data-slot": "card-header",
|
|
17
|
-
className: cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className),
|
|
18
|
-
...props
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
function CardTitle({ className,...props }) {
|
|
22
|
-
return /* @__PURE__ */ jsx("div", {
|
|
23
|
-
"data-slot": "card-title",
|
|
24
|
-
className: cn("leading-none font-semibold", className),
|
|
25
|
-
...props
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function CardContent({ className,...props }) {
|
|
29
|
-
return /* @__PURE__ */ jsx("div", {
|
|
30
|
-
"data-slot": "card-content",
|
|
31
|
-
className: cn("px-6", className),
|
|
32
|
-
...props
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { Card, CardContent, CardHeader, CardTitle };
|
|
38
|
-
//# sourceMappingURL=card.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/card.js"],"sourcesContent":["import { cn } from \"./utils.js\";\nimport \"react\";\nimport { jsx } from \"react/jsx-runtime\";\n\n//#region ui/card.tsx\nfunction Card({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card\",\n\t\tclassName: cn(\"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-2xs\", className),\n\t\t...props\n\t});\n}\nfunction CardHeader({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card-header\",\n\t\tclassName: cn(\"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6\", className),\n\t\t...props\n\t});\n}\nfunction CardTitle({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card-title\",\n\t\tclassName: cn(\"leading-none font-semibold\", className),\n\t\t...props\n\t});\n}\nfunction CardDescription({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card-description\",\n\t\tclassName: cn(\"text-muted-foreground text-sm\", className),\n\t\t...props\n\t});\n}\nfunction CardAction({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card-action\",\n\t\tclassName: cn(\"col-start-2 row-span-2 row-start-1 self-start justify-self-end\", className),\n\t\t...props\n\t});\n}\nfunction CardContent({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card-content\",\n\t\tclassName: cn(\"px-6\", className),\n\t\t...props\n\t});\n}\nfunction CardFooter({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\t\"data-slot\": \"card-footer\",\n\t\tclassName: cn(\"flex items-center px-6 [.border-t]:pt-6\", className),\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };\n//# sourceMappingURL=card.js.map"],"mappings":";;;;;YAAgC;AAKhC,SAAS,KAAK,EAAE,UAAU,GAAG,SAAS;AACrC,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,sFAAsF,UAAU;EAC9G,GAAG;EACH,CAAC;;AAEH,SAAS,WAAW,EAAE,UAAU,GAAG,SAAS;AAC3C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,8JAA8J,UAAU;EACtL,GAAG;EACH,CAAC;;AAEH,SAAS,UAAU,EAAE,UAAU,GAAG,SAAS;AAC1C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,8BAA8B,UAAU;EACtD,GAAG;EACH,CAAC;;AAgBH,SAAS,YAAY,EAAE,UAAU,GAAG,SAAS;AAC5C,QAAuB,oBAAI,OAAO;EACjC,aAAa;EACb,WAAW,GAAG,QAAQ,UAAU;EAChC,GAAG;EACH,CAAC"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn, init_utils } from "./utils.js";
|
|
5
|
-
import { Button } from "./button.js";
|
|
6
|
-
import * as React$1 from "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { ArrowLeft, ArrowRight } from "lucide-react";
|
|
9
|
-
import useEmblaCarousel from "embla-carousel-react";
|
|
10
|
-
|
|
11
|
-
//#region ../ui-kit-web/dist/ui/carousel.js
|
|
12
|
-
init_utils();
|
|
13
|
-
const CarouselContext = React$1.createContext(null);
|
|
14
|
-
function useCarousel() {
|
|
15
|
-
const context = React$1.useContext(CarouselContext);
|
|
16
|
-
if (!context) throw new Error("useCarousel must be used within a <Carousel />");
|
|
17
|
-
return context;
|
|
18
|
-
}
|
|
19
|
-
function Carousel({ orientation = "horizontal", opts, setApi, plugins, className, children,...props }) {
|
|
20
|
-
const [carouselRef, api] = useEmblaCarousel({
|
|
21
|
-
...opts,
|
|
22
|
-
axis: orientation === "horizontal" ? "x" : "y"
|
|
23
|
-
}, plugins);
|
|
24
|
-
const [canScrollPrev, setCanScrollPrev] = React$1.useState(false);
|
|
25
|
-
const [canScrollNext, setCanScrollNext] = React$1.useState(false);
|
|
26
|
-
const onSelect = React$1.useCallback((api$1) => {
|
|
27
|
-
if (!api$1) return;
|
|
28
|
-
setCanScrollPrev(api$1.canScrollPrev());
|
|
29
|
-
setCanScrollNext(api$1.canScrollNext());
|
|
30
|
-
}, []);
|
|
31
|
-
const scrollPrev = React$1.useCallback(() => {
|
|
32
|
-
api?.scrollPrev();
|
|
33
|
-
}, [api]);
|
|
34
|
-
const scrollNext = React$1.useCallback(() => {
|
|
35
|
-
api?.scrollNext();
|
|
36
|
-
}, [api]);
|
|
37
|
-
const handleKeyDown = React$1.useCallback((event) => {
|
|
38
|
-
if (event.key === "ArrowLeft") {
|
|
39
|
-
event.preventDefault();
|
|
40
|
-
scrollPrev();
|
|
41
|
-
} else if (event.key === "ArrowRight") {
|
|
42
|
-
event.preventDefault();
|
|
43
|
-
scrollNext();
|
|
44
|
-
}
|
|
45
|
-
}, [scrollPrev, scrollNext]);
|
|
46
|
-
React$1.useEffect(() => {
|
|
47
|
-
if (!api || !setApi) return;
|
|
48
|
-
setApi(api);
|
|
49
|
-
}, [api, setApi]);
|
|
50
|
-
React$1.useEffect(() => {
|
|
51
|
-
if (!api) return;
|
|
52
|
-
onSelect(api);
|
|
53
|
-
api.on("reInit", onSelect);
|
|
54
|
-
api.on("select", onSelect);
|
|
55
|
-
return () => {
|
|
56
|
-
api?.off("select", onSelect);
|
|
57
|
-
};
|
|
58
|
-
}, [api, onSelect]);
|
|
59
|
-
return /* @__PURE__ */ jsx(CarouselContext.Provider, {
|
|
60
|
-
value: {
|
|
61
|
-
carouselRef,
|
|
62
|
-
api,
|
|
63
|
-
opts,
|
|
64
|
-
orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
|
|
65
|
-
scrollPrev,
|
|
66
|
-
scrollNext,
|
|
67
|
-
canScrollPrev,
|
|
68
|
-
canScrollNext
|
|
69
|
-
},
|
|
70
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
71
|
-
onKeyDownCapture: handleKeyDown,
|
|
72
|
-
className: cn("relative", className),
|
|
73
|
-
role: "region",
|
|
74
|
-
"aria-roledescription": "carousel",
|
|
75
|
-
"data-slot": "carousel",
|
|
76
|
-
...props,
|
|
77
|
-
children
|
|
78
|
-
})
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
function CarouselContent({ className,...props }) {
|
|
82
|
-
const { carouselRef, orientation } = useCarousel();
|
|
83
|
-
return /* @__PURE__ */ jsx("div", {
|
|
84
|
-
ref: carouselRef,
|
|
85
|
-
className: "overflow-hidden",
|
|
86
|
-
"data-slot": "carousel-content",
|
|
87
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
88
|
-
className: cn("flex", orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col", className),
|
|
89
|
-
...props
|
|
90
|
-
})
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
function CarouselItem({ className,...props }) {
|
|
94
|
-
const { orientation } = useCarousel();
|
|
95
|
-
return /* @__PURE__ */ jsx("div", {
|
|
96
|
-
role: "group",
|
|
97
|
-
"aria-roledescription": "slide",
|
|
98
|
-
"data-slot": "carousel-item",
|
|
99
|
-
className: cn("min-w-0 shrink-0 grow-0 basis-full", orientation === "horizontal" ? "pl-4" : "pt-4", className),
|
|
100
|
-
...props
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function CarouselPrevious({ className, variant = "outline", size = "icon",...props }) {
|
|
104
|
-
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
105
|
-
return /* @__PURE__ */ jsxs(Button, {
|
|
106
|
-
"data-slot": "carousel-previous",
|
|
107
|
-
variant,
|
|
108
|
-
size,
|
|
109
|
-
className: cn("absolute size-8 rounded-full", orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", className),
|
|
110
|
-
disabled: !canScrollPrev,
|
|
111
|
-
onClick: scrollPrev,
|
|
112
|
-
...props,
|
|
113
|
-
children: [/* @__PURE__ */ jsx(ArrowLeft, {}), /* @__PURE__ */ jsx("span", {
|
|
114
|
-
className: "sr-only",
|
|
115
|
-
children: "Previous slide"
|
|
116
|
-
})]
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function CarouselNext({ className, variant = "outline", size = "icon",...props }) {
|
|
120
|
-
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
121
|
-
return /* @__PURE__ */ jsxs(Button, {
|
|
122
|
-
"data-slot": "carousel-next",
|
|
123
|
-
variant,
|
|
124
|
-
size,
|
|
125
|
-
className: cn("absolute size-8 rounded-full", orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", className),
|
|
126
|
-
disabled: !canScrollNext,
|
|
127
|
-
onClick: scrollNext,
|
|
128
|
-
...props,
|
|
129
|
-
children: [/* @__PURE__ */ jsx(ArrowRight, {}), /* @__PURE__ */ jsx("span", {
|
|
130
|
-
className: "sr-only",
|
|
131
|
-
children: "Next slide"
|
|
132
|
-
})]
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
//#endregion
|
|
137
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
138
|
-
//# sourceMappingURL=carousel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/carousel.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport { Button } from \"./button.js\";\nimport * as React$1 from \"react\";\nimport { ArrowLeft, ArrowRight } from \"lucide-react\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nimport useEmblaCarousel from \"embla-carousel-react\";\n\n//#region ui/carousel.tsx\nconst CarouselContext = React$1.createContext(null);\nfunction useCarousel() {\n\tconst context = React$1.useContext(CarouselContext);\n\tif (!context) throw new Error(\"useCarousel must be used within a <Carousel />\");\n\treturn context;\n}\nfunction Carousel({ orientation = \"horizontal\", opts, setApi, plugins, className, children,...props }) {\n\tconst [carouselRef, api] = useEmblaCarousel({\n\t\t...opts,\n\t\taxis: orientation === \"horizontal\" ? \"x\" : \"y\"\n\t}, plugins);\n\tconst [canScrollPrev, setCanScrollPrev] = React$1.useState(false);\n\tconst [canScrollNext, setCanScrollNext] = React$1.useState(false);\n\tconst onSelect = React$1.useCallback((api$1) => {\n\t\tif (!api$1) return;\n\t\tsetCanScrollPrev(api$1.canScrollPrev());\n\t\tsetCanScrollNext(api$1.canScrollNext());\n\t}, []);\n\tconst scrollPrev = React$1.useCallback(() => {\n\t\tapi?.scrollPrev();\n\t}, [api]);\n\tconst scrollNext = React$1.useCallback(() => {\n\t\tapi?.scrollNext();\n\t}, [api]);\n\tconst handleKeyDown = React$1.useCallback((event) => {\n\t\tif (event.key === \"ArrowLeft\") {\n\t\t\tevent.preventDefault();\n\t\t\tscrollPrev();\n\t\t} else if (event.key === \"ArrowRight\") {\n\t\t\tevent.preventDefault();\n\t\t\tscrollNext();\n\t\t}\n\t}, [scrollPrev, scrollNext]);\n\tReact$1.useEffect(() => {\n\t\tif (!api || !setApi) return;\n\t\tsetApi(api);\n\t}, [api, setApi]);\n\tReact$1.useEffect(() => {\n\t\tif (!api) return;\n\t\tonSelect(api);\n\t\tapi.on(\"reInit\", onSelect);\n\t\tapi.on(\"select\", onSelect);\n\t\treturn () => {\n\t\t\tapi?.off(\"select\", onSelect);\n\t\t};\n\t}, [api, onSelect]);\n\treturn /* @__PURE__ */ jsx(CarouselContext.Provider, {\n\t\tvalue: {\n\t\t\tcarouselRef,\n\t\t\tapi,\n\t\t\topts,\n\t\t\torientation: orientation || (opts?.axis === \"y\" ? \"vertical\" : \"horizontal\"),\n\t\t\tscrollPrev,\n\t\t\tscrollNext,\n\t\t\tcanScrollPrev,\n\t\t\tcanScrollNext\n\t\t},\n\t\tchildren: /* @__PURE__ */ jsx(\"div\", {\n\t\t\tonKeyDownCapture: handleKeyDown,\n\t\t\tclassName: cn(\"relative\", className),\n\t\t\trole: \"region\",\n\t\t\t\"aria-roledescription\": \"carousel\",\n\t\t\t\"data-slot\": \"carousel\",\n\t\t\t...props,\n\t\t\tchildren\n\t\t})\n\t});\n}\nfunction CarouselContent({ className,...props }) {\n\tconst { carouselRef, orientation } = useCarousel();\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\tref: carouselRef,\n\t\tclassName: \"overflow-hidden\",\n\t\t\"data-slot\": \"carousel-content\",\n\t\tchildren: /* @__PURE__ */ jsx(\"div\", {\n\t\t\tclassName: cn(\"flex\", orientation === \"horizontal\" ? \"-ml-4\" : \"-mt-4 flex-col\", className),\n\t\t\t...props\n\t\t})\n\t});\n}\nfunction CarouselItem({ className,...props }) {\n\tconst { orientation } = useCarousel();\n\treturn /* @__PURE__ */ jsx(\"div\", {\n\t\trole: \"group\",\n\t\t\"aria-roledescription\": \"slide\",\n\t\t\"data-slot\": \"carousel-item\",\n\t\tclassName: cn(\"min-w-0 shrink-0 grow-0 basis-full\", orientation === \"horizontal\" ? \"pl-4\" : \"pt-4\", className),\n\t\t...props\n\t});\n}\nfunction CarouselPrevious({ className, variant = \"outline\", size = \"icon\",...props }) {\n\tconst { orientation, scrollPrev, canScrollPrev } = useCarousel();\n\treturn /* @__PURE__ */ jsxs(Button, {\n\t\t\"data-slot\": \"carousel-previous\",\n\t\tvariant,\n\t\tsize,\n\t\tclassName: cn(\"absolute size-8 rounded-full\", orientation === \"horizontal\" ? \"top-1/2 -left-12 -translate-y-1/2\" : \"-top-12 left-1/2 -translate-x-1/2 rotate-90\", className),\n\t\tdisabled: !canScrollPrev,\n\t\tonClick: scrollPrev,\n\t\t...props,\n\t\tchildren: [/* @__PURE__ */ jsx(ArrowLeft, {}), /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"sr-only\",\n\t\t\tchildren: \"Previous slide\"\n\t\t})]\n\t});\n}\nfunction CarouselNext({ className, variant = \"outline\", size = \"icon\",...props }) {\n\tconst { orientation, scrollNext, canScrollNext } = useCarousel();\n\treturn /* @__PURE__ */ jsxs(Button, {\n\t\t\"data-slot\": \"carousel-next\",\n\t\tvariant,\n\t\tsize,\n\t\tclassName: cn(\"absolute size-8 rounded-full\", orientation === \"horizontal\" ? \"top-1/2 -right-12 -translate-y-1/2\" : \"-bottom-12 left-1/2 -translate-x-1/2 rotate-90\", className),\n\t\tdisabled: !canScrollNext,\n\t\tonClick: scrollNext,\n\t\t...props,\n\t\tchildren: [/* @__PURE__ */ jsx(ArrowRight, {}), /* @__PURE__ */ jsx(\"span\", {\n\t\t\tclassName: \"sr-only\",\n\t\t\tchildren: \"Next slide\"\n\t\t})]\n\t});\n}\n\n//#endregion\nexport { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };\n//# sourceMappingURL=carousel.js.map"],"mappings":";;;;;;;;;;;YAGgC;AAQhC,MAAM,kBAAkB,QAAQ,cAAc,KAAK;AACnD,SAAS,cAAc;CACtB,MAAM,UAAU,QAAQ,WAAW,gBAAgB;AACnD,KAAI,CAAC,QAAS,OAAM,IAAI,MAAM,iDAAiD;AAC/E,QAAO;;AAER,SAAS,SAAS,EAAE,cAAc,cAAc,MAAM,QAAQ,SAAS,WAAW,SAAS,GAAG,SAAS;CACtG,MAAM,CAAC,aAAa,OAAO,iBAAiB;EAC3C,GAAG;EACH,MAAM,gBAAgB,eAAe,MAAM;EAC3C,EAAE,QAAQ;CACX,MAAM,CAAC,eAAe,oBAAoB,QAAQ,SAAS,MAAM;CACjE,MAAM,CAAC,eAAe,oBAAoB,QAAQ,SAAS,MAAM;CACjE,MAAM,WAAW,QAAQ,aAAa,UAAU;AAC/C,MAAI,CAAC,MAAO;AACZ,mBAAiB,MAAM,eAAe,CAAC;AACvC,mBAAiB,MAAM,eAAe,CAAC;IACrC,EAAE,CAAC;CACN,MAAM,aAAa,QAAQ,kBAAkB;AAC5C,OAAK,YAAY;IACf,CAAC,IAAI,CAAC;CACT,MAAM,aAAa,QAAQ,kBAAkB;AAC5C,OAAK,YAAY;IACf,CAAC,IAAI,CAAC;CACT,MAAM,gBAAgB,QAAQ,aAAa,UAAU;AACpD,MAAI,MAAM,QAAQ,aAAa;AAC9B,SAAM,gBAAgB;AACtB,eAAY;aACF,MAAM,QAAQ,cAAc;AACtC,SAAM,gBAAgB;AACtB,eAAY;;IAEX,CAAC,YAAY,WAAW,CAAC;AAC5B,SAAQ,gBAAgB;AACvB,MAAI,CAAC,OAAO,CAAC,OAAQ;AACrB,SAAO,IAAI;IACT,CAAC,KAAK,OAAO,CAAC;AACjB,SAAQ,gBAAgB;AACvB,MAAI,CAAC,IAAK;AACV,WAAS,IAAI;AACb,MAAI,GAAG,UAAU,SAAS;AAC1B,MAAI,GAAG,UAAU,SAAS;AAC1B,eAAa;AACZ,QAAK,IAAI,UAAU,SAAS;;IAE3B,CAAC,KAAK,SAAS,CAAC;AACnB,QAAuB,oBAAI,gBAAgB,UAAU;EACpD,OAAO;GACN;GACA;GACA;GACA,aAAa,gBAAgB,MAAM,SAAS,MAAM,aAAa;GAC/D;GACA;GACA;GACA;GACA;EACD,UAA0B,oBAAI,OAAO;GACpC,kBAAkB;GAClB,WAAW,GAAG,YAAY,UAAU;GACpC,MAAM;GACN,wBAAwB;GACxB,aAAa;GACb,GAAG;GACH;GACA,CAAC;EACF,CAAC;;AAEH,SAAS,gBAAgB,EAAE,UAAU,GAAG,SAAS;CAChD,MAAM,EAAE,aAAa,gBAAgB,aAAa;AAClD,QAAuB,oBAAI,OAAO;EACjC,KAAK;EACL,WAAW;EACX,aAAa;EACb,UAA0B,oBAAI,OAAO;GACpC,WAAW,GAAG,QAAQ,gBAAgB,eAAe,UAAU,kBAAkB,UAAU;GAC3F,GAAG;GACH,CAAC;EACF,CAAC;;AAEH,SAAS,aAAa,EAAE,UAAU,GAAG,SAAS;CAC7C,MAAM,EAAE,gBAAgB,aAAa;AACrC,QAAuB,oBAAI,OAAO;EACjC,MAAM;EACN,wBAAwB;EACxB,aAAa;EACb,WAAW,GAAG,sCAAsC,gBAAgB,eAAe,SAAS,QAAQ,UAAU;EAC9G,GAAG;EACH,CAAC;;AAEH,SAAS,iBAAiB,EAAE,WAAW,UAAU,WAAW,OAAO,OAAO,GAAG,SAAS;CACrF,MAAM,EAAE,aAAa,YAAY,kBAAkB,aAAa;AAChE,QAAuB,qBAAK,QAAQ;EACnC,aAAa;EACb;EACA;EACA,WAAW,GAAG,gCAAgC,gBAAgB,eAAe,sCAAsC,+CAA+C,UAAU;EAC5K,UAAU,CAAC;EACX,SAAS;EACT,GAAG;EACH,UAAU,CAAiB,oBAAI,WAAW,EAAE,CAAC,EAAkB,oBAAI,QAAQ;GAC1E,WAAW;GACX,UAAU;GACV,CAAC,CAAC;EACH,CAAC;;AAEH,SAAS,aAAa,EAAE,WAAW,UAAU,WAAW,OAAO,OAAO,GAAG,SAAS;CACjF,MAAM,EAAE,aAAa,YAAY,kBAAkB,aAAa;AAChE,QAAuB,qBAAK,QAAQ;EACnC,aAAa;EACb;EACA;EACA,WAAW,GAAG,gCAAgC,gBAAgB,eAAe,uCAAuC,kDAAkD,UAAU;EAChL,UAAU,CAAC;EACX,SAAS;EACT,GAAG;EACH,UAAU,CAAiB,oBAAI,YAAY,EAAE,CAAC,EAAkB,oBAAI,QAAQ;GAC3E,WAAW;GACX,UAAU;GACV,CAAC,CAAC;EACH,CAAC"}
|
|
@@ -1,27 +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 { CheckIcon } from "lucide-react";
|
|
8
|
-
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
9
|
-
|
|
10
|
-
//#region ../ui-kit-web/dist/ui/checkbox.js
|
|
11
|
-
init_utils();
|
|
12
|
-
function Checkbox({ className,...props }) {
|
|
13
|
-
return /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
14
|
-
"data-slot": "checkbox",
|
|
15
|
-
className: cn("aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive peer border-input focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:data-[state=checked]:bg-primary size-4 shrink-0 rounded-[4px] border shadow-2xs outline-hidden transition-shadow focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
16
|
-
...props,
|
|
17
|
-
children: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {
|
|
18
|
-
"data-slot": "checkbox-indicator",
|
|
19
|
-
className: "flex items-center justify-center text-current transition-none",
|
|
20
|
-
children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5" })
|
|
21
|
-
})
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export { Checkbox };
|
|
27
|
-
//# sourceMappingURL=checkbox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/checkbox.js"],"sourcesContent":["'use client';\n\n\nimport { cn } from \"./utils.js\";\nimport \"react\";\nimport { CheckIcon } from \"lucide-react\";\nimport { jsx } from \"react/jsx-runtime\";\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\n\n//#region ui/checkbox.tsx\nfunction Checkbox({ className,...props }) {\n\treturn /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {\n\t\t\"data-slot\": \"checkbox\",\n\t\tclassName: cn(\"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive peer border-input focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:data-[state=checked]:bg-primary size-4 shrink-0 rounded-[4px] border shadow-2xs outline-hidden transition-shadow focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50\", className),\n\t\t...props,\n\t\tchildren: /* @__PURE__ */ jsx(CheckboxPrimitive.Indicator, {\n\t\t\t\"data-slot\": \"checkbox-indicator\",\n\t\t\tclassName: \"flex items-center justify-center text-current transition-none\",\n\t\t\tchildren: /* @__PURE__ */ jsx(CheckIcon, { className: \"size-3.5\" })\n\t\t})\n\t});\n}\n\n//#endregion\nexport { Checkbox };\n//# sourceMappingURL=checkbox.js.map"],"mappings":";;;;;;;;;;YAGgC;AAOhC,SAAS,SAAS,EAAE,UAAU,GAAG,SAAS;AACzC,QAAuB,oBAAI,kBAAkB,MAAM;EAClD,aAAa;EACb,WAAW,GAAG,kfAAkf,UAAU;EAC1gB,GAAG;EACH,UAA0B,oBAAI,kBAAkB,WAAW;GAC1D,aAAa;GACb,WAAW;GACX,UAA0B,oBAAI,WAAW,EAAE,WAAW,YAAY,CAAC;GACnE,CAAC;EACF,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
6
|
-
|
|
7
|
-
//#region ../ui-kit-web/dist/ui/collapsible.js
|
|
8
|
-
function Collapsible({ ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx(CollapsiblePrimitive.Root, {
|
|
10
|
-
"data-slot": "collapsible",
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function CollapsibleTrigger({ ...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleTrigger, {
|
|
16
|
-
"data-slot": "collapsible-trigger",
|
|
17
|
-
...props
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function CollapsibleContent({ ...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleContent, {
|
|
22
|
-
"data-slot": "collapsible-content",
|
|
23
|
-
...props
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
29
|
-
//# sourceMappingURL=collapsible.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.js","names":[],"sources":["../../../../../ui-kit-web/dist/ui/collapsible.js"],"sourcesContent":["'use client';\n\n\nimport { jsx } from \"react/jsx-runtime\";\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\";\n\n//#region ui/collapsible.tsx\nfunction Collapsible({ ...props }) {\n\treturn /* @__PURE__ */ jsx(CollapsiblePrimitive.Root, {\n\t\t\"data-slot\": \"collapsible\",\n\t\t...props\n\t});\n}\nfunction CollapsibleTrigger({ ...props }) {\n\treturn /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleTrigger, {\n\t\t\"data-slot\": \"collapsible-trigger\",\n\t\t...props\n\t});\n}\nfunction CollapsibleContent({ ...props }) {\n\treturn /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleContent, {\n\t\t\"data-slot\": \"collapsible-content\",\n\t\t...props\n\t});\n}\n\n//#endregion\nexport { Collapsible, CollapsibleContent, CollapsibleTrigger };\n//# sourceMappingURL=collapsible.js.map"],"mappings":";;;;;;;AAOA,SAAS,YAAY,EAAE,GAAG,SAAS;AAClC,QAAuB,oBAAI,qBAAqB,MAAM;EACrD,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,mBAAmB,EAAE,GAAG,SAAS;AACzC,QAAuB,oBAAI,qBAAqB,oBAAoB;EACnE,aAAa;EACb,GAAG;EACH,CAAC;;AAEH,SAAS,mBAAmB,EAAE,GAAG,SAAS;AACzC,QAAuB,oBAAI,qBAAqB,oBAAoB;EACnE,aAAa;EACb,GAAG;EACH,CAAC"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { cn, init_utils } from "./utils.js";
|
|
5
|
-
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "./dialog.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { SearchIcon } from "lucide-react";
|
|
9
|
-
import { Command } from "cmdk";
|
|
10
|
-
|
|
11
|
-
//#region ../ui-kit-web/dist/ui/command.js
|
|
12
|
-
init_utils();
|
|
13
|
-
function Command$1({ className,...props }) {
|
|
14
|
-
return /* @__PURE__ */ jsx(Command, {
|
|
15
|
-
"data-slot": "command",
|
|
16
|
-
className: cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md", className),
|
|
17
|
-
...props
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function CommandDialog({ title = "Command Palette", description = "Search for a command to run...", children, className, showCloseButton = true,...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsxs(Dialog, {
|
|
22
|
-
...props,
|
|
23
|
-
children: [/* @__PURE__ */ jsxs(DialogHeader, {
|
|
24
|
-
className: "sr-only",
|
|
25
|
-
children: [/* @__PURE__ */ jsx(DialogTitle, { children: title }), /* @__PURE__ */ jsx(DialogDescription, { children: description })]
|
|
26
|
-
}), /* @__PURE__ */ jsx(DialogContent, {
|
|
27
|
-
className: cn("overflow-hidden p-0", className),
|
|
28
|
-
showCloseButton,
|
|
29
|
-
children: /* @__PURE__ */ jsx(Command$1, {
|
|
30
|
-
className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
|
|
31
|
-
children
|
|
32
|
-
})
|
|
33
|
-
})]
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function CommandInput({ className,...props }) {
|
|
37
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
38
|
-
"data-slot": "command-input-wrapper",
|
|
39
|
-
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
40
|
-
children: [/* @__PURE__ */ jsx(SearchIcon, { className: "size-4 shrink-0 opacity-50" }), /* @__PURE__ */ jsx(Command.Input, {
|
|
41
|
-
"data-slot": "command-input",
|
|
42
|
-
className: cn("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
43
|
-
...props
|
|
44
|
-
})]
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function CommandList({ className,...props }) {
|
|
48
|
-
return /* @__PURE__ */ jsx(Command.List, {
|
|
49
|
-
"data-slot": "command-list",
|
|
50
|
-
className: cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", className),
|
|
51
|
-
...props
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function CommandEmpty({ ...props }) {
|
|
55
|
-
return /* @__PURE__ */ jsx(Command.Empty, {
|
|
56
|
-
"data-slot": "command-empty",
|
|
57
|
-
className: "py-6 text-center text-sm",
|
|
58
|
-
...props
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
function CommandGroup({ className,...props }) {
|
|
62
|
-
return /* @__PURE__ */ jsx(Command.Group, {
|
|
63
|
-
"data-slot": "command-group",
|
|
64
|
-
className: cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
|
|
65
|
-
...props
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function CommandSeparator({ className,...props }) {
|
|
69
|
-
return /* @__PURE__ */ jsx(Command.Separator, {
|
|
70
|
-
"data-slot": "command-separator",
|
|
71
|
-
className: cn("bg-border -mx-1 h-px", className),
|
|
72
|
-
...props
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
function CommandItem({ className,...props }) {
|
|
76
|
-
return /* @__PURE__ */ jsx(Command.Item, {
|
|
77
|
-
"data-slot": "command-item",
|
|
78
|
-
className: cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_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=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
79
|
-
...props
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
function CommandShortcut({ className,...props }) {
|
|
83
|
-
return /* @__PURE__ */ jsx("span", {
|
|
84
|
-
"data-slot": "command-shortcut",
|
|
85
|
-
className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
86
|
-
...props
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
//#endregion
|
|
91
|
-
export { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
92
|
-
//# sourceMappingURL=command.js.map
|