@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 +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_runtime104 from "react/jsx-runtime";
|
|
4
|
-
import { z } from "zod";
|
|
2
|
+
import * as react_jsx_runtime62 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_runtime62.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ZodForm, ZodFormProps };
|
|
22
22
|
//# sourceMappingURL=ZodForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZodForm.d.ts","names":[],"sources":["../../../src/components/forms/ZodForm.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAciB,6BACC,CAAA,CAAE,aAAa,mCACV,cAAc,CAAA,CAAE,MAAM,oBACjC,CAAA,CAAE,OAAO;UAEX;kBACQ,QAAQ,gBAAgB,QAAQ,QAAQ;EANzC,QAAA,EAAA,CAAA,IAAY,EAOV,OAPU,EAAA,GAOE,OAPF,CAAA,IAAA,CAAA,GAAA,IAAA;EACI,QAAA,EAAA,CAAA,CAAA,EAOjB,aAPiB,CAOH,YAPG,EAAA,GAAA,EAOgB,OAPhB,CAAA,EAAA,GAO6B,OAAA,CAAM,SAPnC;;AACV,iBASP,OATO,CAAA,gBAUL,CAAA,CAAE,OAVG,CAAA,GAAA,EAUU,WAVV,CAAA,EAAA,qBAWA,WAXA,GAWc,CAAA,CAAE,KAXhB,CAWsB,OAXtB,CAAA,EAAA,UAYX,CAAA,CAAE,MAZS,CAYF,OAZE,CAAA,CAAA,CAAA;EAAA,MAAA;EAAA,aAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAkBpB,YAlBoB,CAkBP,OAlBO,EAkBE,YAlBF,EAkBgB,OAlBhB,CAAA,CAAA,EAkBwB,
|
|
1
|
+
{"version":3,"file":"ZodForm.d.ts","names":[],"sources":["../../../src/components/forms/ZodForm.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAciB,6BACC,CAAA,CAAE,aAAa,mCACV,cAAc,CAAA,CAAE,MAAM,oBACjC,CAAA,CAAE,OAAO;UAEX;kBACQ,QAAQ,gBAAgB,QAAQ,QAAQ;EANzC,QAAA,EAAA,CAAA,IAAY,EAOV,OAPU,EAAA,GAOE,OAPF,CAAA,IAAA,CAAA,GAAA,IAAA;EACI,QAAA,EAAA,CAAA,CAAA,EAOjB,aAPiB,CAOH,YAPG,EAAA,GAAA,EAOgB,OAPhB,CAAA,EAAA,GAO6B,OAAA,CAAM,SAPnC;;AACV,iBASP,OATO,CAAA,gBAUL,CAAA,CAAE,OAVG,CAAA,GAAA,EAUU,WAVV,CAAA,EAAA,qBAWA,WAXA,GAWc,CAAA,CAAE,KAXhB,CAWsB,OAXtB,CAAA,EAAA,UAYX,CAAA,CAAE,MAZS,CAYF,OAZE,CAAA,CAAA,CAAA;EAAA,MAAA;EAAA,aAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAkBpB,YAlBoB,CAkBP,OAlBO,EAkBE,YAlBF,EAkBgB,OAlBhB,CAAA,CAAA,EAkBwB,mBAAA,CAAA,GAAA,CAAA,OAlBxB"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import { Form, useForm, zodResolver } from "../../ui-kit-web/dist/ui/form.js";
|
|
5
3
|
import "react";
|
|
6
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Form, useForm, zodResolver } from "@lssm/lib.ui-kit-web/ui/form";
|
|
7
6
|
import { z } from "zod";
|
|
8
7
|
|
|
9
8
|
//#region src/components/forms/ZodForm.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZodForm.js","names":[],"sources":["../../../src/components/forms/ZodForm.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport {\n Form,\n useForm,\n type UseFormReturn,\n zodResolver,\n} from '@lssm/lib.ui-kit-web/ui/form';\nimport type { FieldValues } from 'react-hook-form';\nimport { z } from 'zod';\n\n// import { useForm, type UseFormReturn } from 'react-hook-form';\n\nexport interface ZodFormProps<\n TSchema extends z.ZodType<any, FieldValues>,\n TFieldValues extends FieldValues = z.input<TSchema>,\n TOutput = z.output<TSchema>,\n> {\n schema: TSchema;\n defaultValues?: Partial<TFieldValues> | Promise<Partial<TFieldValues>>;\n onSubmit: (data: TOutput) => Promise<void> | void;\n children: (f: UseFormReturn<TFieldValues, any, TOutput>) => React.ReactNode;\n}\n\nexport function ZodForm<\n TSchema extends z.ZodType<any, FieldValues>,\n TFieldValues extends FieldValues = z.input<TSchema>,\n TOutput = z.output<TSchema>,\n>({\n schema,\n defaultValues,\n onSubmit,\n children,\n}: ZodFormProps<TSchema, TFieldValues, TOutput>) {\n const form = useForm<TFieldValues, any, TOutput>({\n resolver: zodResolver<TFieldValues, any, TOutput>(schema as any),\n defaultValues: defaultValues as any,\n });\n return (\n <Form {...form}>\n <form onSubmit={form.handleSubmit(onSubmit)}>{children(form)}</form>\n </Form>\n );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ZodForm.js","names":[],"sources":["../../../src/components/forms/ZodForm.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport {\n Form,\n useForm,\n type UseFormReturn,\n zodResolver,\n} from '@lssm/lib.ui-kit-web/ui/form';\nimport type { FieldValues } from 'react-hook-form';\nimport { z } from 'zod';\n\n// import { useForm, type UseFormReturn } from 'react-hook-form';\n\nexport interface ZodFormProps<\n TSchema extends z.ZodType<any, FieldValues>,\n TFieldValues extends FieldValues = z.input<TSchema>,\n TOutput = z.output<TSchema>,\n> {\n schema: TSchema;\n defaultValues?: Partial<TFieldValues> | Promise<Partial<TFieldValues>>;\n onSubmit: (data: TOutput) => Promise<void> | void;\n children: (f: UseFormReturn<TFieldValues, any, TOutput>) => React.ReactNode;\n}\n\nexport function ZodForm<\n TSchema extends z.ZodType<any, FieldValues>,\n TFieldValues extends FieldValues = z.input<TSchema>,\n TOutput = z.output<TSchema>,\n>({\n schema,\n defaultValues,\n onSubmit,\n children,\n}: ZodFormProps<TSchema, TFieldValues, TOutput>) {\n const form = useForm<TFieldValues, any, TOutput>({\n resolver: zodResolver<TFieldValues, any, TOutput>(schema as any),\n defaultValues: defaultValues as any,\n });\n return (\n <Form {...form}>\n <form onSubmit={form.handleSubmit(onSubmit)}>{children(form)}</form>\n </Form>\n );\n}\n"],"mappings":";;;;;;;;AAyBA,SAAgB,QAId,EACA,QACA,eACA,UACA,YAC+C;CAC/C,MAAM,OAAO,QAAoC;EAC/C,UAAU,YAAwC,OAAc;EACjD;EAChB,CAAC;AACF,QACE,oBAAC;EAAK,GAAI;YACR,oBAAC;GAAK,UAAU,KAAK,aAAa,SAAS;aAAG,SAAS,KAAK;IAAQ;GAC/D"}
|
|
@@ -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/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_runtime44.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_runtime51 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_runtime51.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_runtime45 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types4 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_types4.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_runtime45.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,+BAAA,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",
|
|
@@ -13,7 +12,7 @@ const calloutVariants = cva("rounded-md border p-4", {
|
|
|
13
12
|
} },
|
|
14
13
|
defaultVariants: { tone: "info" }
|
|
15
14
|
});
|
|
16
|
-
function LegalCallout({ tone, className
|
|
15
|
+
function LegalCallout({ tone, className, ...props }) {
|
|
17
16
|
return /* @__PURE__ */ jsx("div", {
|
|
18
17
|
className: cn(calloutVariants({ tone }), className),
|
|
19
18
|
...props
|
|
@@ -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,WAAW,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_runtime61 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types9 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?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types9.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_runtime61.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,+BAAA,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: {
|
|
@@ -31,7 +30,7 @@ const headingVariants = cva("text-foreground tracking-tight", {
|
|
|
31
30
|
spacing: "md"
|
|
32
31
|
}
|
|
33
32
|
});
|
|
34
|
-
function LegalHeading({ as, level, tone, spacing, className
|
|
33
|
+
function LegalHeading({ as, level, tone, spacing, className, ...props }) {
|
|
35
34
|
return /* @__PURE__ */ jsx(as ?? level ?? "h2", {
|
|
36
35
|
className: cn(headingVariants({
|
|
37
36
|
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,WACA,GAAG,SACiB;AAEpB,QACE,oBAFY,MAAM,SAAS;EAGzB,WAAW,GAAG,gBAAgB;GAAE;GAAO;GAAM;GAAS,CAAC,EAAE,UAAU;EACnE,GAAI;GACJ"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalList.d.ts
|
|
7
7
|
declare const listVariants: (props?: ({
|
|
8
8
|
type?: "none" | "unordered" | "ordered" | null | undefined;
|
|
9
9
|
spacing?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
11
11
|
type LegalListProps = React$1.HTMLAttributes<HTMLUListElement | HTMLOListElement> & VariantProps<typeof listVariants>;
|
|
12
12
|
declare function LegalList({
|
|
13
13
|
type,
|
|
@@ -15,7 +15,7 @@ declare function LegalList({
|
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
...props
|
|
18
|
-
}: LegalListProps):
|
|
18
|
+
}: LegalListProps): react_jsx_runtime57.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { LegalList, LegalListProps, listVariants };
|
|
21
21
|
//# sourceMappingURL=LegalList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalList.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalList.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM;;;IAiBJ,
|
|
1
|
+
{"version":3,"file":"LegalList.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalList.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM;;;IAiBJ,+BAAA,CAAA;AAjBI,KAmBM,cAAA,GAAiB,OAAA,CAAM,cAFjC,CAGA,gBAHA,GAGmB,gBAHnB,CAAA,GAKA,YALA,CAAA,OAKoB,YALpB,CAAA;AAEU,iBAKI,SAAA,CALU;EAAA,IAAA;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAWvB,cAXuB,CAAA,EAWT,mBAAA,CAAA,GAAA,CAAA,OAXS"}
|
|
@@ -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/LegalList.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
const listVariants = cva("", {
|
|
9
8
|
variants: {
|
|
10
9
|
type: {
|
|
@@ -23,7 +22,7 @@ const listVariants = cva("", {
|
|
|
23
22
|
spacing: "md"
|
|
24
23
|
}
|
|
25
24
|
});
|
|
26
|
-
function LegalList({ type, spacing, className, children
|
|
25
|
+
function LegalList({ type, spacing, className, children, ...props }) {
|
|
27
26
|
return /* @__PURE__ */ jsx(type === "ordered" ? "ol" : "ul", {
|
|
28
27
|
className: cn(listVariants({
|
|
29
28
|
type,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalList.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalList.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 listVariants = cva('', {\n variants: {\n type: {\n unordered: 'list-disc pl-6',\n ordered: 'list-decimal pl-6',\n none: 'pl-0',\n },\n spacing: {\n sm: 'space-y-1',\n md: 'space-y-2',\n lg: 'space-y-3',\n },\n },\n defaultVariants: {\n type: 'unordered',\n spacing: 'md',\n },\n});\n\nexport type LegalListProps = React.HTMLAttributes<\n HTMLUListElement | HTMLOListElement\n> &\n VariantProps<typeof listVariants>;\n\nexport function LegalList({\n type,\n spacing,\n className,\n children,\n ...props\n}: LegalListProps) {\n const Comp: any = type === 'ordered' ? 'ol' : 'ul';\n return (\n <Comp className={cn(listVariants({ type, spacing }), className)} {...props}>\n {children}\n </Comp>\n );\n}\n\nexport { listVariants };\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"LegalList.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalList.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 listVariants = cva('', {\n variants: {\n type: {\n unordered: 'list-disc pl-6',\n ordered: 'list-decimal pl-6',\n none: 'pl-0',\n },\n spacing: {\n sm: 'space-y-1',\n md: 'space-y-2',\n lg: 'space-y-3',\n },\n },\n defaultVariants: {\n type: 'unordered',\n spacing: 'md',\n },\n});\n\nexport type LegalListProps = React.HTMLAttributes<\n HTMLUListElement | HTMLOListElement\n> &\n VariantProps<typeof listVariants>;\n\nexport function LegalList({\n type,\n spacing,\n className,\n children,\n ...props\n}: LegalListProps) {\n const Comp: any = type === 'ordered' ? 'ol' : 'ul';\n return (\n <Comp className={cn(listVariants({ type, spacing }), className)} {...props}>\n {children}\n </Comp>\n );\n}\n\nexport { listVariants };\n"],"mappings":";;;;;;AAIA,MAAM,eAAe,IAAI,IAAI;CAC3B,UAAU;EACR,MAAM;GACJ,WAAW;GACX,SAAS;GACT,MAAM;GACP;EACD,SAAS;GACP,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;CACF,CAAC;AAOF,SAAgB,UAAU,EACxB,MACA,SACA,WACA,UACA,GAAG,SACc;AAEjB,QACE,oBAFgB,SAAS,YAAY,OAAO;EAEtC,WAAW,GAAG,aAAa;GAAE;GAAM;GAAS,CAAC,EAAE,UAAU;EAAE,GAAI;EAClE;GACI"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalSection.d.ts
|
|
7
7
|
declare const sectionVariants: (props?: ({
|
|
8
8
|
spacing?: "sm" | "md" | "lg" | null | undefined;
|
|
9
9
|
border?: "none" | "top" | "bottom" | "both" | null | undefined;
|
|
10
10
|
tone?: "subtle" | "plain" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
12
12
|
type LegalSectionProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof sectionVariants>;
|
|
13
13
|
declare function LegalSection({
|
|
14
14
|
spacing,
|
|
@@ -16,7 +16,7 @@ declare function LegalSection({
|
|
|
16
16
|
tone,
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: LegalSectionProps):
|
|
19
|
+
}: LegalSectionProps): react_jsx_runtime50.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { LegalSection, LegalSectionProps, sectionVariants };
|
|
22
22
|
//# sourceMappingURL=LegalSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalSection.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalSection.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM,uBAuBJ;;;;AA1BgE,CAAA,GA0BhE,
|
|
1
|
+
{"version":3,"file":"LegalSection.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalSection.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM,uBAuBJ;;;;AA1BgE,CAAA,GA0BhE,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AAEU,KAAA,iBAAA,GAAoB,OAAA,CAAM,cAAT,CAAwB,cAAxB,CAAA,GAC3B,YAD2B,CAAA,OACP,eADO,CAAA;AAAwB,iBAGrC,YAAA,CAHqC;EAAA,OAAA;EAAA,MAAA;EAAA,IAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EASlD,iBATkD,CAAA,EASjC,mBAAA,CAAA,GAAA,CAAA,OATiC"}
|
|
@@ -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/LegalSection.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
const sectionVariants = cva("space-y-3", {
|
|
9
8
|
variants: {
|
|
10
9
|
spacing: {
|
|
@@ -29,7 +28,7 @@ const sectionVariants = cva("space-y-3", {
|
|
|
29
28
|
tone: "plain"
|
|
30
29
|
}
|
|
31
30
|
});
|
|
32
|
-
function LegalSection({ spacing, border, tone, className
|
|
31
|
+
function LegalSection({ spacing, border, tone, className, ...props }) {
|
|
33
32
|
return /* @__PURE__ */ jsx("div", {
|
|
34
33
|
className: cn(sectionVariants({
|
|
35
34
|
spacing,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalSection.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalSection.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 sectionVariants = cva('space-y-3', {\n variants: {\n spacing: {\n sm: 'py-3',\n md: 'py-4',\n lg: 'py-6',\n },\n border: {\n none: '',\n top: 'border-t',\n bottom: 'border-b',\n both: 'border-y',\n },\n tone: {\n plain: '',\n subtle: 'bg-muted/30',\n },\n },\n defaultVariants: {\n spacing: 'md',\n border: 'none',\n tone: 'plain',\n },\n});\n\nexport type LegalSectionProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof sectionVariants>;\n\nexport function LegalSection({\n spacing,\n border,\n tone,\n className,\n ...props\n}: LegalSectionProps) {\n return (\n <div\n className={cn(sectionVariants({ spacing, border, tone }), className)}\n {...props}\n />\n );\n}\n\nexport { sectionVariants };\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"LegalSection.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalSection.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 sectionVariants = cva('space-y-3', {\n variants: {\n spacing: {\n sm: 'py-3',\n md: 'py-4',\n lg: 'py-6',\n },\n border: {\n none: '',\n top: 'border-t',\n bottom: 'border-b',\n both: 'border-y',\n },\n tone: {\n plain: '',\n subtle: 'bg-muted/30',\n },\n },\n defaultVariants: {\n spacing: 'md',\n border: 'none',\n tone: 'plain',\n },\n});\n\nexport type LegalSectionProps = React.HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof sectionVariants>;\n\nexport function LegalSection({\n spacing,\n border,\n tone,\n className,\n ...props\n}: LegalSectionProps) {\n return (\n <div\n className={cn(sectionVariants({ spacing, border, tone }), className)}\n {...props}\n />\n );\n}\n\nexport { sectionVariants };\n"],"mappings":";;;;;;AAIA,MAAM,kBAAkB,IAAI,aAAa;CACvC,UAAU;EACR,SAAS;GACP,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACD,QAAQ;GACN,MAAM;GACN,KAAK;GACL,QAAQ;GACR,MAAM;GACP;EACD,MAAM;GACJ,OAAO;GACP,QAAQ;GACT;EACF;CACD,iBAAiB;EACf,SAAS;EACT,QAAQ;EACR,MAAM;EACP;CACF,CAAC;AAKF,SAAgB,aAAa,EAC3B,SACA,QACA,MACA,WACA,GAAG,SACiB;AACpB,QACE,oBAAC;EACC,WAAW,GAAG,gBAAgB;GAAE;GAAS;GAAQ;GAAM,CAAC,EAAE,UAAU;EACpE,GAAI;GACJ"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalText.d.ts
|
|
7
7
|
declare const textVariants: (props?: ({
|
|
8
|
-
tone?: "default" | "
|
|
8
|
+
tone?: "default" | "danger" | "muted" | null | undefined;
|
|
9
9
|
size?: "base" | "sm" | "lg" | null | undefined;
|
|
10
10
|
spacing?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
12
12
|
type LegalTextProps = React$1.HTMLAttributes<HTMLParagraphElement> & VariantProps<typeof textVariants> & {
|
|
13
13
|
as?: 'p' | 'div' | 'span';
|
|
14
14
|
};
|
|
@@ -19,7 +19,7 @@ declare function LegalText({
|
|
|
19
19
|
spacing,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: LegalTextProps):
|
|
22
|
+
}: LegalTextProps): react_jsx_runtime46.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { LegalText, LegalTextProps, textVariants };
|
|
25
25
|
//# sourceMappingURL=LegalText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalText.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalText.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM,oBAwBJ;;;;AA3BgE,CAAA,GA2BhE,
|
|
1
|
+
{"version":3,"file":"LegalText.d.ts","names":[],"sources":["../../../../src/components/legal/atoms/LegalText.tsx"],"sourcesContent":[],"mappings":";;;;;;cAIM,oBAwBJ;;;;AA3BgE,CAAA,GA2BhE,+BAAA,CAAA,SAAA,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;AAEU,KAAA,cAAA,GAAiB,OAAA,CAAM,cAAT,CAAwB,oBAAxB,CAAA,GACxB,YADwB,CAAA,OACJ,YADI,CAAA,GAAA;EAAwB,EAAA,CAAA,EAAA,GAAA,GAAA,KAAA,GAAA,MAAA;CAArB;AACP,iBAEN,SAAA,CAFM;EAAA,EAAA;EAAA,IAAA;EAAA,IAAA;EAAA,OAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EASnB,cATmB,CAAA,EASL,mBAAA,CAAA,GAAA,CAAA,OATK"}
|
|
@@ -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/LegalText.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
const textVariants = cva("text-base leading-relaxed", {
|
|
9
8
|
variants: {
|
|
10
9
|
tone: {
|
|
@@ -30,7 +29,7 @@ const textVariants = cva("text-base leading-relaxed", {
|
|
|
30
29
|
spacing: "sm"
|
|
31
30
|
}
|
|
32
31
|
});
|
|
33
|
-
function LegalText({ as = "p", tone, size, spacing, className
|
|
32
|
+
function LegalText({ as = "p", tone, size, spacing, className, ...props }) {
|
|
34
33
|
return /* @__PURE__ */ jsx(as, {
|
|
35
34
|
className: cn(textVariants({
|
|
36
35
|
tone,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalText.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalText.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 textVariants = cva('text-base leading-relaxed', {\n variants: {\n tone: {\n default: 'text-foreground',\n muted: 'text-muted-foreground',\n danger: 'text-destructive',\n },\n size: {\n base: 'text-base',\n sm: 'text-sm',\n lg: 'text-lg',\n },\n spacing: {\n none: '',\n sm: 'mt-2',\n md: 'mt-3',\n lg: 'mt-4',\n },\n },\n defaultVariants: {\n tone: 'default',\n size: 'base',\n spacing: 'sm',\n },\n});\n\nexport type LegalTextProps = React.HTMLAttributes<HTMLParagraphElement> &\n VariantProps<typeof textVariants> & { as?: 'p' | 'div' | 'span' };\n\nexport function LegalText({\n as = 'p',\n tone,\n size,\n spacing,\n className,\n ...props\n}: LegalTextProps) {\n const Comp: any = as;\n return (\n <Comp\n className={cn(textVariants({ tone, size, spacing }), className)}\n {...props}\n />\n );\n}\n\nexport { textVariants };\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"LegalText.js","names":[],"sources":["../../../../src/components/legal/atoms/LegalText.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 textVariants = cva('text-base leading-relaxed', {\n variants: {\n tone: {\n default: 'text-foreground',\n muted: 'text-muted-foreground',\n danger: 'text-destructive',\n },\n size: {\n base: 'text-base',\n sm: 'text-sm',\n lg: 'text-lg',\n },\n spacing: {\n none: '',\n sm: 'mt-2',\n md: 'mt-3',\n lg: 'mt-4',\n },\n },\n defaultVariants: {\n tone: 'default',\n size: 'base',\n spacing: 'sm',\n },\n});\n\nexport type LegalTextProps = React.HTMLAttributes<HTMLParagraphElement> &\n VariantProps<typeof textVariants> & { as?: 'p' | 'div' | 'span' };\n\nexport function LegalText({\n as = 'p',\n tone,\n size,\n spacing,\n className,\n ...props\n}: LegalTextProps) {\n const Comp: any = as;\n return (\n <Comp\n className={cn(textVariants({ tone, size, spacing }), className)}\n {...props}\n />\n );\n}\n\nexport { textVariants };\n"],"mappings":";;;;;;AAIA,MAAM,eAAe,IAAI,6BAA6B;CACpD,UAAU;EACR,MAAM;GACJ,SAAS;GACT,OAAO;GACP,QAAQ;GACT;EACD,MAAM;GACJ,MAAM;GACN,IAAI;GACJ,IAAI;GACL;EACD,SAAS;GACP,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,MAAM;EACN,MAAM;EACN,SAAS;EACV;CACF,CAAC;AAKF,SAAgB,UAAU,EACxB,KAAK,KACL,MACA,MACA,SACA,WACA,GAAG,SACc;AAEjB,QACE,oBAFgB;EAGd,WAAW,GAAG,aAAa;GAAE;GAAM;GAAM;GAAS,CAAC,EAAE,UAAU;EAC/D,GAAI;GACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/molecules/Consent.d.ts
|
|
5
5
|
declare function ConsentItem({
|
|
@@ -16,7 +16,7 @@ declare function ConsentItem({
|
|
|
16
16
|
checked: boolean;
|
|
17
17
|
onChange: (checked: boolean) => void;
|
|
18
18
|
className?: string;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
20
20
|
declare function ConsentList({
|
|
21
21
|
items,
|
|
22
22
|
onChange,
|
|
@@ -30,7 +30,7 @@ declare function ConsentList({
|
|
|
30
30
|
}[];
|
|
31
31
|
onChange: (id: string, checked: boolean) => void;
|
|
32
32
|
className?: string;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ConsentItem, ConsentList };
|
|
36
36
|
//# sourceMappingURL=Consent.d.ts.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { cn, init_utils } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
-
import { Checkbox } from "../../../ui-kit-web/dist/ui/checkbox.js";
|
|
3
1
|
import "react";
|
|
4
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Checkbox } from "@lssm/lib.ui-kit-web/ui/checkbox";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/molecules/Consent.tsx
|
|
7
|
-
init_utils();
|
|
8
7
|
function ConsentItem({ id, label, description, checked, onChange, className }) {
|
|
9
8
|
return /* @__PURE__ */ jsxs("div", {
|
|
10
9
|
className: cn("flex items-start gap-3", className),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Consent.js","names":[],"sources":["../../../../src/components/legal/molecules/Consent.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Checkbox } from '@lssm/lib.ui-kit-web/ui/checkbox';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function ConsentItem({\n id,\n label,\n description,\n checked,\n onChange,\n className,\n}: {\n id: string;\n label: React.ReactNode;\n description?: React.ReactNode;\n checked: boolean;\n onChange: (checked: boolean) => void;\n className?: string;\n}) {\n return (\n <div className={cn('flex items-start gap-3', className)}>\n <Checkbox\n id={id}\n checked={checked}\n onCheckedChange={(v: any) => onChange(Boolean(v))}\n />\n <div>\n <label htmlFor={id} className=\"text-base font-medium\">\n {label}\n </label>\n {description && (\n <div className=\"text-muted-foreground text-base\">{description}</div>\n )}\n </div>\n </div>\n );\n}\n\nexport function ConsentList({\n items,\n onChange,\n className,\n}: {\n items: {\n id: string;\n label: React.ReactNode;\n description?: React.ReactNode;\n checked: boolean;\n }[];\n onChange: (id: string, checked: boolean) => void;\n className?: string;\n}) {\n return (\n <div className={cn('space-y-3', className)}>\n {items.map((it) => (\n <ConsentItem key={it.id} {...it} onChange={(c) => onChange(it.id, c)} />\n ))}\n </div>\n );\n}\n"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"Consent.js","names":[],"sources":["../../../../src/components/legal/molecules/Consent.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Checkbox } from '@lssm/lib.ui-kit-web/ui/checkbox';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function ConsentItem({\n id,\n label,\n description,\n checked,\n onChange,\n className,\n}: {\n id: string;\n label: React.ReactNode;\n description?: React.ReactNode;\n checked: boolean;\n onChange: (checked: boolean) => void;\n className?: string;\n}) {\n return (\n <div className={cn('flex items-start gap-3', className)}>\n <Checkbox\n id={id}\n checked={checked}\n onCheckedChange={(v: any) => onChange(Boolean(v))}\n />\n <div>\n <label htmlFor={id} className=\"text-base font-medium\">\n {label}\n </label>\n {description && (\n <div className=\"text-muted-foreground text-base\">{description}</div>\n )}\n </div>\n </div>\n );\n}\n\nexport function ConsentList({\n items,\n onChange,\n className,\n}: {\n items: {\n id: string;\n label: React.ReactNode;\n description?: React.ReactNode;\n checked: boolean;\n }[];\n onChange: (id: string, checked: boolean) => void;\n className?: string;\n}) {\n return (\n <div className={cn('space-y-3', className)}>\n {items.map((it) => (\n <ConsentItem key={it.id} {...it} onChange={(c) => onChange(it.id, c)} />\n ))}\n </div>\n );\n}\n"],"mappings":";;;;;;AAIA,SAAgB,YAAY,EAC1B,IACA,OACA,aACA,SACA,UACA,aAQC;AACD,QACE,qBAAC;EAAI,WAAW,GAAG,0BAA0B,UAAU;aACrD,oBAAC;GACK;GACK;GACT,kBAAkB,MAAW,SAAS,QAAQ,EAAE,CAAC;IACjD,EACF,qBAAC,oBACC,oBAAC;GAAM,SAAS;GAAI,WAAU;aAC3B;IACK,EACP,eACC,oBAAC;GAAI,WAAU;aAAmC;IAAkB,IAElE;GACF;;AAIV,SAAgB,YAAY,EAC1B,OACA,UACA,aAUC;AACD,QACE,oBAAC;EAAI,WAAW,GAAG,aAAa,UAAU;YACvC,MAAM,KAAK,OACV,oBAAC;GAAwB,GAAI;GAAI,WAAW,MAAM,SAAS,GAAG,IAAI,EAAE;KAAlD,GAAG,GAAmD,CACxE;GACE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/legal/molecules/ContactFields.d.ts
|
|
4
4
|
declare function ContactFields({
|
|
@@ -19,7 +19,7 @@ declare function ContactFields({
|
|
|
19
19
|
message: string;
|
|
20
20
|
}) => void;
|
|
21
21
|
disabled?: boolean;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime77.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { ContactFields };
|
|
25
25
|
//# sourceMappingURL=ContactFields.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Label } from "../../../ui-kit-web/dist/ui/label.js";
|
|
2
1
|
import { Input } from "../../atoms/Input.js";
|
|
3
2
|
import { Textarea } from "../../atoms/Textarea.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Label } from "@lssm/lib.ui-kit-web/ui/label";
|
|
6
6
|
|
|
7
7
|
//#region src/components/legal/molecules/ContactFields.tsx
|
|
8
8
|
function ContactFields({ value, onChange, disabled }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/legal/molecules/LegalMeta.d.ts
|
|
4
4
|
declare function LegalMeta({
|
|
@@ -9,7 +9,7 @@ declare function LegalMeta({
|
|
|
9
9
|
lastUpdated?: string | Date;
|
|
10
10
|
version?: string;
|
|
11
11
|
className?: string;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime87.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { LegalMeta };
|
|
15
15
|
//# sourceMappingURL=LegalMeta.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/molecules/LegalMeta.tsx
|
|
6
|
-
init_utils();
|
|
7
6
|
function LegalMeta({ lastUpdated, version, className }) {
|
|
8
7
|
const fmtDate = (d) => {
|
|
9
8
|
if (!d) return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegalMeta.js","names":[],"sources":["../../../../src/components/legal/molecules/LegalMeta.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function LegalMeta({\n lastUpdated,\n version,\n className,\n}: {\n lastUpdated?: string | Date;\n version?: string;\n className?: string;\n}) {\n const fmtDate = (d?: string | Date) => {\n if (!d) return null;\n try {\n const date = typeof d === 'string' ? new Date(d) : d;\n return date.toLocaleDateString();\n } catch {\n return String(d);\n }\n };\n return (\n <div className={cn('text-muted-foreground text-base', className)}>\n {version && <span>Version {version}</span>}\n {version && lastUpdated && <span className=\"mx-2\">•</span>}\n {lastUpdated && <span>Dernière mise à jour: {fmtDate(lastUpdated)}</span>}\n </div>\n );\n}\n"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"LegalMeta.js","names":[],"sources":["../../../../src/components/legal/molecules/LegalMeta.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@lssm/lib.ui-kit-web/ui/utils';\n\nexport function LegalMeta({\n lastUpdated,\n version,\n className,\n}: {\n lastUpdated?: string | Date;\n version?: string;\n className?: string;\n}) {\n const fmtDate = (d?: string | Date) => {\n if (!d) return null;\n try {\n const date = typeof d === 'string' ? new Date(d) : d;\n return date.toLocaleDateString();\n } catch {\n return String(d);\n }\n };\n return (\n <div className={cn('text-muted-foreground text-base', className)}>\n {version && <span>Version {version}</span>}\n {version && lastUpdated && <span className=\"mx-2\">•</span>}\n {lastUpdated && <span>Dernière mise à jour: {fmtDate(lastUpdated)}</span>}\n </div>\n );\n}\n"],"mappings":";;;;;AAGA,SAAgB,UAAU,EACxB,aACA,SACA,aAKC;CACD,MAAM,WAAW,MAAsB;AACrC,MAAI,CAAC,EAAG,QAAO;AACf,MAAI;AAEF,WADa,OAAO,MAAM,WAAW,IAAI,KAAK,EAAE,GAAG,GACvC,oBAAoB;UAC1B;AACN,UAAO,OAAO,EAAE;;;AAGpB,QACE,qBAAC;EAAI,WAAW,GAAG,mCAAmC,UAAU;;GAC7D,WAAW,qBAAC,qBAAK,YAAS,WAAe;GACzC,WAAW,eAAe,oBAAC;IAAK,WAAU;cAAO;KAAQ;GACzD,eAAe,qBAAC,qBAAK,0BAAuB,QAAQ,YAAY,IAAQ;;GACrE"}
|