@lssm/lib.design-system 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139
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/_virtual/rolldown_runtime.js +1 -12
- package/dist/components/agent/AgentMonitor.js +3 -3
- package/dist/components/agent/ApprovalQueue.d.ts +2 -2
- package/dist/components/agent/ApprovalQueue.js +4 -5
- package/dist/components/atoms/ActionButtons.d.ts +3 -3
- package/dist/components/atoms/ActionButtons.js +3 -3
- package/dist/components/atoms/Button.d.ts +6 -6
- package/dist/components/atoms/Button.js +2 -2
- package/dist/components/atoms/ButtonLink.js +2 -2
- package/dist/components/atoms/Cta.d.ts +7 -7
- package/dist/components/atoms/Cta.js +2 -2
- package/dist/components/atoms/DataChips.d.ts +2 -2
- 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 +8 -8
- package/dist/components/atoms/ErrorState.js +1 -1
- package/dist/components/atoms/Input.d.ts +2 -2
- package/dist/components/atoms/Input.js +1 -1
- package/dist/components/atoms/Link.web.d.ts +3 -3
- package/dist/components/atoms/Link.web.js +4 -6
- package/dist/components/atoms/LoaderCircular.d.ts +7 -7
- package/dist/components/atoms/LoaderCircular.js +2 -2
- package/dist/components/atoms/NavBrand.d.ts +5 -5
- package/dist/components/atoms/NavBrand.js +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.js +4 -4
- package/dist/components/data-view/DataViewDetail.d.ts +5 -5
- package/dist/components/data-view/DataViewList.d.ts +5 -5
- package/dist/components/data-view/DataViewRenderer.d.ts +7 -7
- package/dist/components/data-view/DataViewRenderer.js +3 -3
- package/dist/components/data-view/DataViewTable.d.ts +6 -6
- package/dist/components/forms/ActionForm.d.ts +5 -5
- package/dist/components/forms/ActionForm.js +1 -1
- package/dist/components/forms/FormCardLayout.d.ts +7 -7
- package/dist/components/forms/FormCardLayout.js +2 -2
- package/dist/components/forms/FormDialog.d.ts +7 -7
- package/dist/components/forms/FormDialog.js +1 -1
- package/dist/components/forms/FormLayout.d.ts +8 -8
- package/dist/components/forms/FormLayout.js +1 -1
- package/dist/components/forms/FormOneByOneLayout.d.ts +6 -6
- package/dist/components/forms/FormOneByOneLayout.js +4 -4
- package/dist/components/forms/FormStepsLayout.d.ts +6 -6
- package/dist/components/forms/FormStepsLayout.js +5 -5
- package/dist/components/forms/ZodForm.d.ts +6 -6
- package/dist/components/forms/ZodForm.js +1 -1
- package/dist/components/legal/atoms/DefinitionList.d.ts +5 -5
- package/dist/components/legal/atoms/DefinitionList.js +1 -1
- package/dist/components/legal/atoms/KeyValueList.d.ts +5 -5
- package/dist/components/legal/atoms/KeyValueList.js +1 -1
- package/dist/components/legal/atoms/LegalCallout.d.ts +6 -6
- package/dist/components/legal/atoms/LegalCallout.js +1 -1
- package/dist/components/legal/atoms/LegalHeading.d.ts +6 -6
- package/dist/components/legal/atoms/LegalHeading.js +1 -1
- package/dist/components/legal/atoms/LegalList.d.ts +6 -6
- package/dist/components/legal/atoms/LegalList.js +1 -1
- package/dist/components/legal/atoms/LegalSection.d.ts +6 -6
- package/dist/components/legal/atoms/LegalSection.js +1 -1
- package/dist/components/legal/atoms/LegalText.d.ts +6 -6
- package/dist/components/legal/atoms/LegalText.js +1 -1
- package/dist/components/legal/molecules/Consent.d.ts +8 -8
- package/dist/components/legal/molecules/Consent.js +2 -2
- 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 -1
- package/dist/components/legal/molecules/LegalTOC.d.ts +7 -7
- package/dist/components/legal/molecules/LegalTOC.js +1 -1
- package/dist/components/legal/organisms/ContactForm.d.ts +4 -4
- package/dist/components/legal/organisms/ContactForm.js +3 -3
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +5 -5
- package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts +5 -5
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +5 -5
- package/dist/components/legal/organisms/LegalPageLayout.js +1 -1
- package/dist/components/legal/templates/ContactTemplate.d.ts +4 -4
- package/dist/components/legal/templates/ContactTemplate.js +3 -3
- package/dist/components/legal/templates/CookiesTemplate.d.ts +9 -9
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +9 -9
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +7 -7
- package/dist/components/legal/templates/TermsTemplate.d.ts +7 -7
- package/dist/components/marketing/MarketingCard.d.ts +4 -4
- package/dist/components/marketing/MarketingCard.js +3 -3
- package/dist/components/marketing/MarketingCardsSection.d.ts +2 -2
- package/dist/components/marketing/MarketingCardsSection.js +1 -1
- package/dist/components/marketing/MarketingComparisonSection.d.ts +5 -5
- package/dist/components/marketing/MarketingComparisonSection.js +3 -3
- package/dist/components/marketing/MarketingIconCard.d.ts +5 -5
- package/dist/components/marketing/MarketingIconCard.js +4 -3
- package/dist/components/marketing/MarketingSection.d.ts +5 -5
- package/dist/components/marketing/MarketingSection.js +3 -3
- package/dist/components/marketing/MarketingStepCard.d.ts +3 -3
- package/dist/components/marketing/MarketingStepCard.js +4 -3
- package/dist/components/molecules/AiLinkButton.d.ts +2 -2
- package/dist/components/molecules/AiLinkButton.js +5 -5
- package/dist/components/molecules/Breadcrumbs.d.ts +4 -4
- package/dist/components/molecules/Breadcrumbs.js +3 -3
- package/dist/components/molecules/CommandPalette.js +4 -4
- package/dist/components/molecules/CommandSearchTrigger.d.ts +2 -2
- package/dist/components/molecules/CommandSearchTrigger.js +5 -5
- package/dist/components/molecules/EntityCard.d.ts +11 -11
- package/dist/components/molecules/EntityCard.js +2 -2
- package/dist/components/molecules/FiltersToolbar.d.ts +6 -6
- package/dist/components/molecules/FiltersToolbar.js +6 -6
- package/dist/components/molecules/HoverPreview.d.ts +5 -5
- package/dist/components/molecules/HoverPreview.js +4 -2
- package/dist/components/molecules/LangSwitch.d.ts +4 -4
- package/dist/components/molecules/LangSwitchDropdown.js +4 -4
- package/dist/components/molecules/LoaderBlock.d.ts +5 -5
- package/dist/components/molecules/LoaderBlock.js +1 -1
- package/dist/components/molecules/MobileNavMenu.js +1 -1
- package/dist/components/molecules/NavItemCard.js +1 -1
- package/dist/components/molecules/NavMain.d.ts +2 -2
- package/dist/components/molecules/NavMain.js +4 -4
- package/dist/components/molecules/NavUser.js +2 -2
- package/dist/components/molecules/OverviewCard.d.ts +4 -4
- package/dist/components/molecules/OverviewCard.js +3 -5
- package/dist/components/molecules/SkeletonBlock/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonBlock/index.web.js +2 -2
- package/dist/components/molecules/SkeletonCircle/index.web.js +1 -1
- 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 +11 -11
- package/dist/components/molecules/StatCard.js +2 -2
- package/dist/components/molecules/StatusChip.d.ts +7 -7
- package/dist/components/molecules/StatusChip.js +1 -1
- package/dist/components/molecules/hover-previews/Doc.d.ts +6 -6
- package/dist/components/molecules/hover-previews/Media.d.ts +7 -7
- package/dist/components/molecules/hover-previews/Simple.d.ts +9 -9
- package/dist/components/molecules/hover-previews/Stats.d.ts +8 -8
- package/dist/components/molecules/hover-previews/User.d.ts +9 -9
- package/dist/components/organisms/AcademyLayout.d.ts +9 -9
- package/dist/components/organisms/AcademyLayout.js +4 -4
- package/dist/components/organisms/AppHeader.d.ts +5 -5
- package/dist/components/organisms/AppHeader.js +2 -2
- package/dist/components/organisms/AppLayout.d.ts +6 -6
- package/dist/components/organisms/AppLayout.js +5 -5
- package/dist/components/organisms/AppSidebar.d.ts +3 -3
- package/dist/components/organisms/AppSidebar.js +2 -2
- package/dist/components/organisms/EmptyDataList.d.ts +2 -2
- package/dist/components/organisms/EmptyDataList.js +1 -1
- package/dist/components/organisms/EmptyDataList.types.d.ts +8 -8
- package/dist/components/organisms/EmptySearchResult.d.ts +7 -7
- package/dist/components/organisms/EmptySearchResult.js +3 -3
- package/dist/components/organisms/FAQSection.d.ts +8 -8
- package/dist/components/organisms/FAQSection.js +4 -4
- package/dist/components/organisms/FeatureCarousel.d.ts +4 -4
- package/dist/components/organisms/FeatureCarousel.js +2 -2
- package/dist/components/organisms/FeaturesSection.d.ts +6 -6
- package/dist/components/organisms/FeaturesSection.js +1 -1
- package/dist/components/organisms/Footer.d.ts +5 -5
- package/dist/components/organisms/Footer.js +2 -2
- package/dist/components/organisms/Header.d.ts +5 -5
- package/dist/components/organisms/Header.js +4 -4
- package/dist/components/organisms/HeroResponsive.d.ts +3 -3
- package/dist/components/organisms/HeroSection.d.ts +5 -5
- package/dist/components/organisms/HeroSection.js +1 -1
- package/dist/components/organisms/ListCardPage.d.ts +9 -9
- package/dist/components/organisms/ListCardPage.js +2 -2
- package/dist/components/organisms/ListGridPage.d.ts +9 -9
- package/dist/components/organisms/ListGridPage.js +1 -1
- package/dist/components/organisms/ListPageResponsive.d.ts +2 -2
- package/dist/components/organisms/ListPageResponsive.js +1 -1
- package/dist/components/organisms/ListTablePage.d.ts +10 -10
- package/dist/components/organisms/ListTablePage.js +2 -2
- package/dist/components/organisms/MarketingHeader.d.ts +4 -4
- package/dist/components/organisms/MarketingHeader.js +9 -9
- package/dist/components/organisms/MarketingHeaderDesktop.js +3 -3
- package/dist/components/organisms/MarketingHeaderMobile.js +6 -6
- package/dist/components/organisms/MarketingLayout.d.ts +4 -4
- package/dist/components/organisms/MarketingLayout.js +2 -2
- package/dist/components/organisms/PageHeaderResponsive.d.ts +2 -2
- package/dist/components/organisms/PageHeaderResponsive.js +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 +5 -5
- package/dist/components/organisms/PricingSection.js +1 -1
- package/dist/components/organisms/TestimonialCarousel.d.ts +7 -7
- package/dist/components/organisms/TestimonialCarousel.js +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.web.js +5 -5
- package/dist/components/templates/lists/ListPageTemplate/types.d.ts +7 -7
- package/dist/contracts/dist/client/react/drivers/shadcn.js +7 -0
- package/dist/contracts/dist/client/react/form-render.js +261 -0
- package/dist/contracts/dist/forms.js +78 -0
- package/dist/hooks/useListUrlState.js +7 -7
- package/dist/index.js +2 -1
- package/dist/platform/useColorScheme.js +3 -3
- package/dist/platform/useReducedMotion.js +3 -3
- package/dist/platform/useResponsive.js +4 -4
- package/dist/renderers/form-contract.d.ts +3 -3
- package/dist/renderers/form-contract.js +13 -13
- package/dist/theme/variants.d.ts +2 -2
- package/dist/types/navigation.d.ts +10 -10
- package/dist/ui-kit-web/dist/ui/accordion.js +48 -0
- package/dist/ui-kit-web/dist/ui/atoms/FilterSelect/FilterSelect.js +52 -0
- package/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js +156 -0
- package/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js +49 -0
- package/dist/ui-kit-web/dist/ui/avatar.js +32 -0
- package/dist/ui-kit-web/dist/ui/badge.js +27 -0
- package/dist/ui-kit-web/dist/ui/breadcrumb.js +59 -0
- package/dist/ui-kit-web/dist/ui/button.js +55 -0
- package/dist/ui-kit-web/dist/ui/card.js +44 -0
- package/dist/ui-kit-web/dist/ui/carousel.js +135 -0
- package/dist/ui-kit-web/dist/ui/checkbox.js +25 -0
- package/dist/ui-kit-web/dist/ui/collapsible.js +27 -0
- package/dist/ui-kit-web/dist/ui/command.js +90 -0
- package/dist/ui-kit-web/dist/ui/dialog.js +84 -0
- package/dist/ui-kit-web/dist/ui/dropdown-menu.js +57 -0
- package/dist/ui-kit-web/dist/ui/empty-state.js +43 -0
- package/dist/ui-kit-web/dist/ui/empty.js +62 -0
- package/dist/ui-kit-web/dist/ui/field.js +78 -0
- package/dist/ui-kit-web/dist/ui/form.js +16 -0
- package/dist/ui-kit-web/dist/ui/hover-card.js +40 -0
- package/dist/ui-kit-web/dist/ui/input.js +17 -0
- package/dist/ui-kit-web/dist/ui/label.js +19 -0
- package/dist/ui-kit-web/dist/ui/marketing/Hero.js +52 -0
- package/dist/ui-kit-web/dist/ui/marketing/PricingTable.js +59 -0
- package/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +102 -0
- package/dist/ui-kit-web/dist/ui/molecules/SkeletonList.js +14 -0
- package/dist/ui-kit-web/dist/ui/navigation-menu.js +75 -0
- package/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js +197 -0
- package/dist/ui-kit-web/dist/ui/page-header.js +40 -0
- package/dist/ui-kit-web/dist/ui/pagination.js +65 -0
- package/dist/ui-kit-web/dist/ui/radio-group.js +32 -0
- package/dist/ui-kit-web/dist/ui/select.js +86 -0
- package/dist/ui-kit-web/dist/ui/separator.js +21 -0
- package/dist/ui-kit-web/dist/ui/sheet.js +80 -0
- package/dist/ui-kit-web/dist/ui/sidebar.js +281 -0
- package/dist/ui-kit-web/dist/ui/skeleton.js +14 -0
- package/dist/ui-kit-web/dist/ui/stack.js +158 -0
- package/dist/ui-kit-web/dist/ui/stepper.js +37 -0
- package/dist/ui-kit-web/dist/ui/switch.js +24 -0
- package/dist/ui-kit-web/dist/ui/table.js +57 -0
- package/dist/ui-kit-web/dist/ui/text.js +16 -0
- package/dist/ui-kit-web/dist/ui/textarea.js +16 -0
- package/dist/ui-kit-web/dist/ui/tooltip.js +40 -0
- package/dist/ui-kit-web/dist/ui/typography.js +23 -0
- package/dist/ui-kit-web/dist/ui/use-mobile.js +20 -0
- package/dist/ui-kit-web/dist/ui/utils.js +10 -0
- package/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +13 -0
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime106 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
|
|
@@ -8,9 +8,9 @@ interface DataViewTableProps {
|
|
|
8
8
|
items: Record<string, unknown>[];
|
|
9
9
|
className?: string;
|
|
10
10
|
onRowClick?: (item: Record<string, unknown>) => void;
|
|
11
|
-
emptyState?: React.ReactNode;
|
|
12
|
-
headerActions?: React.ReactNode;
|
|
13
|
-
footer?: React.ReactNode;
|
|
11
|
+
emptyState?: React$1.ReactNode;
|
|
12
|
+
headerActions?: React$1.ReactNode;
|
|
13
|
+
footer?: React$1.ReactNode;
|
|
14
14
|
}
|
|
15
15
|
declare function DataViewTable({
|
|
16
16
|
spec,
|
|
@@ -20,6 +20,6 @@ declare function DataViewTable({
|
|
|
20
20
|
emptyState,
|
|
21
21
|
headerActions,
|
|
22
22
|
footer
|
|
23
|
-
}: DataViewTableProps):
|
|
23
|
+
}: DataViewTableProps): react_jsx_runtime106.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { DataViewTable };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime104 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/ActionForm.d.ts
|
|
5
|
-
interface ActionFormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'action'> {
|
|
5
|
+
interface ActionFormProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, 'action'> {
|
|
6
6
|
action: (formData: FormData) => void | Promise<void>;
|
|
7
|
-
children: React.ReactNode;
|
|
7
|
+
children: React$1.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
declare function ActionForm({
|
|
10
10
|
action,
|
|
11
11
|
children,
|
|
12
12
|
className,
|
|
13
13
|
...rest
|
|
14
|
-
}: ActionFormProps):
|
|
14
|
+
}: ActionFormProps): react_jsx_runtime104.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ActionForm };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
6
6
|
|
|
7
7
|
//#region src/components/forms/ActionForm.tsx
|
|
8
8
|
function ActionForm({ action, children, className, ...rest }) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormCardLayout.d.ts
|
|
5
5
|
interface FormCardLayoutProps {
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
description?: React.ReactNode;
|
|
8
|
-
actions?: React.ReactNode;
|
|
9
|
-
children: React.ReactNode;
|
|
6
|
+
title?: React$1.ReactNode;
|
|
7
|
+
description?: React$1.ReactNode;
|
|
8
|
+
actions?: React$1.ReactNode;
|
|
9
|
+
children: React$1.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
11
|
contentClassName?: string;
|
|
12
12
|
}
|
|
@@ -17,6 +17,6 @@ declare function FormCardLayout({
|
|
|
17
17
|
children,
|
|
18
18
|
className,
|
|
19
19
|
contentClassName
|
|
20
|
-
}: FormCardLayoutProps):
|
|
20
|
+
}: FormCardLayoutProps): react_jsx_runtime101.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FormCardLayout };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
+
import { Card, CardContent, CardHeader, CardTitle } from "../../ui-kit-web/dist/ui/card.js";
|
|
1
3
|
import "react";
|
|
2
4
|
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
7
|
function FormCardLayout({ title, description, actions, children, className, contentClassName }) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormDialog.d.ts
|
|
5
5
|
interface FormDialogProps {
|
|
6
6
|
open: boolean;
|
|
7
7
|
onOpenChange: (open: boolean) => void;
|
|
8
|
-
title: React.ReactNode;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
footer?: React.ReactNode;
|
|
8
|
+
title: React$1.ReactNode;
|
|
9
|
+
description?: React$1.ReactNode;
|
|
10
|
+
children: React$1.ReactNode;
|
|
11
|
+
footer?: React$1.ReactNode;
|
|
12
12
|
maxWidth?: string;
|
|
13
13
|
}
|
|
14
14
|
declare function FormDialog({
|
|
@@ -19,6 +19,6 @@ declare function FormDialog({
|
|
|
19
19
|
children,
|
|
20
20
|
footer,
|
|
21
21
|
maxWidth
|
|
22
|
-
}: FormDialogProps):
|
|
22
|
+
}: FormDialogProps): react_jsx_runtime96.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FormDialog };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "../../ui-kit-web/dist/ui/dialog.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "@lssm/lib.ui-kit-web/ui/dialog";
|
|
6
6
|
|
|
7
7
|
//#region src/components/forms/FormDialog.tsx
|
|
8
8
|
function FormDialog({ open, onOpenChange, title, description, children, footer, maxWidth = "sm:max-w-[480px]" }) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormLayout.d.ts
|
|
5
5
|
declare function FormSection({
|
|
6
6
|
children,
|
|
7
7
|
className
|
|
8
8
|
}: {
|
|
9
|
-
children: React.ReactNode;
|
|
9
|
+
children: React$1.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime98.JSX.Element;
|
|
12
12
|
declare function FormRow({
|
|
13
13
|
children,
|
|
14
14
|
className
|
|
15
15
|
}: {
|
|
16
|
-
children: React.ReactNode;
|
|
16
|
+
children: React$1.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime98.JSX.Element;
|
|
19
19
|
declare function FormGrid({
|
|
20
20
|
children,
|
|
21
21
|
cols,
|
|
22
22
|
className
|
|
23
23
|
}: {
|
|
24
|
-
children: React.ReactNode;
|
|
24
|
+
children: React$1.ReactNode;
|
|
25
25
|
cols?: 1 | 2 | 3 | 4;
|
|
26
26
|
className?: string;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime98.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { FormGrid, FormRow, FormSection };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
6
6
|
|
|
7
7
|
//#region src/components/forms/FormLayout.tsx
|
|
8
8
|
function FormSection({ children, className }) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime103 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormOneByOneLayout.d.ts
|
|
5
5
|
interface OneByOneFieldDef {
|
|
6
6
|
key: string;
|
|
7
|
-
title: React.ReactNode;
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
input: React.ReactNode;
|
|
7
|
+
title: React$1.ReactNode;
|
|
8
|
+
description?: React$1.ReactNode;
|
|
9
|
+
input: React$1.ReactNode;
|
|
10
10
|
validate?: () => boolean;
|
|
11
11
|
}
|
|
12
12
|
interface FormOneByOneLayoutProps {
|
|
@@ -20,6 +20,6 @@ declare function FormOneByOneLayout({
|
|
|
20
20
|
initialKey,
|
|
21
21
|
onComplete,
|
|
22
22
|
className
|
|
23
|
-
}: FormOneByOneLayoutProps):
|
|
23
|
+
}: FormOneByOneLayoutProps): react_jsx_runtime103.JSX.Element | null;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { FormOneByOneLayout };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Button } from "../atoms/Button.js";
|
|
2
|
-
import
|
|
2
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
|
+
import * as React$1 from "react";
|
|
3
4
|
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
7
|
function FormOneByOneLayout({ fields, initialKey, onComplete, className }) {
|
|
8
|
-
const indexByKey = React.useMemo(() => Object.fromEntries(fields.map((f, i) => [f.key, i])), [fields]);
|
|
9
|
-
const [idx, setIdx] = React.useState(() => {
|
|
8
|
+
const indexByKey = React$1.useMemo(() => Object.fromEntries(fields.map((f, i) => [f.key, i])), [fields]);
|
|
9
|
+
const [idx, setIdx] = React$1.useState(() => {
|
|
10
10
|
if (initialKey && initialKey in indexByKey) return indexByKey[initialKey] || 0;
|
|
11
11
|
return 0;
|
|
12
12
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/forms/FormStepsLayout.d.ts
|
|
5
5
|
interface StepDef {
|
|
6
6
|
key: string;
|
|
7
|
-
title: React.ReactNode;
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
content: React.ReactNode;
|
|
7
|
+
title: React$1.ReactNode;
|
|
8
|
+
description?: React$1.ReactNode;
|
|
9
|
+
content: React$1.ReactNode;
|
|
10
10
|
}
|
|
11
11
|
interface FormStepsLayoutProps {
|
|
12
12
|
steps: StepDef[];
|
|
@@ -21,6 +21,6 @@ declare function FormStepsLayout({
|
|
|
21
21
|
onFinish,
|
|
22
22
|
canNext,
|
|
23
23
|
className
|
|
24
|
-
}: FormStepsLayoutProps):
|
|
24
|
+
}: FormStepsLayoutProps): react_jsx_runtime102.JSX.Element | null;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { FormStepsLayout };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { Separator } from "../../ui-kit-web/dist/ui/separator.js";
|
|
1
2
|
import { Button } from "../atoms/Button.js";
|
|
2
|
-
import
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
4
|
+
import * as React$1 from "react";
|
|
3
5
|
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
8
|
function FormStepsLayout({ steps, initialStepKey, onFinish, canNext, className }) {
|
|
9
|
-
const indexByKey = React.useMemo(() => Object.fromEntries(steps.map((s, i) => [s.key, i])), [steps]);
|
|
10
|
-
const [idx, setIdx] = React.useState(() => {
|
|
9
|
+
const indexByKey = React$1.useMemo(() => Object.fromEntries(steps.map((s, i) => [s.key, i])), [steps]);
|
|
10
|
+
const [idx, setIdx] = React$1.useState(() => {
|
|
11
11
|
if (initialStepKey && initialStepKey in indexByKey) return indexByKey[initialStepKey] || 0;
|
|
12
12
|
return 0;
|
|
13
13
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
3
|
-
import { UseFormReturn } from "@lssm/lib.ui-kit-web/ui/form";
|
|
4
|
-
import * as z from "zod";
|
|
1
|
+
import * as React$1 from "react";
|
|
5
2
|
import { FieldValues } from "react-hook-form";
|
|
3
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { UseFormReturn } from "@lssm/lib.ui-kit-web/ui/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>> {
|
|
9
9
|
schema: TSchema;
|
|
10
10
|
defaultValues?: Partial<TFieldValues> | Promise<Partial<TFieldValues>>;
|
|
11
11
|
onSubmit: (data: TOutput) => Promise<void> | void;
|
|
12
|
-
children: (f: UseFormReturn<TFieldValues, any, TOutput>) => React.ReactNode;
|
|
12
|
+
children: (f: UseFormReturn<TFieldValues, any, TOutput>) => React$1.ReactNode;
|
|
13
13
|
}
|
|
14
14
|
declare function ZodForm<TSchema extends z.ZodType<any, FieldValues>, TFieldValues extends FieldValues = z.input<TSchema>, TOutput = z.output<TSchema>>({
|
|
15
15
|
schema,
|
|
16
16
|
defaultValues,
|
|
17
17
|
onSubmit,
|
|
18
18
|
children
|
|
19
|
-
}: ZodFormProps<TSchema, TFieldValues, TOutput>):
|
|
19
|
+
}: ZodFormProps<TSchema, TFieldValues, TOutput>): react_jsx_runtime97.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ZodForm };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { Form, useForm, zodResolver } from "../../ui-kit-web/dist/ui/form.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { Form, useForm, zodResolver } from "@lssm/lib.ui-kit-web/ui/form";
|
|
6
6
|
import "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/components/forms/ZodForm.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/atoms/DefinitionList.d.ts
|
|
5
5
|
declare function DefinitionList({
|
|
@@ -7,10 +7,10 @@ declare function DefinitionList({
|
|
|
7
7
|
className
|
|
8
8
|
}: {
|
|
9
9
|
items: {
|
|
10
|
-
term: React.ReactNode;
|
|
11
|
-
description: React.ReactNode;
|
|
10
|
+
term: React$1.ReactNode;
|
|
11
|
+
description: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
13
|
className?: string;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime78.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { DefinitionList };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
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
6
|
function DefinitionList({ items, className }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime79 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/atoms/KeyValueList.d.ts
|
|
5
5
|
declare function KeyValueList({
|
|
@@ -7,10 +7,10 @@ declare function KeyValueList({
|
|
|
7
7
|
className
|
|
8
8
|
}: {
|
|
9
9
|
items: {
|
|
10
|
-
key: React.ReactNode;
|
|
11
|
-
value: React.ReactNode;
|
|
10
|
+
key: React$1.ReactNode;
|
|
11
|
+
value: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
13
|
className?: string;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime79.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { KeyValueList };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
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
6
|
function KeyValueList({ items, className }) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types19 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?: "danger" | "info" | "warning" | null | undefined;
|
|
9
|
-
} &
|
|
10
|
-
type LegalCalloutProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof calloutVariants>;
|
|
9
|
+
} & class_variance_authority_types19.ClassProp) | undefined) => string;
|
|
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_runtime81.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { LegalCallout };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
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
7
|
const calloutVariants = cva("rounded-md border p-4", {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types15 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
|
-
} &
|
|
12
|
-
type LegalHeadingProps = React.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof headingVariants> & {
|
|
11
|
+
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
12
|
+
type LegalHeadingProps = React$1.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof headingVariants> & {
|
|
13
13
|
as?: 'h1' | 'h2' | 'h3' | 'h4';
|
|
14
14
|
};
|
|
15
15
|
declare function LegalHeading({
|
|
@@ -19,6 +19,6 @@ declare function LegalHeading({
|
|
|
19
19
|
spacing,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: LegalHeadingProps):
|
|
22
|
+
}: LegalHeadingProps): react_jsx_runtime75.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { LegalHeading };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
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
7
|
const headingVariants = cva("text-foreground tracking-tight", {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types18 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
|
-
} &
|
|
11
|
-
type LegalListProps = React.HTMLAttributes<HTMLUListElement | HTMLOListElement> & VariantProps<typeof listVariants>;
|
|
10
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
11
|
+
type LegalListProps = React$1.HTMLAttributes<HTMLUListElement | HTMLOListElement> & VariantProps<typeof listVariants>;
|
|
12
12
|
declare function LegalList({
|
|
13
13
|
type,
|
|
14
14
|
spacing,
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
...props
|
|
18
|
-
}: LegalListProps):
|
|
18
|
+
}: LegalListProps): react_jsx_runtime80.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { LegalList };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
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
7
|
const listVariants = cva("", {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types17 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
|
-
} &
|
|
12
|
-
type LegalSectionProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof sectionVariants>;
|
|
11
|
+
} & class_variance_authority_types17.ClassProp) | undefined) => string;
|
|
12
|
+
type LegalSectionProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof sectionVariants>;
|
|
13
13
|
declare function LegalSection({
|
|
14
14
|
spacing,
|
|
15
15
|
border,
|
|
16
16
|
tone,
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: LegalSectionProps):
|
|
19
|
+
}: LegalSectionProps): react_jsx_runtime77.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { LegalSection };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
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
7
|
const sectionVariants = cva("space-y-3", {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types16 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/legal/atoms/LegalText.d.ts
|
|
7
7
|
declare const textVariants: (props?: ({
|
|
8
8
|
tone?: "default" | "danger" | "muted" | null | undefined;
|
|
9
9
|
size?: "base" | "sm" | "lg" | null | undefined;
|
|
10
10
|
spacing?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
11
|
-
} &
|
|
12
|
-
type LegalTextProps = React.HTMLAttributes<HTMLParagraphElement> & VariantProps<typeof textVariants> & {
|
|
11
|
+
} & class_variance_authority_types16.ClassProp) | undefined) => string;
|
|
12
|
+
type LegalTextProps = React$1.HTMLAttributes<HTMLParagraphElement> & VariantProps<typeof textVariants> & {
|
|
13
13
|
as?: 'p' | 'div' | 'span';
|
|
14
14
|
};
|
|
15
15
|
declare function LegalText({
|
|
@@ -19,6 +19,6 @@ declare function LegalText({
|
|
|
19
19
|
spacing,
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: LegalTextProps):
|
|
22
|
+
}: LegalTextProps): react_jsx_runtime76.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { LegalText };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
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
7
|
const textVariants = cva("text-base leading-relaxed", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/molecules/Consent.d.ts
|
|
5
5
|
declare function ConsentItem({
|
|
@@ -11,12 +11,12 @@ declare function ConsentItem({
|
|
|
11
11
|
className
|
|
12
12
|
}: {
|
|
13
13
|
id: string;
|
|
14
|
-
label: React.ReactNode;
|
|
15
|
-
description?: React.ReactNode;
|
|
14
|
+
label: React$1.ReactNode;
|
|
15
|
+
description?: React$1.ReactNode;
|
|
16
16
|
checked: boolean;
|
|
17
17
|
onChange: (checked: boolean) => void;
|
|
18
18
|
className?: string;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
20
20
|
declare function ConsentList({
|
|
21
21
|
items,
|
|
22
22
|
onChange,
|
|
@@ -24,12 +24,12 @@ declare function ConsentList({
|
|
|
24
24
|
}: {
|
|
25
25
|
items: {
|
|
26
26
|
id: string;
|
|
27
|
-
label: React.ReactNode;
|
|
28
|
-
description?: React.ReactNode;
|
|
27
|
+
label: React$1.ReactNode;
|
|
28
|
+
description?: React$1.ReactNode;
|
|
29
29
|
checked: boolean;
|
|
30
30
|
}[];
|
|
31
31
|
onChange: (id: string, checked: boolean) => void;
|
|
32
32
|
className?: string;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { ConsentItem, ConsentList };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Checkbox } from "../../../ui-kit-web/dist/ui/checkbox.js";
|
|
2
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
1
3
|
import "react";
|
|
2
4
|
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
7
|
function ConsentItem({ id, label, description, checked, onChange, className }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/legal/molecules/ContactFields.d.ts
|
|
4
4
|
declare function ContactFields({
|
|
@@ -19,6 +19,6 @@ declare function ContactFields({
|
|
|
19
19
|
message: string;
|
|
20
20
|
}) => void;
|
|
21
21
|
disabled?: boolean;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { ContactFields };
|