@lssm/lib.design-system 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834
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 +12 -1
- package/dist/components/agent/AgentMonitor.js +3 -3
- package/dist/components/agent/ApprovalQueue.d.ts +2 -2
- package/dist/components/agent/ApprovalQueue.js +5 -4
- 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 +6 -6
- 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 +6 -4
- package/dist/components/atoms/LoaderCircular.d.ts +3 -3
- package/dist/components/atoms/LoaderCircular.js +2 -2
- package/dist/components/atoms/NavBrand.d.ts +3 -3
- 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 +5 -5
- 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 +3 -3
- package/dist/components/forms/ActionForm.js +1 -1
- package/dist/components/forms/FormCardLayout.d.ts +5 -5
- package/dist/components/forms/FormCardLayout.js +2 -2
- package/dist/components/forms/FormDialog.d.ts +5 -5
- package/dist/components/forms/FormDialog.js +1 -1
- package/dist/components/forms/FormLayout.d.ts +4 -4
- 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 +4 -4
- 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 +3 -3
- package/dist/components/legal/atoms/DefinitionList.js +1 -1
- package/dist/components/legal/atoms/KeyValueList.d.ts +3 -3
- package/dist/components/legal/atoms/KeyValueList.js +1 -1
- package/dist/components/legal/atoms/LegalCallout.d.ts +2 -2
- package/dist/components/legal/atoms/LegalCallout.js +1 -1
- package/dist/components/legal/atoms/LegalHeading.d.ts +2 -2
- package/dist/components/legal/atoms/LegalHeading.js +1 -1
- package/dist/components/legal/atoms/LegalList.d.ts +2 -2
- package/dist/components/legal/atoms/LegalList.js +1 -1
- package/dist/components/legal/atoms/LegalSection.d.ts +2 -2
- package/dist/components/legal/atoms/LegalSection.js +1 -1
- package/dist/components/legal/atoms/LegalText.d.ts +2 -2
- package/dist/components/legal/atoms/LegalText.js +1 -1
- package/dist/components/legal/molecules/Consent.d.ts +5 -5
- package/dist/components/legal/molecules/Consent.js +2 -2
- package/dist/components/legal/molecules/ContactFields.js +1 -1
- package/dist/components/legal/molecules/LegalMeta.js +1 -1
- package/dist/components/legal/molecules/LegalTOC.d.ts +3 -3
- package/dist/components/legal/molecules/LegalTOC.js +1 -1
- package/dist/components/legal/organisms/ContactForm.d.ts +2 -2
- package/dist/components/legal/organisms/ContactForm.js +3 -3
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +3 -3
- package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts +3 -3
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +3 -3
- 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 +7 -7
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +7 -7
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +5 -5
- package/dist/components/legal/templates/TermsTemplate.d.ts +5 -5
- 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 +3 -4
- 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 +3 -4
- 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 +4 -4
- package/dist/components/molecules/CommandSearchTrigger.js +5 -5
- package/dist/components/molecules/EntityCard.d.ts +9 -9
- package/dist/components/molecules/EntityCard.js +2 -2
- package/dist/components/molecules/FiltersToolbar.d.ts +4 -4
- package/dist/components/molecules/FiltersToolbar.js +6 -6
- package/dist/components/molecules/HoverPreview.d.ts +3 -3
- package/dist/components/molecules/HoverPreview.js +2 -4
- package/dist/components/molecules/LangSwitch.d.ts +2 -2
- package/dist/components/molecules/LangSwitchDropdown.js +4 -4
- package/dist/components/molecules/LoaderBlock.d.ts +3 -3
- 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.js +4 -4
- package/dist/components/molecules/NavUser.js +2 -2
- package/dist/components/molecules/OverviewCard.d.ts +2 -2
- package/dist/components/molecules/OverviewCard.js +5 -3
- 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 +8 -8
- package/dist/components/molecules/StatCard.js +2 -2
- package/dist/components/molecules/StatusChip.d.ts +5 -5
- 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 +5 -5
- package/dist/components/molecules/hover-previews/Simple.d.ts +7 -7
- package/dist/components/molecules/hover-previews/Stats.d.ts +6 -6
- package/dist/components/molecules/hover-previews/User.d.ts +7 -7
- package/dist/components/organisms/AcademyLayout.d.ts +7 -7
- package/dist/components/organisms/AcademyLayout.js +4 -4
- package/dist/components/organisms/AppHeader.d.ts +3 -3
- 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.js +1 -1
- package/dist/components/organisms/EmptyDataList.types.d.ts +8 -8
- package/dist/components/organisms/EmptySearchResult.d.ts +5 -5
- package/dist/components/organisms/EmptySearchResult.js +3 -3
- package/dist/components/organisms/FAQSection.d.ts +6 -6
- 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 +4 -4
- 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 +2 -2
- package/dist/components/organisms/HeroSection.d.ts +3 -3
- package/dist/components/organisms/HeroSection.js +1 -1
- package/dist/components/organisms/ListCardPage.d.ts +4 -4
- package/dist/components/organisms/ListCardPage.js +2 -2
- package/dist/components/organisms/ListGridPage.d.ts +4 -4
- package/dist/components/organisms/ListGridPage.js +1 -1
- package/dist/components/organisms/ListPageResponsive.js +1 -1
- package/dist/components/organisms/ListTablePage.d.ts +6 -6
- 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.js +1 -1
- package/dist/components/organisms/PricingCarousel.js +2 -2
- package/dist/components/organisms/PricingSection.d.ts +3 -3
- package/dist/components/organisms/PricingSection.js +1 -1
- package/dist/components/organisms/TestimonialCarousel.d.ts +5 -5
- package/dist/components/organisms/TestimonialCarousel.js +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/hooks/useListUrlState.js +7 -7
- package/dist/index.js +1 -2
- 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 +1 -1
- package/dist/renderers/form-contract.js +13 -13
- package/dist/types/navigation.d.ts +10 -10
- package/package.json +7 -7
- package/dist/contracts/dist/client/react/drivers/shadcn.js +0 -7
- package/dist/contracts/dist/client/react/form-render.js +0 -261
- package/dist/contracts/dist/forms.js +0 -78
- package/dist/ui-kit-web/dist/ui/accordion.js +0 -48
- package/dist/ui-kit-web/dist/ui/atoms/FilterSelect/FilterSelect.js +0 -52
- package/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js +0 -156
- package/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js +0 -49
- package/dist/ui-kit-web/dist/ui/avatar.js +0 -32
- package/dist/ui-kit-web/dist/ui/badge.js +0 -27
- package/dist/ui-kit-web/dist/ui/breadcrumb.js +0 -59
- package/dist/ui-kit-web/dist/ui/button.js +0 -55
- package/dist/ui-kit-web/dist/ui/card.js +0 -44
- package/dist/ui-kit-web/dist/ui/carousel.js +0 -135
- package/dist/ui-kit-web/dist/ui/checkbox.js +0 -25
- package/dist/ui-kit-web/dist/ui/collapsible.js +0 -27
- package/dist/ui-kit-web/dist/ui/command.js +0 -90
- package/dist/ui-kit-web/dist/ui/dialog.js +0 -84
- package/dist/ui-kit-web/dist/ui/dropdown-menu.js +0 -57
- package/dist/ui-kit-web/dist/ui/empty-state.js +0 -43
- package/dist/ui-kit-web/dist/ui/empty.js +0 -62
- package/dist/ui-kit-web/dist/ui/field.js +0 -78
- package/dist/ui-kit-web/dist/ui/form.js +0 -16
- package/dist/ui-kit-web/dist/ui/hover-card.js +0 -40
- package/dist/ui-kit-web/dist/ui/input.js +0 -17
- package/dist/ui-kit-web/dist/ui/label.js +0 -19
- package/dist/ui-kit-web/dist/ui/marketing/Hero.js +0 -52
- package/dist/ui-kit-web/dist/ui/marketing/PricingTable.js +0 -59
- package/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +0 -102
- package/dist/ui-kit-web/dist/ui/molecules/SkeletonList.js +0 -14
- package/dist/ui-kit-web/dist/ui/navigation-menu.js +0 -75
- package/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js +0 -197
- package/dist/ui-kit-web/dist/ui/page-header.js +0 -40
- package/dist/ui-kit-web/dist/ui/pagination.js +0 -65
- package/dist/ui-kit-web/dist/ui/radio-group.js +0 -32
- package/dist/ui-kit-web/dist/ui/select.js +0 -86
- package/dist/ui-kit-web/dist/ui/separator.js +0 -21
- package/dist/ui-kit-web/dist/ui/sheet.js +0 -80
- package/dist/ui-kit-web/dist/ui/sidebar.js +0 -281
- package/dist/ui-kit-web/dist/ui/skeleton.js +0 -14
- package/dist/ui-kit-web/dist/ui/stack.js +0 -158
- package/dist/ui-kit-web/dist/ui/stepper.js +0 -37
- package/dist/ui-kit-web/dist/ui/switch.js +0 -24
- package/dist/ui-kit-web/dist/ui/table.js +0 -57
- package/dist/ui-kit-web/dist/ui/text.js +0 -16
- package/dist/ui-kit-web/dist/ui/textarea.js +0 -16
- package/dist/ui-kit-web/dist/ui/tooltip.js +0 -40
- package/dist/ui-kit-web/dist/ui/typography.js +0 -23
- package/dist/ui-kit-web/dist/ui/use-mobile.js +0 -20
- package/dist/ui-kit-web/dist/ui/utils.js +0 -10
- package/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React
|
|
2
|
-
import * as
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/templates/ContactTemplate.d.ts
|
|
5
5
|
declare function ContactTemplate({
|
|
@@ -7,7 +7,7 @@ declare function ContactTemplate({
|
|
|
7
7
|
meta,
|
|
8
8
|
onSubmit
|
|
9
9
|
}: {
|
|
10
|
-
title?: React
|
|
10
|
+
title?: React.ReactNode;
|
|
11
11
|
meta?: {
|
|
12
12
|
lastUpdated?: string | Date;
|
|
13
13
|
version?: string;
|
|
@@ -18,6 +18,6 @@ declare function ContactTemplate({
|
|
|
18
18
|
subject: string;
|
|
19
19
|
message: string;
|
|
20
20
|
}) => Promise<void> | void;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime107.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ContactTemplate };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Button } from "../../atoms/Button.js";
|
|
2
2
|
import { ContactFields } from "../molecules/ContactFields.js";
|
|
3
3
|
import { LegalPageLayout } from "../organisms/LegalPageLayout.js";
|
|
4
|
-
import * as React
|
|
4
|
+
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/legal/templates/ContactTemplate.tsx
|
|
8
8
|
function ContactTemplate({ title = "Contact", meta, onSubmit }) {
|
|
9
|
-
const [value, setValue] = React
|
|
9
|
+
const [value, setValue] = React.useState({
|
|
10
10
|
name: "",
|
|
11
11
|
email: "",
|
|
12
12
|
subject: "",
|
|
13
13
|
message: ""
|
|
14
14
|
});
|
|
15
|
-
const [loading, setLoading] = React
|
|
15
|
+
const [loading, setLoading] = React.useState(false);
|
|
16
16
|
const handleSubmit = async (e) => {
|
|
17
17
|
e.preventDefault();
|
|
18
18
|
if (!onSubmit) return;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/templates/CookiesTemplate.d.ts
|
|
@@ -9,23 +9,23 @@ declare function CookiesTemplate({
|
|
|
9
9
|
keyValues,
|
|
10
10
|
sections
|
|
11
11
|
}: {
|
|
12
|
-
title?: React
|
|
12
|
+
title?: React.ReactNode;
|
|
13
13
|
meta?: {
|
|
14
14
|
lastUpdated?: string | Date;
|
|
15
15
|
version?: string;
|
|
16
16
|
};
|
|
17
17
|
toc?: {
|
|
18
18
|
href: string;
|
|
19
|
-
label: React
|
|
19
|
+
label: React.ReactNode;
|
|
20
20
|
}[];
|
|
21
21
|
keyValues?: {
|
|
22
|
-
key: React
|
|
23
|
-
value: React
|
|
22
|
+
key: React.ReactNode;
|
|
23
|
+
value: React.ReactNode;
|
|
24
24
|
}[];
|
|
25
25
|
sections: {
|
|
26
26
|
id: string;
|
|
27
|
-
title: React
|
|
28
|
-
content: React
|
|
27
|
+
title: React.ReactNode;
|
|
28
|
+
content: React.ReactNode;
|
|
29
29
|
}[];
|
|
30
30
|
}): react_jsx_runtime94.JSX.Element;
|
|
31
31
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/templates/PrivacyTemplate.d.ts
|
|
@@ -9,23 +9,23 @@ declare function PrivacyTemplate({
|
|
|
9
9
|
sections,
|
|
10
10
|
definitions
|
|
11
11
|
}: {
|
|
12
|
-
title?: React
|
|
12
|
+
title?: React.ReactNode;
|
|
13
13
|
meta?: {
|
|
14
14
|
lastUpdated?: string | Date;
|
|
15
15
|
version?: string;
|
|
16
16
|
};
|
|
17
17
|
toc?: {
|
|
18
18
|
href: string;
|
|
19
|
-
label: React
|
|
19
|
+
label: React.ReactNode;
|
|
20
20
|
}[];
|
|
21
21
|
sections: {
|
|
22
22
|
id: string;
|
|
23
|
-
title: React
|
|
24
|
-
content: React
|
|
23
|
+
title: React.ReactNode;
|
|
24
|
+
content: React.ReactNode;
|
|
25
25
|
}[];
|
|
26
26
|
definitions?: {
|
|
27
|
-
term: React
|
|
28
|
-
description: React
|
|
27
|
+
term: React.ReactNode;
|
|
28
|
+
description: React.ReactNode;
|
|
29
29
|
}[];
|
|
30
30
|
}): react_jsx_runtime93.JSX.Element;
|
|
31
31
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/templates/SalesTermsTemplate.d.ts
|
|
@@ -8,19 +8,19 @@ declare function SalesTermsTemplate({
|
|
|
8
8
|
toc,
|
|
9
9
|
sections
|
|
10
10
|
}: {
|
|
11
|
-
title?: React
|
|
11
|
+
title?: React.ReactNode;
|
|
12
12
|
meta?: {
|
|
13
13
|
lastUpdated?: string | Date;
|
|
14
14
|
version?: string;
|
|
15
15
|
};
|
|
16
16
|
toc?: {
|
|
17
17
|
href: string;
|
|
18
|
-
label: React
|
|
18
|
+
label: React.ReactNode;
|
|
19
19
|
}[];
|
|
20
20
|
sections: {
|
|
21
21
|
id: string;
|
|
22
|
-
title: React
|
|
23
|
-
content: React
|
|
22
|
+
title: React.ReactNode;
|
|
23
|
+
content: React.ReactNode;
|
|
24
24
|
}[];
|
|
25
25
|
}): react_jsx_runtime92.JSX.Element;
|
|
26
26
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime91 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/legal/templates/TermsTemplate.d.ts
|
|
@@ -8,19 +8,19 @@ declare function TermsTemplate({
|
|
|
8
8
|
toc,
|
|
9
9
|
sections
|
|
10
10
|
}: {
|
|
11
|
-
title?: React
|
|
11
|
+
title?: React.ReactNode;
|
|
12
12
|
meta?: {
|
|
13
13
|
lastUpdated?: string | Date;
|
|
14
14
|
version?: string;
|
|
15
15
|
};
|
|
16
16
|
toc?: {
|
|
17
17
|
href: string;
|
|
18
|
-
label: React
|
|
18
|
+
label: React.ReactNode;
|
|
19
19
|
}[];
|
|
20
20
|
sections: {
|
|
21
21
|
id: string;
|
|
22
|
-
title: React
|
|
23
|
-
content: React
|
|
22
|
+
title: React.ReactNode;
|
|
23
|
+
content: React.ReactNode;
|
|
24
24
|
}[];
|
|
25
25
|
}): react_jsx_runtime91.JSX.Element;
|
|
26
26
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@lssm/lib.ui-kit-web/ui/card";
|
|
3
|
+
import { Card, CardContent as CardContent$1, CardDescription, CardHeader as CardHeader$1, CardTitle as CardTitle$1 } from "@lssm/lib.ui-kit-web/ui/card";
|
|
4
4
|
|
|
5
5
|
//#region src/components/marketing/MarketingCard.d.ts
|
|
6
6
|
type MarketingCardTone = 'default' | 'muted' | 'elevated';
|
|
7
|
-
type MarketingCardProps = React
|
|
7
|
+
type MarketingCardProps = React.ComponentProps<typeof Card> & {
|
|
8
8
|
tone?: MarketingCardTone;
|
|
9
9
|
};
|
|
10
10
|
declare function MarketingCard({
|
|
@@ -13,4 +13,4 @@ declare function MarketingCard({
|
|
|
13
13
|
...props
|
|
14
14
|
}: MarketingCardProps): react_jsx_runtime33.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { CardContent, CardDescription, CardHeader, CardTitle, MarketingCard, MarketingCardTone };
|
|
16
|
+
export { CardContent$1 as CardContent, CardDescription, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle, MarketingCard, MarketingCardTone };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "../../ui-kit-web/dist/ui/card.js";
|
|
3
1
|
import "react";
|
|
4
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
4
|
+
import { Card, CardContent as CardContent$1, CardDescription, CardHeader as CardHeader$1, CardTitle as CardTitle$1 } from "@lssm/lib.ui-kit-web/ui/card";
|
|
5
5
|
|
|
6
6
|
//#region src/components/marketing/MarketingCard.tsx
|
|
7
7
|
const toneClasses = {
|
|
@@ -17,4 +17,4 @@ function MarketingCard({ tone = "default", className, ...props }) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
export { MarketingCard };
|
|
20
|
+
export { CardContent$1 as CardContent, CardDescription, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle, MarketingCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MarketingSection } from "./MarketingSection.js";
|
|
2
|
-
import * as React
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
@@ -8,7 +8,7 @@ import * as class_variance_authority_types4 from "class-variance-authority/types
|
|
|
8
8
|
declare const gridVariants: (props?: ({
|
|
9
9
|
columns?: 1 | 3 | 2 | 4 | null | undefined;
|
|
10
10
|
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
11
|
-
type MarketingCardsSectionProps = React
|
|
11
|
+
type MarketingCardsSectionProps = React.PropsWithChildren<Omit<React.ComponentProps<typeof MarketingSection>, 'children'> & VariantProps<typeof gridVariants> & {
|
|
12
12
|
gridClassName?: string;
|
|
13
13
|
}>;
|
|
14
14
|
declare function MarketingCardsSection({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
1
|
import { MarketingSection } from "./MarketingSection.js";
|
|
3
2
|
import "react";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { cva } from "class-variance-authority";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
6
6
|
|
|
7
7
|
//#region src/components/marketing/MarketingCardsSection.tsx
|
|
8
8
|
const gridVariants = cva("grid gap-6", {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { MarketingSectionPadding, MarketingSectionTone } from "./MarketingSection.js";
|
|
2
|
-
import * as React
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/marketing/MarketingComparisonSection.d.ts
|
|
6
6
|
interface ComparisonColumn {
|
|
7
7
|
title: string;
|
|
8
|
-
items: (string | React
|
|
8
|
+
items: (string | React.ReactNode)[];
|
|
9
9
|
}
|
|
10
10
|
interface MarketingComparisonSectionProps {
|
|
11
|
-
eyebrow?: React
|
|
12
|
-
title?: React
|
|
13
|
-
subtitle?: React
|
|
11
|
+
eyebrow?: React.ReactNode;
|
|
12
|
+
title?: React.ReactNode;
|
|
13
|
+
subtitle?: React.ReactNode;
|
|
14
14
|
left: ComparisonColumn;
|
|
15
15
|
right: ComparisonColumn;
|
|
16
16
|
tone?: MarketingSectionTone;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HStack, VStack } from "../../ui-kit-web/dist/ui/stack.js";
|
|
2
|
-
import { Muted, Small } from "../../ui-kit-web/dist/ui/typography.js";
|
|
3
1
|
import { MarketingSection } from "./MarketingSection.js";
|
|
4
2
|
import "react";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
3
|
import { CheckCircle } from "lucide-react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { HStack, VStack } from "@lssm/lib.ui-kit-web/ui/stack";
|
|
6
|
+
import { Muted, Small } from "@lssm/lib.ui-kit-web/ui/typography";
|
|
7
7
|
|
|
8
8
|
//#region src/components/marketing/MarketingComparisonSection.tsx
|
|
9
9
|
function MarketingComparisonSection({ eyebrow, title, subtitle, left, right, tone = "default", padding = "comfortable" }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MarketingCardTone } from "./MarketingCard.js";
|
|
2
|
-
import * as React
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/components/marketing/MarketingIconCard.d.ts
|
|
8
|
-
type IconComponent = React
|
|
8
|
+
type IconComponent = React.ComponentType<{
|
|
9
9
|
className?: string;
|
|
10
10
|
size?: number;
|
|
11
11
|
}>;
|
|
@@ -15,11 +15,11 @@ declare const layoutVariants: (props?: ({
|
|
|
15
15
|
type MarketingIconCardVariant = VariantProps<typeof layoutVariants>['variant'];
|
|
16
16
|
interface MarketingIconCardProps {
|
|
17
17
|
icon: IconComponent;
|
|
18
|
-
title: React
|
|
19
|
-
description?: React
|
|
18
|
+
title: React.ReactNode;
|
|
19
|
+
description?: React.ReactNode;
|
|
20
20
|
tone?: MarketingCardTone;
|
|
21
21
|
iconClassName?: string;
|
|
22
|
-
headerAction?: React
|
|
22
|
+
headerAction?: React.ReactNode;
|
|
23
23
|
variant?: MarketingIconCardVariant;
|
|
24
24
|
className?: string;
|
|
25
25
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CardContent, CardTitle } from "../../ui-kit-web/dist/ui/card.js";
|
|
3
|
-
import { Muted, Small } from "../../ui-kit-web/dist/ui/typography.js";
|
|
4
|
-
import { MarketingCard } from "./MarketingCard.js";
|
|
1
|
+
import { CardContent, CardTitle, MarketingCard } from "./MarketingCard.js";
|
|
5
2
|
import "react";
|
|
6
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
4
|
import { cva } from "class-variance-authority";
|
|
5
|
+
import { HStack, VStack } from "@lssm/lib.ui-kit-web/ui/stack";
|
|
6
|
+
import { Muted, Small } from "@lssm/lib.ui-kit-web/ui/typography";
|
|
8
7
|
|
|
9
8
|
//#region src/components/marketing/MarketingIconCard.tsx
|
|
10
9
|
const layoutVariants = cva("w-full", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
@@ -10,10 +10,10 @@ declare const sectionVariants: (props?: ({
|
|
|
10
10
|
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
11
11
|
type MarketingSectionTone = VariantProps<typeof sectionVariants>['tone'];
|
|
12
12
|
type MarketingSectionPadding = VariantProps<typeof sectionVariants>['padding'];
|
|
13
|
-
type MarketingSectionProps = React
|
|
14
|
-
eyebrow?: React
|
|
15
|
-
title?: React
|
|
16
|
-
subtitle?: React
|
|
13
|
+
type MarketingSectionProps = React.PropsWithChildren<VariantProps<typeof sectionVariants> & {
|
|
14
|
+
eyebrow?: React.ReactNode;
|
|
15
|
+
title?: React.ReactNode;
|
|
16
|
+
subtitle?: React.ReactNode;
|
|
17
17
|
align?: 'left' | 'center';
|
|
18
18
|
maxWidth?: 'lg' | 'xl';
|
|
19
19
|
className?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VStack } from "../../ui-kit-web/dist/ui/stack.js";
|
|
2
|
-
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
|
-
import { Muted } from "../../ui-kit-web/dist/ui/typography.js";
|
|
4
1
|
import "react";
|
|
5
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
3
|
import { cva } from "class-variance-authority";
|
|
4
|
+
import { VStack } from "@lssm/lib.ui-kit-web/ui/stack";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
6
|
+
import { Muted } from "@lssm/lib.ui-kit-web/ui/typography";
|
|
7
7
|
|
|
8
8
|
//#region src/components/marketing/MarketingSection.tsx
|
|
9
9
|
const sectionVariants = cva("w-full", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MarketingCardTone } from "./MarketingCard.js";
|
|
2
|
-
import * as React
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/marketing/MarketingStepCard.d.ts
|
|
6
6
|
interface MarketingStepCardProps {
|
|
7
7
|
step: number | string;
|
|
8
|
-
title: React
|
|
9
|
-
description?: React
|
|
8
|
+
title: React.ReactNode;
|
|
9
|
+
description?: React.ReactNode;
|
|
10
10
|
tone?: MarketingCardTone;
|
|
11
11
|
}
|
|
12
12
|
declare function MarketingStepCard({
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CardContent, CardHeader, CardTitle } from "../../ui-kit-web/dist/ui/card.js";
|
|
3
|
-
import { Muted, Small } from "../../ui-kit-web/dist/ui/typography.js";
|
|
4
|
-
import { MarketingCard } from "./MarketingCard.js";
|
|
1
|
+
import { CardContent, CardHeader, CardTitle, MarketingCard } from "./MarketingCard.js";
|
|
5
2
|
import "react";
|
|
6
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { HStack, VStack } from "@lssm/lib.ui-kit-web/ui/stack";
|
|
5
|
+
import { Muted, Small } from "@lssm/lib.ui-kit-web/ui/typography";
|
|
7
6
|
|
|
8
7
|
//#region src/components/marketing/MarketingStepCard.tsx
|
|
9
8
|
function MarketingStepCard({ step, title, description, tone = "default" }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../atoms/Button.js";
|
|
2
|
-
import
|
|
3
|
-
import * as React$1 from "react";
|
|
2
|
+
import * as React from "react";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@lssm/lib.ui-kit-web/ui/dropdown-menu";
|
|
5
5
|
|
|
6
6
|
//#region src/components/molecules/AiLinkButton.tsx
|
|
7
7
|
function buildPrompt(href) {
|
|
@@ -16,19 +16,19 @@ function buildProviderUrl(provider, href) {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
function AiLinkButton({ href, className }) {
|
|
19
|
-
const copyLink = React
|
|
19
|
+
const copyLink = React.useCallback(() => {
|
|
20
20
|
try {
|
|
21
21
|
navigator.clipboard?.writeText(href).catch(() => {});
|
|
22
22
|
} catch {}
|
|
23
23
|
}, [href]);
|
|
24
|
-
const openChatGPT = React
|
|
24
|
+
const openChatGPT = React.useCallback(() => {
|
|
25
25
|
const url = buildProviderUrl("chatgpt", href);
|
|
26
26
|
try {
|
|
27
27
|
navigator.clipboard?.writeText(href).catch(() => {});
|
|
28
28
|
} catch {}
|
|
29
29
|
window.open(url, "_blank", "noopener,noreferrer");
|
|
30
30
|
}, [href]);
|
|
31
|
-
const openClaude = React
|
|
31
|
+
const openClaude = React.useCallback(() => {
|
|
32
32
|
const url = buildProviderUrl("claude", href);
|
|
33
33
|
try {
|
|
34
34
|
navigator.clipboard?.writeText(href).catch(() => {});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React
|
|
2
|
-
import * as
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/Breadcrumbs.d.ts
|
|
5
5
|
interface BreadcrumbItemDef {
|
|
6
6
|
href?: string;
|
|
7
|
-
label: React
|
|
7
|
+
label: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
declare function Breadcrumbs({
|
|
10
10
|
items
|
|
11
11
|
}: {
|
|
12
12
|
items: BreadcrumbItemDef[];
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime43.JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Breadcrumbs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import * as React$1 from "react";
|
|
3
|
+
import * as React from "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "@lssm/lib.ui-kit-web/ui/breadcrumb";
|
|
6
6
|
|
|
7
7
|
//#region src/components/molecules/Breadcrumbs.tsx
|
|
8
8
|
function Breadcrumbs({ items }) {
|
|
9
9
|
if (!items?.length) return null;
|
|
10
|
-
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: items.map((it, idx) => /* @__PURE__ */ jsxs(React
|
|
10
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: items.map((it, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
11
11
|
href: it.href,
|
|
12
12
|
children: it.label
|
|
13
13
|
}) : /* @__PURE__ */ jsx(BreadcrumbPage, { children: it.label }) }), idx < items.length - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})] }, idx)) }) });
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import * as React$1 from "react";
|
|
3
|
+
import * as React from "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "@lssm/lib.ui-kit-web/ui/command";
|
|
6
6
|
|
|
7
7
|
//#region src/components/molecules/CommandPalette.tsx
|
|
8
8
|
function CommandPalette({ open, onOpenChange, groups, placeholder = "Type a command or search…" }) {
|
|
9
|
-
const [internalOpen, setInternalOpen] = React
|
|
9
|
+
const [internalOpen, setInternalOpen] = React.useState(false);
|
|
10
10
|
const isControlled = typeof open === "boolean";
|
|
11
11
|
const visible = isControlled ? open : internalOpen;
|
|
12
12
|
const setVisible = isControlled ? onOpenChange : setInternalOpen;
|
|
13
|
-
React
|
|
13
|
+
React.useEffect(() => {
|
|
14
14
|
const handler = (e) => {
|
|
15
15
|
if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k") {
|
|
16
16
|
e.preventDefault();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommandPalette } from "./CommandPalette.js";
|
|
2
|
-
import * as React
|
|
3
|
-
import * as
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/molecules/CommandSearchTrigger.d.ts
|
|
6
6
|
declare function CommandSearchTrigger({
|
|
@@ -9,10 +9,10 @@ declare function CommandSearchTrigger({
|
|
|
9
9
|
placeholder,
|
|
10
10
|
compact
|
|
11
11
|
}: {
|
|
12
|
-
groups: React
|
|
12
|
+
groups: React.ComponentProps<typeof CommandPalette>['groups'];
|
|
13
13
|
className?: string;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
compact?: boolean;
|
|
16
|
-
}):
|
|
16
|
+
}): react_jsx_runtime44.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CommandSearchTrigger };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { Button } from "../atoms/Button.js";
|
|
4
|
-
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
5
4
|
import { CommandPalette } from "./CommandPalette.js";
|
|
6
|
-
import * as React
|
|
7
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import * as React from "react";
|
|
8
6
|
import { SearchIcon } from "lucide-react";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
9
9
|
|
|
10
10
|
//#region src/components/molecules/CommandSearchTrigger.tsx
|
|
11
11
|
function CommandSearchTrigger({ groups, className, placeholder = "Search…", compact = false }) {
|
|
12
|
-
const [open, setOpen] = React
|
|
13
|
-
React
|
|
12
|
+
const [open, setOpen] = React.useState(false);
|
|
13
|
+
React.useEffect(() => {
|
|
14
14
|
const handler = (e) => {
|
|
15
15
|
if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k") {
|
|
16
16
|
e.preventDefault();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
5
4
|
import { Card } from "@lssm/lib.ui-kit-web/ui/card";
|
|
5
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region src/components/molecules/EntityCard.d.ts
|
|
8
8
|
declare const entityCardVariants: (props?: ({
|
|
9
9
|
emphasis?: "default" | "strong" | "subtle" | null | undefined;
|
|
10
10
|
density?: "compact" | "comfortable" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
12
|
-
type EntityCardProps = React
|
|
13
|
-
cardTitle: React
|
|
14
|
-
cardSubtitle?: React
|
|
15
|
-
chips?: React
|
|
16
|
-
meta?: React
|
|
17
|
-
footer?: React
|
|
12
|
+
type EntityCardProps = React.ComponentProps<typeof Card> & VariantProps<typeof entityCardVariants> & {
|
|
13
|
+
cardTitle: React.ReactNode;
|
|
14
|
+
cardSubtitle?: React.ReactNode;
|
|
15
|
+
chips?: React.ReactNode;
|
|
16
|
+
meta?: React.ReactNode;
|
|
17
|
+
footer?: React.ReactNode;
|
|
18
18
|
href?: string;
|
|
19
19
|
contentClassName?: string;
|
|
20
|
-
preview?: React
|
|
20
|
+
preview?: React.ReactNode;
|
|
21
21
|
};
|
|
22
22
|
declare function EntityCard({
|
|
23
23
|
cardTitle,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { __toCommonJS } from "../../_virtual/rolldown_runtime.js";
|
|
4
|
-
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
5
|
-
import { Card, CardContent } from "../../ui-kit-web/dist/ui/card.js";
|
|
6
4
|
import { HoverPreview_exports, init_HoverPreview } from "./HoverPreview.js";
|
|
7
5
|
import "react";
|
|
8
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
7
|
import { cva } from "class-variance-authority";
|
|
8
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
9
|
+
import { Card, CardContent } from "@lssm/lib.ui-kit-web/ui/card";
|
|
10
10
|
|
|
11
11
|
//#region src/components/molecules/EntityCard.tsx
|
|
12
12
|
const entityCardVariants = cva("transition-all hover:shadow-2xs", {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/FiltersToolbar.d.ts
|
|
5
5
|
interface ActiveFilterChip {
|
|
6
6
|
key: string;
|
|
7
|
-
label: React
|
|
7
|
+
label: React.ReactNode;
|
|
8
8
|
onRemove?: () => void;
|
|
9
9
|
}
|
|
10
10
|
interface FiltersToolbarProps {
|
|
11
11
|
className?: string;
|
|
12
|
-
children?: React
|
|
13
|
-
right?: React
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
right?: React.ReactNode;
|
|
14
14
|
searchPlaceholder?: string;
|
|
15
15
|
searchValue?: string;
|
|
16
16
|
onSearchChange?: (value: string) => void;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Button } from "../atoms/Button.js";
|
|
2
2
|
import { Input } from "../atoms/Input.js";
|
|
3
|
-
import
|
|
4
|
-
import { Badge } from "../../ui-kit-web/dist/ui/badge.js";
|
|
5
|
-
import * as React$1 from "react";
|
|
3
|
+
import * as React from "react";
|
|
6
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
6
|
+
import { Badge } from "@lssm/lib.ui-kit-web/ui/badge";
|
|
7
7
|
|
|
8
8
|
//#region src/components/molecules/FiltersToolbar.tsx
|
|
9
9
|
function FiltersToolbar({ className, children, right, searchPlaceholder, searchValue, onSearchChange, onSearchSubmit, debounceMs = 250, activeChips = [], onClearAll }) {
|
|
10
|
-
const [q, setQ] = React
|
|
11
|
-
React
|
|
10
|
+
const [q, setQ] = React.useState(searchValue ?? "");
|
|
11
|
+
React.useEffect(() => {
|
|
12
12
|
setQ(searchValue ?? "");
|
|
13
13
|
}, [searchValue]);
|
|
14
|
-
React
|
|
14
|
+
React.useEffect(() => {
|
|
15
15
|
if (!onSearchChange) return;
|
|
16
16
|
const id = setTimeout(() => onSearchChange(q), debounceMs);
|
|
17
17
|
return () => clearTimeout(id);
|