@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,5 +1,5 @@
|
|
|
1
1
|
import { KeyboardOptions } from "../../lib/keyboard.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
3
3
|
import { TextareaProps as TextareaProps$1 } from "@lssm/lib.ui-kit-web/ui/textarea";
|
|
4
4
|
|
|
5
5
|
//#region src/components/atoms/Textarea.d.ts
|
|
@@ -36,7 +36,7 @@ declare function Textarea({
|
|
|
36
36
|
rows,
|
|
37
37
|
keyboard,
|
|
38
38
|
...rest
|
|
39
|
-
}: TextareaProps):
|
|
39
|
+
}: TextareaProps): react_jsx_runtime12.JSX.Element;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { Textarea, Textarea as default, TextareaProps };
|
|
42
42
|
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","names":[],"sources":["../../../src/components/atoms/Textarea.tsx"],"sourcesContent":[],"mappings":";;;;;UAOU,cAAA;;;EAAA,QAAA,CAAA,EAAA,CAAA,IAAA,EAAc,MAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","names":[],"sources":["../../../src/components/atoms/Textarea.tsx"],"sourcesContent":[],"mappings":";;;;;UAOU,cAAA;;;EAAA,QAAA,CAAA,EAAA,CAAA,IAAA,EAAc,MAAA,EAAA,GAcX,IAAA;EAGD,QAAA,CAAA,EAAA,GAAA,GAAa,IAAA;EACvB,OAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAD0B,MAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAI1B,WAAA,CAAA,EAAA,MAAA;EAAc,QAAA,CAAA,EAAA,OAAA;EAEA,QAAA,CAAA,EAAQ,OAAA;EACtB,SAAA,CAAA,EAAA,MAAA;EACA,IAAA,CAAA,EAAA,MAAA;EACA,SAAA,CAAA,EAAA,MAAA;EACA,IAAA,CAAA,EAAA,MAAA;EACA,QAAA,CAAA,EAdW,eAcX;;AAEA,KAbU,aAAA,GAAgB,IAa1B,CAZA,eAYA,EAAA,UAAA,GAAA,OAAA,GAAA,cAAA,CAAA,GATA,cASA;AACA,iBARc,QAAA,CAQd;EAAA,KAAA;EAAA,YAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,MAAA;EAAA,WAAA;EAAA,QAAA;EAAA,QAAA;EAAA,SAAA;EAAA,IAAA;EAAA,SAAA;EAAA,IAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAQC,aARD,CAAA,EAQc,mBAAA,CAAA,GAAA,CAAA,OARd"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mapKeyboardToWeb } from "../../lib/keyboard.js";
|
|
2
|
-
import { Textarea as Textarea$1 } from "../../ui-kit-web/dist/ui/textarea.js";
|
|
3
2
|
import * as React$1 from "react";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Textarea as Textarea$1 } from "@lssm/lib.ui-kit-web/ui/textarea";
|
|
5
5
|
|
|
6
6
|
//#region src/components/atoms/Textarea.tsx
|
|
7
7
|
function Textarea({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, placeholder, disabled, readOnly, maxLength, name, className, rows, keyboard,...rest }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyboardOptions } from "../../lib/keyboard.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
4
4
|
import { Textarea as Textarea$1 } from "@lssm/lib.ui-kit/ui/textarea";
|
|
5
5
|
|
|
6
6
|
//#region src/components/atoms/Textarea.mobile.d.ts
|
|
@@ -32,7 +32,7 @@ declare function Textarea({
|
|
|
32
32
|
className,
|
|
33
33
|
keyboard,
|
|
34
34
|
...rest
|
|
35
|
-
}: TextareaProps):
|
|
35
|
+
}: TextareaProps): react_jsx_runtime18.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { Textarea, Textarea as default, TextareaProps };
|
|
38
38
|
//# sourceMappingURL=Textarea.mobile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.mobile.d.ts","names":[],"sources":["../../../src/components/atoms/Textarea.mobile.tsx"],"sourcesContent":[],"mappings":";;;;;;UAIU,cAAA;;;EAAA,QAAA,CAAA,EAAA,CAAA,IAAA,EAAc,MAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"Textarea.mobile.d.ts","names":[],"sources":["../../../src/components/atoms/Textarea.mobile.tsx"],"sourcesContent":[],"mappings":";;;;;;UAIU,cAAA;;;EAAA,QAAA,CAAA,EAAA,CAAA,IAAA,EAAc,MAAA,EAAA,GAWX,IAAA;EAGR,QAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EACO,OAAA,CAAA,EAAA,GAAA,GAAa,IAAA;EACvB,MAAA,CAAA,EAAA,GAAA,GAAA,IAAA;EAD0B,WAAA,CAAA,EAAA,MAAA;EAI1B,QAAA,CAAA,EAAA,OAAA;EAAc,SAAA,CAAA,EAAA,MAAA;EAEA,SAAA,CAAA,EAAQ,MAAA;EACtB,QAAA,CAAA,EAXW,eAWX;;KARG,4BAAA,GAA+B,OAAA,CAAM,cAUxC,CAAA,OAV8D,UAU9D,CAAA;AACA,KAVU,aAAA,GAAgB,IAU1B,CATA,4BASA,EAAA,cAAA,GAAA,OAAA,GAAA,cAAA,CAAA,GANA,cAMA;AACA,iBALc,QAAA,CAKd;EAAA,KAAA;EAAA,YAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,MAAA;EAAA,WAAA;EAAA,QAAA;EAAA,SAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAQC,aARD,CAAA,EAQc,mBAAA,CAAA,GAAA,CAAA,OARd"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mapKeyboardToNative } from "../../lib/keyboard.js";
|
|
2
|
-
import { Textarea as Textarea$1 } from "../../ui-kit/dist/ui/textarea.js";
|
|
3
2
|
import "react";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Textarea as Textarea$1 } from "@lssm/lib.ui-kit/ui/textarea";
|
|
5
5
|
|
|
6
6
|
//#region src/components/atoms/Textarea.mobile.tsx
|
|
7
7
|
function Textarea({ value, defaultValue, onChange, onSubmit, onFocus, onBlur, placeholder, disabled, maxLength, className, keyboard,...rest }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
3
3
|
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
4
|
|
|
5
5
|
//#region src/components/data-view/DataViewDetail.d.ts
|
|
@@ -16,7 +16,7 @@ declare function DataViewDetail({
|
|
|
16
16
|
className,
|
|
17
17
|
emptyState,
|
|
18
18
|
headerActions
|
|
19
|
-
}: DataViewDetailProps):
|
|
19
|
+
}: DataViewDetailProps): react_jsx_runtime33.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DataViewDetail, DataViewDetailProps };
|
|
22
22
|
//# sourceMappingURL=DataViewDetail.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
3
3
|
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
4
|
|
|
5
5
|
//#region src/components/data-view/DataViewList.d.ts
|
|
@@ -18,7 +18,7 @@ declare function DataViewList({
|
|
|
18
18
|
renderActions,
|
|
19
19
|
onSelect,
|
|
20
20
|
emptyState
|
|
21
|
-
}: DataViewListProps):
|
|
21
|
+
}: DataViewListProps): react_jsx_runtime34.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { DataViewList, DataViewListProps };
|
|
24
24
|
//# sourceMappingURL=DataViewList.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
3
3
|
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
4
|
|
|
5
5
|
//#region src/components/data-view/DataViewRenderer.d.ts
|
|
@@ -26,7 +26,7 @@ declare function DataViewRenderer({
|
|
|
26
26
|
headerActions,
|
|
27
27
|
emptyState,
|
|
28
28
|
footer
|
|
29
|
-
}: DataViewRendererProps):
|
|
29
|
+
}: DataViewRendererProps): react_jsx_runtime102.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { DataViewRenderer, DataViewRendererProps };
|
|
32
32
|
//# sourceMappingURL=DataViewRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataViewRenderer.d.ts","names":[],"sources":["../../../src/components/data-view/DataViewRenderer.tsx"],"sourcesContent":[],"mappings":";;;;;UAYiB,qBAAA;QACT;UACE;EAFO,IAAA,CAAA,EAGR,MAHQ,CAAA,MAAA,EAAA,OAAqB,CAAA,GAAA,IAAA;EAC9B,SAAA,CAAA,EAAA,MAAA;EACE,aAAA,CAAA,EAAA,CAAA,IAAA,EAGe,MAHf,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAG2C,OAAA,CAAM,SAHjD;EACD,QAAA,CAAA,EAAA,CAAA,IAAA,EAGW,MAHX,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAAA,IAAA;EAEgB,UAAA,CAAA,EAAA,CAAA,IAAA,EAEH,MAFG,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAAA,IAAA;EAA4B,aAAM,CAAA,EAGzC,OAAA,CAAM,SAHmC;EACvC,UAAA,CAAA,EAGL,OAAA,CAAM,SAHD;EACE,MAAA,CAAA,EAGX,OAAA,CAAM,SAHK;;AAEP,iBAIC,gBAAA,CAJK;EAAA,IAAA;EAAA,KAAA;EAAA,IAAA;EAAA,SAAA;EAAA,aAAA;EAAA,QAAA;EAAA,UAAA;EAAA,aAAA;EAAA,UAAA;EAAA;AAAA,CAAA,EAelB,qBAfkB,CAAA,EAeG,
|
|
1
|
+
{"version":3,"file":"DataViewRenderer.d.ts","names":[],"sources":["../../../src/components/data-view/DataViewRenderer.tsx"],"sourcesContent":[],"mappings":";;;;;UAYiB,qBAAA;QACT;UACE;EAFO,IAAA,CAAA,EAGR,MAHQ,CAAA,MAAA,EAAA,OAAqB,CAAA,GAAA,IAAA;EAC9B,SAAA,CAAA,EAAA,MAAA;EACE,aAAA,CAAA,EAAA,CAAA,IAAA,EAGe,MAHf,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAG2C,OAAA,CAAM,SAHjD;EACD,QAAA,CAAA,EAAA,CAAA,IAAA,EAGW,MAHX,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAAA,IAAA;EAEgB,UAAA,CAAA,EAAA,CAAA,IAAA,EAEH,MAFG,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAAA,IAAA;EAA4B,aAAM,CAAA,EAGzC,OAAA,CAAM,SAHmC;EACvC,UAAA,CAAA,EAGL,OAAA,CAAM,SAHD;EACE,MAAA,CAAA,EAGX,OAAA,CAAM,SAHK;;AAEP,iBAIC,gBAAA,CAJK;EAAA,IAAA;EAAA,KAAA;EAAA,IAAA;EAAA,SAAA;EAAA,aAAA;EAAA,QAAA;EAAA,UAAA;EAAA,aAAA;EAAA,UAAA;EAAA;AAAA,CAAA,EAelB,qBAfkB,CAAA,EAeG,oBAAA,CAAA,GAAA,CAAA,OAfH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
3
3
|
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
4
|
|
|
5
5
|
//#region src/components/data-view/DataViewTable.d.ts
|
|
@@ -20,7 +20,7 @@ declare function DataViewTable({
|
|
|
20
20
|
emptyState,
|
|
21
21
|
headerActions,
|
|
22
22
|
footer
|
|
23
|
-
}: DataViewTableProps):
|
|
23
|
+
}: DataViewTableProps): react_jsx_runtime32.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { DataViewTable, DataViewTableProps };
|
|
26
26
|
//# sourceMappingURL=DataViewTable.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormCardLayout.d.ts
|
|
5
5
|
interface FormCardLayoutProps {
|
|
@@ -17,7 +17,7 @@ declare function FormCardLayout({
|
|
|
17
17
|
children,
|
|
18
18
|
className,
|
|
19
19
|
contentClassName
|
|
20
|
-
}: FormCardLayoutProps):
|
|
20
|
+
}: FormCardLayoutProps): react_jsx_runtime68.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FormCardLayout, FormCardLayoutProps };
|
|
23
23
|
//# sourceMappingURL=FormCardLayout.d.ts.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
-
import { Card, CardContent, CardHeader, CardTitle } from "../../ui-kit-web/dist/ui/card.js";
|
|
3
1
|
import "react";
|
|
4
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
4
|
+
import { Card, CardContent, CardHeader, CardTitle } from "@lssm/lib.ui-kit-web/ui/card";
|
|
5
5
|
|
|
6
6
|
//#region src/components/forms/FormCardLayout.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
function FormCardLayout({ title, description, actions, children, className, contentClassName }) {
|
|
9
8
|
return /* @__PURE__ */ jsxs(Card, {
|
|
10
9
|
className: cn("border-none shadow-2xs", className),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormCardLayout.js","names":[],"sources":["../../../src/components/forms/FormCardLayout.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n Card,\n CardContent,\n CardHeader,\n CardTitle,\n} from '@lssm/lib.ui-kit-web/ui/card';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport interface FormCardLayoutProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n actions?: React.ReactNode;\n children: React.ReactNode;\n className?: string;\n contentClassName?: string;\n}\n\nexport function FormCardLayout({\n title,\n description,\n actions,\n children,\n className,\n contentClassName,\n}: FormCardLayoutProps) {\n return (\n <Card className={cn('border-none shadow-2xs', className)}>\n {(title || description) && (\n <CardHeader>\n {title && <CardTitle>{title}</CardTitle>}\n {description && (\n <div className=\"text-muted-foreground text-base\">{description}</div>\n )}\n </CardHeader>\n )}\n <CardContent className={cn('p-4 md:p-5', contentClassName)}>\n <div className=\"space-y-4\">{children}</div>\n {actions && (\n <div className=\"mt-4 flex justify-end gap-2\">{actions}</div>\n )}\n </CardContent>\n </Card>\n );\n}\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"FormCardLayout.js","names":[],"sources":["../../../src/components/forms/FormCardLayout.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n Card,\n CardContent,\n CardHeader,\n CardTitle,\n} from '@lssm/lib.ui-kit-web/ui/card';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport interface FormCardLayoutProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n actions?: React.ReactNode;\n children: React.ReactNode;\n className?: string;\n contentClassName?: string;\n}\n\nexport function FormCardLayout({\n title,\n description,\n actions,\n children,\n className,\n contentClassName,\n}: FormCardLayoutProps) {\n return (\n <Card className={cn('border-none shadow-2xs', className)}>\n {(title || description) && (\n <CardHeader>\n {title && <CardTitle>{title}</CardTitle>}\n {description && (\n <div className=\"text-muted-foreground text-base\">{description}</div>\n )}\n </CardHeader>\n )}\n <CardContent className={cn('p-4 md:p-5', contentClassName)}>\n <div className=\"space-y-4\">{children}</div>\n {actions && (\n <div className=\"mt-4 flex justify-end gap-2\">{actions}</div>\n )}\n </CardContent>\n </Card>\n );\n}\n"],"mappings":";;;;;;AAkBA,SAAgB,eAAe,EAC7B,OACA,aACA,SACA,UACA,WACA,oBACsB;AACtB,QACE,qBAAC;EAAK,WAAW,GAAG,0BAA0B,UAAU;cACpD,SAAS,gBACT,qBAAC,yBACE,SAAS,oBAAC,uBAAW,QAAkB,EACvC,eACC,oBAAC;GAAI,WAAU;aAAmC;IAAkB,IAE3D,EAEf,qBAAC;GAAY,WAAW,GAAG,cAAc,iBAAiB;cACxD,oBAAC;IAAI,WAAU;IAAa;KAAe,EAC1C,WACC,oBAAC;IAAI,WAAU;cAA+B;KAAc;IAElD;GACT"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormDialog.d.ts
|
|
5
5
|
interface FormDialogProps {
|
|
@@ -19,7 +19,7 @@ declare function FormDialog({
|
|
|
19
19
|
children,
|
|
20
20
|
footer,
|
|
21
21
|
maxWidth
|
|
22
|
-
}: FormDialogProps):
|
|
22
|
+
}: FormDialogProps): react_jsx_runtime44.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FormDialog, FormDialogProps };
|
|
25
25
|
//# sourceMappingURL=FormDialog.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "../../ui-kit-web/dist/ui/dialog.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "@lssm/lib.ui-kit-web/ui/dialog";
|
|
7
7
|
|
|
8
8
|
//#region src/components/forms/FormDialog.tsx
|
|
9
9
|
function FormDialog({ open, onOpenChange, title, description, children, footer, maxWidth = "sm:max-w-[480px]" }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormLayout.d.ts
|
|
5
5
|
declare function FormSection({
|
|
@@ -8,14 +8,14 @@ declare function FormSection({
|
|
|
8
8
|
}: {
|
|
9
9
|
children: React$1.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime46.JSX.Element;
|
|
12
12
|
declare function FormRow({
|
|
13
13
|
children,
|
|
14
14
|
className
|
|
15
15
|
}: {
|
|
16
16
|
children: React$1.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime46.JSX.Element;
|
|
19
19
|
declare function FormGrid({
|
|
20
20
|
children,
|
|
21
21
|
cols,
|
|
@@ -24,7 +24,7 @@ declare function FormGrid({
|
|
|
24
24
|
children: React$1.ReactNode;
|
|
25
25
|
cols?: 1 | 2 | 3 | 4;
|
|
26
26
|
className?: string;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime46.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { FormGrid, FormRow, FormSection };
|
|
30
30
|
//# sourceMappingURL=FormLayout.d.ts.map
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { cn, init_utils } from "../../ui-kit-web/dist/ui/utils.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/components/forms/FormLayout.tsx
|
|
9
|
-
init_utils();
|
|
10
9
|
function FormSection({ children, className }) {
|
|
11
10
|
return /* @__PURE__ */ jsx("div", {
|
|
12
11
|
className: cn("space-y-4", className),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormLayout.js","names":[],"sources":["../../../src/components/forms/FormLayout.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function FormSection({\n children,\n className,\n}: {\n children: React.ReactNode;\n className?: string;\n}) {\n return <div className={cn('space-y-4', className)}>{children}</div>;\n}\n\nexport function FormRow({\n children,\n className,\n}: {\n children: React.ReactNode;\n className?: string;\n}) {\n return (\n <div className={cn('grid grid-cols-1 gap-4 md:grid-cols-2', className)}>\n {children}\n </div>\n );\n}\n\nexport function FormGrid({\n children,\n cols = 2,\n className,\n}: {\n children: React.ReactNode;\n cols?: 1 | 2 | 3 | 4;\n className?: string;\n}) {\n const preset =\n cols === 1\n ? 'grid-cols-1'\n : cols === 2\n ? 'grid-cols-2'\n : cols === 3\n ? 'grid-cols-3'\n : 'grid-cols-4';\n return <div className={cn('grid gap-4', preset, className)}>{children}</div>;\n}\n"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"FormLayout.js","names":[],"sources":["../../../src/components/forms/FormLayout.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function FormSection({\n children,\n className,\n}: {\n children: React.ReactNode;\n className?: string;\n}) {\n return <div className={cn('space-y-4', className)}>{children}</div>;\n}\n\nexport function FormRow({\n children,\n className,\n}: {\n children: React.ReactNode;\n className?: string;\n}) {\n return (\n <div className={cn('grid grid-cols-1 gap-4 md:grid-cols-2', className)}>\n {children}\n </div>\n );\n}\n\nexport function FormGrid({\n children,\n cols = 2,\n className,\n}: {\n children: React.ReactNode;\n cols?: 1 | 2 | 3 | 4;\n className?: string;\n}) {\n const preset =\n cols === 1\n ? 'grid-cols-1'\n : cols === 2\n ? 'grid-cols-2'\n : cols === 3\n ? 'grid-cols-3'\n : 'grid-cols-4';\n return <div className={cn('grid gap-4', preset, className)}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAKA,SAAgB,YAAY,EAC1B,UACA,aAIC;AACD,QAAO,oBAAC;EAAI,WAAW,GAAG,aAAa,UAAU;EAAG;GAAe;;AAGrE,SAAgB,QAAQ,EACtB,UACA,aAIC;AACD,QACE,oBAAC;EAAI,WAAW,GAAG,yCAAyC,UAAU;EACnE;GACG;;AAIV,SAAgB,SAAS,EACvB,UACA,OAAO,GACP,aAKC;AASD,QAAO,oBAAC;EAAI,WAAW,GAAG,cAPxB,SAAS,IACL,gBACA,SAAS,IACP,gBACA,SAAS,IACP,gBACA,eACsC,UAAU;EAAG;GAAe"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormOneByOneLayout.d.ts
|
|
5
5
|
interface OneByOneFieldDef {
|
|
@@ -20,7 +20,7 @@ declare function FormOneByOneLayout({
|
|
|
20
20
|
initialKey,
|
|
21
21
|
onComplete,
|
|
22
22
|
className
|
|
23
|
-
}: FormOneByOneLayoutProps):
|
|
23
|
+
}: FormOneByOneLayoutProps): react_jsx_runtime49.JSX.Element | null;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { FormOneByOneLayout, FormOneByOneLayoutProps, OneByOneFieldDef };
|
|
26
26
|
//# sourceMappingURL=FormOneByOneLayout.d.ts.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
1
|
import { Button } from "../atoms/Button.js";
|
|
3
2
|
import * as React$1 from "react";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
5
5
|
|
|
6
6
|
//#region src/components/forms/FormOneByOneLayout.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
function FormOneByOneLayout({ fields, initialKey, onComplete, className }) {
|
|
9
8
|
const indexByKey = React$1.useMemo(() => Object.fromEntries(fields.map((f, i) => [f.key, i])), [fields]);
|
|
10
9
|
const [idx, setIdx] = React$1.useState(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormOneByOneLayout.js","names":["React"],"sources":["../../../src/components/forms/FormOneByOneLayout.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Button } from '../atoms/Button';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport interface OneByOneFieldDef {\n key: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n input: React.ReactNode;\n validate?: () => boolean; // called before advancing\n}\n\nexport interface FormOneByOneLayoutProps {\n fields: OneByOneFieldDef[];\n initialKey?: string;\n onComplete?: () => void | Promise<void>;\n className?: string;\n}\n\nexport function FormOneByOneLayout({\n fields,\n initialKey,\n onComplete,\n className,\n}: FormOneByOneLayoutProps) {\n const indexByKey = React.useMemo(\n () => Object.fromEntries(fields.map((f, i) => [f.key, i])),\n [fields]\n );\n const [idx, setIdx] = React.useState<number>(() => {\n if (initialKey && initialKey in indexByKey) {\n return indexByKey[initialKey] || 0;\n }\n return 0;\n });\n const atLast = idx === fields.length - 1;\n const field = fields[idx];\n\n if (!field) {\n return null;\n }\n\n const next = async () => {\n if (field.validate && !field.validate()) return;\n if (atLast) {\n await onComplete?.();\n } else {\n setIdx((i) => Math.min(i + 1, fields.length - 1));\n }\n };\n const prev = () => setIdx((i) => Math.max(0, i - 1));\n\n return (\n <div\n className={cn(\n 'flex min-h-[320px] flex-col items-stretch justify-between',\n className\n )}\n >\n <div className=\"space-y-2\">\n <div className=\"text-lg font-medium\">{field.title}</div>\n {field.description && (\n <div className=\"text-muted-foreground text-base\">\n {field.description}\n </div>\n )}\n <div className=\"pt-2\">{field.input}</div>\n </div>\n <div className=\"mt-6 flex items-center justify-between\">\n <Button variant=\"ghost\" onPress={prev} disabled={idx === 0}>\n Back\n </Button>\n <Button onPress={next}>{atLast ? 'Done' : 'Continue'}</Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"FormOneByOneLayout.js","names":["React"],"sources":["../../../src/components/forms/FormOneByOneLayout.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Button } from '../atoms/Button';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport interface OneByOneFieldDef {\n key: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n input: React.ReactNode;\n validate?: () => boolean; // called before advancing\n}\n\nexport interface FormOneByOneLayoutProps {\n fields: OneByOneFieldDef[];\n initialKey?: string;\n onComplete?: () => void | Promise<void>;\n className?: string;\n}\n\nexport function FormOneByOneLayout({\n fields,\n initialKey,\n onComplete,\n className,\n}: FormOneByOneLayoutProps) {\n const indexByKey = React.useMemo(\n () => Object.fromEntries(fields.map((f, i) => [f.key, i])),\n [fields]\n );\n const [idx, setIdx] = React.useState<number>(() => {\n if (initialKey && initialKey in indexByKey) {\n return indexByKey[initialKey] || 0;\n }\n return 0;\n });\n const atLast = idx === fields.length - 1;\n const field = fields[idx];\n\n if (!field) {\n return null;\n }\n\n const next = async () => {\n if (field.validate && !field.validate()) return;\n if (atLast) {\n await onComplete?.();\n } else {\n setIdx((i) => Math.min(i + 1, fields.length - 1));\n }\n };\n const prev = () => setIdx((i) => Math.max(0, i - 1));\n\n return (\n <div\n className={cn(\n 'flex min-h-[320px] flex-col items-stretch justify-between',\n className\n )}\n >\n <div className=\"space-y-2\">\n <div className=\"text-lg font-medium\">{field.title}</div>\n {field.description && (\n <div className=\"text-muted-foreground text-base\">\n {field.description}\n </div>\n )}\n <div className=\"pt-2\">{field.input}</div>\n </div>\n <div className=\"mt-6 flex items-center justify-between\">\n <Button variant=\"ghost\" onPress={prev} disabled={idx === 0}>\n Back\n </Button>\n <Button onPress={next}>{atLast ? 'Done' : 'Continue'}</Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;AAmBA,SAAgB,mBAAmB,EACjC,QACA,YACA,YACA,aAC0B;CAC1B,MAAM,aAAaA,QAAM,cACjB,OAAO,YAAY,OAAO,KAAK,GAAG,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,EAC1D,CAAC,OAAO,CACT;CACD,MAAM,CAAC,KAAK,UAAUA,QAAM,eAAuB;AACjD,MAAI,cAAc,cAAc,WAC9B,QAAO,WAAW,eAAe;AAEnC,SAAO;GACP;CACF,MAAM,SAAS,QAAQ,OAAO,SAAS;CACvC,MAAM,QAAQ,OAAO;AAErB,KAAI,CAAC,MACH,QAAO;CAGT,MAAM,OAAO,YAAY;AACvB,MAAI,MAAM,YAAY,CAAC,MAAM,UAAU,CAAE;AACzC,MAAI,OACF,OAAM,cAAc;MAEpB,SAAQ,MAAM,KAAK,IAAI,IAAI,GAAG,OAAO,SAAS,EAAE,CAAC;;CAGrD,MAAM,aAAa,QAAQ,MAAM,KAAK,IAAI,GAAG,IAAI,EAAE,CAAC;AAEpD,QACE,qBAAC;EACC,WAAW,GACT,6DACA,UACD;aAED,qBAAC;GAAI,WAAU;;IACb,oBAAC;KAAI,WAAU;eAAuB,MAAM;MAAY;IACvD,MAAM,eACL,oBAAC;KAAI,WAAU;eACZ,MAAM;MACH;IAER,oBAAC;KAAI,WAAU;eAAQ,MAAM;MAAY;;IACrC,EACN,qBAAC;GAAI,WAAU;cACb,oBAAC;IAAO,SAAQ;IAAQ,SAAS;IAAM,UAAU,QAAQ;cAAG;KAEnD,EACT,oBAAC;IAAO,SAAS;cAAO,SAAS,SAAS;KAAoB;IAC1D;GACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormStepsLayout.d.ts
|
|
5
5
|
interface StepDef {
|
|
@@ -21,7 +21,7 @@ declare function FormStepsLayout({
|
|
|
21
21
|
onFinish,
|
|
22
22
|
canNext,
|
|
23
23
|
className
|
|
24
|
-
}: FormStepsLayoutProps):
|
|
24
|
+
}: FormStepsLayoutProps): react_jsx_runtime71.JSX.Element | null;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { FormStepsLayout, FormStepsLayoutProps, StepDef };
|
|
27
27
|
//# sourceMappingURL=FormStepsLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormStepsLayout.d.ts","names":[],"sources":["../../../src/components/forms/FormStepsLayout.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,OAAA;;SAER,OAAA,CAAM;EAFE,WAAO,CAAA,EAGR,OAAA,CAAM,SAHE;EAEf,OAAM,EAEJ,OAAA,CAAM,SAFF;;AAEJ,UAGM,oBAAA,CAHA;EAAS,KAAA,EAIjB,OAJiB,EAAA;EAGT,cAAA,CAAA,EAAA,MAAoB;EAQrB,QAAA,CAAA,EAAA,GAAA,GAAA,IAAe,GALL,OAKK,CAAA,IAAA,CAAA;EAC7B,OAAA,CAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,GAAA,OAAA;EACA,SAAA,CAAA,EAAA,MAAA;;AAEA,iBAJc,eAAA,CAId;EAAA,KAAA;EAAA,cAAA;EAAA,QAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAEC,oBAFD,CAAA,EAEqB,
|
|
1
|
+
{"version":3,"file":"FormStepsLayout.d.ts","names":[],"sources":["../../../src/components/forms/FormStepsLayout.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,OAAA;;SAER,OAAA,CAAM;EAFE,WAAO,CAAA,EAGR,OAAA,CAAM,SAHE;EAEf,OAAM,EAEJ,OAAA,CAAM,SAFF;;AAEJ,UAGM,oBAAA,CAHA;EAAS,KAAA,EAIjB,OAJiB,EAAA;EAGT,cAAA,CAAA,EAAA,MAAoB;EAQrB,QAAA,CAAA,EAAA,GAAA,GAAA,IAAe,GALL,OAKK,CAAA,IAAA,CAAA;EAC7B,OAAA,CAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,GAAA,OAAA;EACA,SAAA,CAAA,EAAA,MAAA;;AAEA,iBAJc,eAAA,CAId;EAAA,KAAA;EAAA,cAAA;EAAA,QAAA;EAAA,OAAA;EAAA;AAAA,CAAA,EAEC,oBAFD,CAAA,EAEqB,mBAAA,CAAA,GAAA,CAAA,OAAA,GAFrB,IAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
-
import { Separator } from "../../ui-kit-web/dist/ui/separator.js";
|
|
3
1
|
import { Button } from "../atoms/Button.js";
|
|
4
2
|
import * as React$1 from "react";
|
|
5
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
5
|
+
import { Separator } from "@lssm/lib.ui-kit-web/ui/separator";
|
|
6
6
|
|
|
7
7
|
//#region src/components/forms/FormStepsLayout.tsx
|
|
8
|
-
init_utils();
|
|
9
8
|
function FormStepsLayout({ steps, initialStepKey, onFinish, canNext, className }) {
|
|
10
9
|
const indexByKey = React$1.useMemo(() => Object.fromEntries(steps.map((s, i) => [s.key, i])), [steps]);
|
|
11
10
|
const [idx, setIdx] = React$1.useState(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormStepsLayout.js","names":["React"],"sources":["../../../src/components/forms/FormStepsLayout.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Button } from '../atoms/Button';\nimport { Separator } from '@lssm/lib.ui-kit-web/ui/separator';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport interface StepDef {\n key: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n content: React.ReactNode;\n}\n\nexport interface FormStepsLayoutProps {\n steps: StepDef[];\n initialStepKey?: string;\n onFinish?: () => void | Promise<void>;\n canNext?: (stepKey: string) => boolean;\n className?: string;\n}\n\nexport function FormStepsLayout({\n steps,\n initialStepKey,\n onFinish,\n canNext,\n className,\n}: FormStepsLayoutProps) {\n const indexByKey = React.useMemo(\n () => Object.fromEntries(steps.map((s, i) => [s.key, i])),\n [steps]\n );\n const [idx, setIdx] = React.useState<number>(() => {\n if (initialStepKey && initialStepKey in indexByKey)\n return indexByKey[initialStepKey] || 0;\n return 0;\n });\n const atFirst = idx === 0;\n const atLast = idx === steps.length - 1;\n const step = steps[idx];\n\n if (!step) {\n return null;\n }\n\n const handleNext = async () => {\n if (!atLast) {\n if (canNext && !canNext(step.key)) return;\n setIdx((i) => Math.min(i + 1, steps.length - 1));\n } else if (onFinish) {\n await onFinish();\n }\n };\n const handlePrev = () => setIdx((i) => Math.max(0, i - 1));\n\n return (\n <div className={cn('space-y-4', className)}>\n <div className=\"flex items-center justify-between\">\n <div className=\"truncate text-lg font-medium\">{step.title}</div>\n <div className=\"text-muted-foreground text-base\">\n {idx + 1} / {steps.length}\n </div>\n </div>\n {step.description && (\n <div className=\"text-muted-foreground text-base\">\n {step.description}\n </div>\n )}\n <Separator />\n <div>{step.content}</div>\n <div className=\"flex items-center justify-between\">\n <Button variant=\"ghost\" onPress={handlePrev} disabled={atFirst}>\n Back\n </Button>\n <Button onPress={handleNext}>{atLast ? 'Finish' : 'Next'}</Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"FormStepsLayout.js","names":["React"],"sources":["../../../src/components/forms/FormStepsLayout.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Button } from '../atoms/Button';\nimport { Separator } from '@lssm/lib.ui-kit-web/ui/separator';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport interface StepDef {\n key: string;\n title: React.ReactNode;\n description?: React.ReactNode;\n content: React.ReactNode;\n}\n\nexport interface FormStepsLayoutProps {\n steps: StepDef[];\n initialStepKey?: string;\n onFinish?: () => void | Promise<void>;\n canNext?: (stepKey: string) => boolean;\n className?: string;\n}\n\nexport function FormStepsLayout({\n steps,\n initialStepKey,\n onFinish,\n canNext,\n className,\n}: FormStepsLayoutProps) {\n const indexByKey = React.useMemo(\n () => Object.fromEntries(steps.map((s, i) => [s.key, i])),\n [steps]\n );\n const [idx, setIdx] = React.useState<number>(() => {\n if (initialStepKey && initialStepKey in indexByKey)\n return indexByKey[initialStepKey] || 0;\n return 0;\n });\n const atFirst = idx === 0;\n const atLast = idx === steps.length - 1;\n const step = steps[idx];\n\n if (!step) {\n return null;\n }\n\n const handleNext = async () => {\n if (!atLast) {\n if (canNext && !canNext(step.key)) return;\n setIdx((i) => Math.min(i + 1, steps.length - 1));\n } else if (onFinish) {\n await onFinish();\n }\n };\n const handlePrev = () => setIdx((i) => Math.max(0, i - 1));\n\n return (\n <div className={cn('space-y-4', className)}>\n <div className=\"flex items-center justify-between\">\n <div className=\"truncate text-lg font-medium\">{step.title}</div>\n <div className=\"text-muted-foreground text-base\">\n {idx + 1} / {steps.length}\n </div>\n </div>\n {step.description && (\n <div className=\"text-muted-foreground text-base\">\n {step.description}\n </div>\n )}\n <Separator />\n <div>{step.content}</div>\n <div className=\"flex items-center justify-between\">\n <Button variant=\"ghost\" onPress={handlePrev} disabled={atFirst}>\n Back\n </Button>\n <Button onPress={handleNext}>{atLast ? 'Finish' : 'Next'}</Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;AAoBA,SAAgB,gBAAgB,EAC9B,OACA,gBACA,UACA,SACA,aACuB;CACvB,MAAM,aAAaA,QAAM,cACjB,OAAO,YAAY,MAAM,KAAK,GAAG,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,EACzD,CAAC,MAAM,CACR;CACD,MAAM,CAAC,KAAK,UAAUA,QAAM,eAAuB;AACjD,MAAI,kBAAkB,kBAAkB,WACtC,QAAO,WAAW,mBAAmB;AACvC,SAAO;GACP;CACF,MAAM,UAAU,QAAQ;CACxB,MAAM,SAAS,QAAQ,MAAM,SAAS;CACtC,MAAM,OAAO,MAAM;AAEnB,KAAI,CAAC,KACH,QAAO;CAGT,MAAM,aAAa,YAAY;AAC7B,MAAI,CAAC,QAAQ;AACX,OAAI,WAAW,CAAC,QAAQ,KAAK,IAAI,CAAE;AACnC,WAAQ,MAAM,KAAK,IAAI,IAAI,GAAG,MAAM,SAAS,EAAE,CAAC;aACvC,SACT,OAAM,UAAU;;CAGpB,MAAM,mBAAmB,QAAQ,MAAM,KAAK,IAAI,GAAG,IAAI,EAAE,CAAC;AAE1D,QACE,qBAAC;EAAI,WAAW,GAAG,aAAa,UAAU;;GACxC,qBAAC;IAAI,WAAU;eACb,oBAAC;KAAI,WAAU;eAAgC,KAAK;MAAY,EAChE,qBAAC;KAAI,WAAU;;MACZ,MAAM;MAAE;MAAI,MAAM;;MACf;KACF;GACL,KAAK,eACJ,oBAAC;IAAI,WAAU;cACZ,KAAK;KACF;GAER,oBAAC,cAAY;GACb,oBAAC,mBAAK,KAAK,UAAc;GACzB,qBAAC;IAAI,WAAU;eACb,oBAAC;KAAO,SAAQ;KAAQ,SAAS;KAAY,UAAU;eAAS;MAEvD,EACT,oBAAC;KAAO,SAAS;eAAa,SAAS,WAAW;MAAgB;KAC9D;;GACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import
|
|
3
|
-
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
4
|
-
import { z } from "zod";
|
|
2
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
5
3
|
import { UseFormReturn } from "@lssm/lib.ui-kit-web/ui/form";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { FieldValues } from "react-hook-form";
|
|
6
6
|
|
|
7
7
|
//#region src/components/forms/ZodForm.d.ts
|
|
8
8
|
interface ZodFormProps<TSchema extends z.ZodType<any, FieldValues>, TFieldValues extends FieldValues = z.input<TSchema>, TOutput = z.output<TSchema>> {
|
|
@@ -16,7 +16,7 @@ declare function ZodForm<TSchema extends z.ZodType<any, FieldValues>, TFieldValu
|
|
|
16
16
|
defaultValues,
|
|
17
17
|
onSubmit,
|
|
18
18
|
children
|
|
19
|
-
}: ZodFormProps<TSchema, TFieldValues, TOutput>):
|
|
19
|
+
}: ZodFormProps<TSchema, TFieldValues, TOutput>): react_jsx_runtime72.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ZodForm, ZodFormProps };
|
|
22
22
|
//# sourceMappingURL=ZodForm.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { Form, useForm, zodResolver } from "../../ui-kit-web/dist/ui/form.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Form, useForm, zodResolver } from "@lssm/lib.ui-kit-web/ui/form";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
9
9
|
//#region src/components/forms/ZodForm.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/atoms/DefinitionList.d.ts
|
|
5
5
|
declare function DefinitionList({
|
|
@@ -11,7 +11,7 @@ declare function DefinitionList({
|
|
|
11
11
|
description: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
13
|
className?: string;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime96.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { DefinitionList };
|
|
17
17
|
//# sourceMappingURL=DefinitionList.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
2
1
|
import "react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
4
4
|
|
|
5
5
|
//#region src/components/legal/atoms/DefinitionList.tsx
|
|
6
|
-
init_utils();
|
|
7
6
|
function DefinitionList({ items, className }) {
|
|
8
7
|
return /* @__PURE__ */ jsx("dl", {
|
|
9
8
|
className: cn("grid grid-cols-1 gap-3 md:grid-cols-3", className),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefinitionList.js","names":[],"sources":["../../../../src/components/legal/atoms/DefinitionList.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function DefinitionList({\n items,\n className,\n}: {\n items: { term: React.ReactNode; description: React.ReactNode }[];\n className?: string;\n}) {\n return (\n <dl className={cn('grid grid-cols-1 gap-3 md:grid-cols-3', className)}>\n {items.map((it, idx) => (\n <div\n key={idx}\n className=\"col-span-1 grid grid-cols-3 gap-3 md:col-span-3\"\n >\n <dt className=\"text-foreground col-span-1 text-base font-medium\">\n {it.term}\n </dt>\n <dd className=\"text-muted-foreground col-span-2 text-base\">\n {it.description}\n </dd>\n </div>\n ))}\n </dl>\n );\n}\n"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"DefinitionList.js","names":[],"sources":["../../../../src/components/legal/atoms/DefinitionList.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function DefinitionList({\n items,\n className,\n}: {\n items: { term: React.ReactNode; description: React.ReactNode }[];\n className?: string;\n}) {\n return (\n <dl className={cn('grid grid-cols-1 gap-3 md:grid-cols-3', className)}>\n {items.map((it, idx) => (\n <div\n key={idx}\n className=\"col-span-1 grid grid-cols-3 gap-3 md:col-span-3\"\n >\n <dt className=\"text-foreground col-span-1 text-base font-medium\">\n {it.term}\n </dt>\n <dd className=\"text-muted-foreground col-span-2 text-base\">\n {it.description}\n </dd>\n </div>\n ))}\n </dl>\n );\n}\n"],"mappings":";;;;;AAGA,SAAgB,eAAe,EAC7B,OACA,aAIC;AACD,QACE,oBAAC;EAAG,WAAW,GAAG,yCAAyC,UAAU;YAClE,MAAM,KAAK,IAAI,QACd,qBAAC;GAEC,WAAU;cAEV,oBAAC;IAAG,WAAU;cACX,GAAG;KACD,EACL,oBAAC;IAAG,WAAU;cACX,GAAG;KACD;KARA,IASD,CACN;GACC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime95 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/atoms/KeyValueList.d.ts
|
|
5
5
|
declare function KeyValueList({
|
|
@@ -11,7 +11,7 @@ declare function KeyValueList({
|
|
|
11
11
|
value: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
13
|
className?: string;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime95.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { KeyValueList };
|
|
17
17
|
//# sourceMappingURL=KeyValueList.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
2
1
|
import "react";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
4
4
|
|
|
5
5
|
//#region src/components/legal/atoms/KeyValueList.tsx
|
|
6
|
-
init_utils();
|
|
7
6
|
function KeyValueList({ items, className }) {
|
|
8
7
|
return /* @__PURE__ */ jsx("div", {
|
|
9
8
|
className: cn("grid grid-cols-1 gap-2", className),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyValueList.js","names":[],"sources":["../../../../src/components/legal/atoms/KeyValueList.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function KeyValueList({\n items,\n className,\n}: {\n items: { key: React.ReactNode; value: React.ReactNode }[];\n className?: string;\n}) {\n return (\n <div className={cn('grid grid-cols-1 gap-2', className)}>\n {items.map((it, idx) => (\n <div key={idx} className=\"flex items-start gap-3\">\n <div className=\"text-foreground w-40 shrink-0 text-base font-medium\">\n {it.key}\n </div>\n <div className=\"text-muted-foreground flex-1 text-base\">\n {it.value}\n </div>\n </div>\n ))}\n </div>\n );\n}\n"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"KeyValueList.js","names":[],"sources":["../../../../src/components/legal/atoms/KeyValueList.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function KeyValueList({\n items,\n className,\n}: {\n items: { key: React.ReactNode; value: React.ReactNode }[];\n className?: string;\n}) {\n return (\n <div className={cn('grid grid-cols-1 gap-2', className)}>\n {items.map((it, idx) => (\n <div key={idx} className=\"flex items-start gap-3\">\n <div className=\"text-foreground w-40 shrink-0 text-base font-medium\">\n {it.key}\n </div>\n <div className=\"text-muted-foreground flex-1 text-base\">\n {it.value}\n </div>\n </div>\n ))}\n </div>\n );\n}\n"],"mappings":";;;;;AAGA,SAAgB,aAAa,EAC3B,OACA,aAIC;AACD,QACE,oBAAC;EAAI,WAAW,GAAG,0BAA0B,UAAU;YACpD,MAAM,KAAK,IAAI,QACd,qBAAC;GAAc,WAAU;cACvB,oBAAC;IAAI,WAAU;cACZ,GAAG;KACA,EACN,oBAAC;IAAI,WAAU;cACZ,GAAG;KACA;KANE,IAOJ,CACN;GACE"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalCallout.d.ts
|
|
7
7
|
declare const calloutVariants: (props?: ({
|
|
8
8
|
tone?: "info" | "warning" | "danger" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
10
10
|
type LegalCalloutProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof calloutVariants>;
|
|
11
11
|
declare function LegalCallout({
|
|
12
12
|
tone,
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: LegalCalloutProps):
|
|
15
|
+
}: LegalCalloutProps): react_jsx_runtime99.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { LegalCallout, LegalCalloutProps, calloutVariants };
|
|
18
18
|
//# sourceMappingURL=LegalCallout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalCallout.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalCallout.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM;;IAWJ
|
|
1
|
+
{"version":3,"file":"LegalCallout.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalCallout.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM;;IAWJ,gCAAA,CAAA;KAEU,iBAAA,GAAoB,OAAA,CAAM,eAAe,kBACnD,oBAAoB;AAdhB,iBAgBU,YAAA,CALd;EAAA,IAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAK0D,iBAL1D,CAAA,EAK2E,mBAAA,CAAA,GAAA,CAAA,OAL3E"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
2
1
|
import "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalCallout.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
const calloutVariants = cva("rounded-md border p-4", {
|
|
9
8
|
variants: { tone: {
|
|
10
9
|
info: "border-border bg-muted/30",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalCallout.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalCallout.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nconst calloutVariants = cva('rounded-md border p-4', {\n variants: {\n tone: {\n info: 'border-border bg-muted/30',\n warning: 'border-warning/50 bg-warning/10',\n danger: 'border-destructive/50 bg-destructive/10',\n },\n },\n defaultVariants: {\n tone: 'info',\n },\n});\n\nexport type LegalCalloutProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof calloutVariants>;\n\nexport function LegalCallout({ tone, className, ...props }: LegalCalloutProps) {\n return (\n <div className={cn(calloutVariants({ tone }), className)} {...props} />\n );\n}\n\nexport { calloutVariants };\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"LegalCallout.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalCallout.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nconst calloutVariants = cva('rounded-md border p-4', {\n variants: {\n tone: {\n info: 'border-border bg-muted/30',\n warning: 'border-warning/50 bg-warning/10',\n danger: 'border-destructive/50 bg-destructive/10',\n },\n },\n defaultVariants: {\n tone: 'info',\n },\n});\n\nexport type LegalCalloutProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof calloutVariants>;\n\nexport function LegalCallout({ tone, className, ...props }: LegalCalloutProps) {\n return (\n <div className={cn(calloutVariants({ tone }), className)} {...props} />\n );\n}\n\nexport { calloutVariants };\n"],"mappings":";;;;;;AAIA,MAAM,kBAAkB,IAAI,yBAAyB;CACnD,UAAU,EACR,MAAM;EACJ,MAAM;EACN,SAAS;EACT,QAAQ;EACT,EACF;CACD,iBAAiB,EACf,MAAM,QACP;CACF,CAAC;AAKF,SAAgB,aAAa,EAAE,MAAM,UAAW,GAAG,SAA4B;AAC7E,QACE,oBAAC;EAAI,WAAW,GAAG,gBAAgB,EAAE,MAAM,CAAC,EAAE,UAAU;EAAE,GAAI;GAAS"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalHeading.d.ts
|
|
7
7
|
declare const headingVariants: (props?: ({
|
|
8
8
|
level?: "h1" | "h2" | "h3" | "h4" | null | undefined;
|
|
9
9
|
tone?: "default" | "muted" | "accent" | null | undefined;
|
|
10
10
|
spacing?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types10.ClassProp) | undefined) => string;
|
|
12
12
|
type LegalHeadingProps = React$1.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof headingVariants> & {
|
|
13
13
|
as?: 'h1' | 'h2' | 'h3' | 'h4';
|
|
14
14
|
};
|
|
@@ -19,7 +19,7 @@ declare function LegalHeading({
|
|
|
19
19
|
spacing,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: LegalHeadingProps):
|
|
22
|
+
}: LegalHeadingProps): react_jsx_runtime98.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { LegalHeading, LegalHeadingProps, headingVariants };
|
|
25
25
|
//# sourceMappingURL=LegalHeading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalHeading.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalHeading.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM,uBAyBJ;;;;AA5BgE,CAAA,GA4BhE
|
|
1
|
+
{"version":3,"file":"LegalHeading.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalHeading.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM,uBAyBJ;;;;AA5BgE,CAAA,GA4BhE,gCAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AAEU,KAAA,iBAAA,GAAoB,OAAA,CAAM,cAAT,CAAwB,kBAAxB,CAAA,GAC3B,YAD2B,CAAA,OACP,eADO,CAAA,GAAA;EAAwB,EAAA,CAAA,EAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA;CAArB;AACV,iBAIN,YAAA,CAJM;EAAA,EAAA;EAAA,KAAA;EAAA,IAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAWnB,iBAXmB,CAAA,EAWF,mBAAA,CAAA,GAAA,CAAA,OAXE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
2
1
|
import "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalHeading.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
const headingVariants = cva("text-foreground tracking-tight", {
|
|
9
8
|
variants: {
|
|
10
9
|
level: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalHeading.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalHeading.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nconst headingVariants = cva('text-foreground tracking-tight', {\n variants: {\n level: {\n h1: 'text-3xl font-semibold md:text-4xl',\n h2: 'text-2xl font-semibold md:text-3xl',\n h3: 'text-xl font-semibold md:text-2xl',\n h4: 'text-lg font-semibold md:text-xl',\n },\n tone: {\n default: '',\n muted: 'text-muted-foreground',\n accent: 'text-primary',\n },\n spacing: {\n none: '',\n sm: 'mt-4',\n md: 'mt-6',\n lg: 'mt-8',\n },\n },\n defaultVariants: {\n level: 'h2',\n tone: 'default',\n spacing: 'md',\n },\n});\n\nexport type LegalHeadingProps = React.HTMLAttributes<HTMLHeadingElement> &\n VariantProps<typeof headingVariants> & {\n as?: 'h1' | 'h2' | 'h3' | 'h4';\n };\n\nexport function LegalHeading({\n as,\n level,\n tone,\n spacing,\n className,\n ...props\n}: LegalHeadingProps) {\n const Comp = (as ?? level ?? 'h2') as any;\n return (\n <Comp\n className={cn(headingVariants({ level, tone, spacing }), className)}\n {...props}\n />\n );\n}\n\nexport { headingVariants };\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"LegalHeading.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalHeading.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nconst headingVariants = cva('text-foreground tracking-tight', {\n variants: {\n level: {\n h1: 'text-3xl font-semibold md:text-4xl',\n h2: 'text-2xl font-semibold md:text-3xl',\n h3: 'text-xl font-semibold md:text-2xl',\n h4: 'text-lg font-semibold md:text-xl',\n },\n tone: {\n default: '',\n muted: 'text-muted-foreground',\n accent: 'text-primary',\n },\n spacing: {\n none: '',\n sm: 'mt-4',\n md: 'mt-6',\n lg: 'mt-8',\n },\n },\n defaultVariants: {\n level: 'h2',\n tone: 'default',\n spacing: 'md',\n },\n});\n\nexport type LegalHeadingProps = React.HTMLAttributes<HTMLHeadingElement> &\n VariantProps<typeof headingVariants> & {\n as?: 'h1' | 'h2' | 'h3' | 'h4';\n };\n\nexport function LegalHeading({\n as,\n level,\n tone,\n spacing,\n className,\n ...props\n}: LegalHeadingProps) {\n const Comp = (as ?? level ?? 'h2') as any;\n return (\n <Comp\n className={cn(headingVariants({ level, tone, spacing }), className)}\n {...props}\n />\n );\n}\n\nexport { headingVariants };\n"],"mappings":";;;;;;AAIA,MAAM,kBAAkB,IAAI,kCAAkC;CAC5D,UAAU;EACR,OAAO;GACL,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACD,MAAM;GACJ,SAAS;GACT,OAAO;GACP,QAAQ;GACT;EACD,SAAS;GACP,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,OAAO;EACP,MAAM;EACN,SAAS;EACV;CACF,CAAC;AAOF,SAAgB,aAAa,EAC3B,IACA,OACA,MACA,SACA,UACA,GAAG,SACiB;AAEpB,QACE,oBAFY,MAAM,SAAS;EAGzB,WAAW,GAAG,gBAAgB;GAAE;GAAO;GAAM;GAAS,CAAC,EAAE,UAAU;EACnE,GAAI;GACJ"}
|