@lssm/lib.design-system 0.0.0-canary-20251217060433 → 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 +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 +4 -6
- 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 +3 -3
- package/dist/components/data-view/DataViewList.d.ts +3 -3
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +2 -2
- 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 +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.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 +4 -2
- 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 +3 -5
- 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.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 +6 -6
- 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 +7 -7
- 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/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 +1 -1
- package/dist/renderers/form-contract.js +13 -13
- 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,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 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.ReactNode;
|
|
12
|
+
title?: React$1.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.ReactNode;
|
|
19
|
+
label: React$1.ReactNode;
|
|
20
20
|
}[];
|
|
21
21
|
keyValues?: {
|
|
22
|
-
key: React.ReactNode;
|
|
23
|
-
value: React.ReactNode;
|
|
22
|
+
key: React$1.ReactNode;
|
|
23
|
+
value: React$1.ReactNode;
|
|
24
24
|
}[];
|
|
25
25
|
sections: {
|
|
26
26
|
id: string;
|
|
27
|
-
title: React.ReactNode;
|
|
28
|
-
content: React.ReactNode;
|
|
27
|
+
title: React$1.ReactNode;
|
|
28
|
+
content: React$1.ReactNode;
|
|
29
29
|
}[];
|
|
30
30
|
}): react_jsx_runtime94.JSX.Element;
|
|
31
31
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 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.ReactNode;
|
|
12
|
+
title?: React$1.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.ReactNode;
|
|
19
|
+
label: React$1.ReactNode;
|
|
20
20
|
}[];
|
|
21
21
|
sections: {
|
|
22
22
|
id: string;
|
|
23
|
-
title: React.ReactNode;
|
|
24
|
-
content: React.ReactNode;
|
|
23
|
+
title: React$1.ReactNode;
|
|
24
|
+
content: React$1.ReactNode;
|
|
25
25
|
}[];
|
|
26
26
|
definitions?: {
|
|
27
|
-
term: React.ReactNode;
|
|
28
|
-
description: React.ReactNode;
|
|
27
|
+
term: React$1.ReactNode;
|
|
28
|
+
description: React$1.ReactNode;
|
|
29
29
|
}[];
|
|
30
30
|
}): react_jsx_runtime93.JSX.Element;
|
|
31
31
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 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.ReactNode;
|
|
11
|
+
title?: React$1.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.ReactNode;
|
|
18
|
+
label: React$1.ReactNode;
|
|
19
19
|
}[];
|
|
20
20
|
sections: {
|
|
21
21
|
id: string;
|
|
22
|
-
title: React.ReactNode;
|
|
23
|
-
content: React.ReactNode;
|
|
22
|
+
title: React$1.ReactNode;
|
|
23
|
+
content: React$1.ReactNode;
|
|
24
24
|
}[];
|
|
25
25
|
}): react_jsx_runtime92.JSX.Element;
|
|
26
26
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 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.ReactNode;
|
|
11
|
+
title?: React$1.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.ReactNode;
|
|
18
|
+
label: React$1.ReactNode;
|
|
19
19
|
}[];
|
|
20
20
|
sections: {
|
|
21
21
|
id: string;
|
|
22
|
-
title: React.ReactNode;
|
|
23
|
-
content: React.ReactNode;
|
|
22
|
+
title: React$1.ReactNode;
|
|
23
|
+
content: React$1.ReactNode;
|
|
24
24
|
}[];
|
|
25
25
|
}): react_jsx_runtime91.JSX.Element;
|
|
26
26
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
3
|
-
import { Card, CardContent
|
|
3
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } 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.ComponentProps<typeof Card> & {
|
|
7
|
+
type MarketingCardProps = React$1.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
|
|
16
|
+
export { CardContent, CardDescription, CardHeader, 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";
|
|
1
3
|
import "react";
|
|
2
4
|
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 {
|
|
20
|
+
export { MarketingCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MarketingSection } from "./MarketingSection.js";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 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.PropsWithChildren<Omit<React.ComponentProps<typeof MarketingSection>, 'children'> & VariantProps<typeof gridVariants> & {
|
|
11
|
+
type MarketingCardsSectionProps = React$1.PropsWithChildren<Omit<React$1.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";
|
|
1
2
|
import { MarketingSection } from "./MarketingSection.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
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 from "react";
|
|
2
|
+
import * as React$1 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.ReactNode)[];
|
|
8
|
+
items: (string | React$1.ReactNode)[];
|
|
9
9
|
}
|
|
10
10
|
interface MarketingComparisonSectionProps {
|
|
11
|
-
eyebrow?: React.ReactNode;
|
|
12
|
-
title?: React.ReactNode;
|
|
13
|
-
subtitle?: React.ReactNode;
|
|
11
|
+
eyebrow?: React$1.ReactNode;
|
|
12
|
+
title?: React$1.ReactNode;
|
|
13
|
+
subtitle?: React$1.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";
|
|
1
3
|
import { MarketingSection } from "./MarketingSection.js";
|
|
2
4
|
import "react";
|
|
3
|
-
import { CheckCircle } from "lucide-react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
6
|
-
import { Muted, Small } from "@lssm/lib.ui-kit-web/ui/typography";
|
|
6
|
+
import { CheckCircle } from "lucide-react";
|
|
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 from "react";
|
|
2
|
+
import * as React$1 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.ComponentType<{
|
|
8
|
+
type IconComponent = React$1.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.ReactNode;
|
|
19
|
-
description?: React.ReactNode;
|
|
18
|
+
title: React$1.ReactNode;
|
|
19
|
+
description?: React$1.ReactNode;
|
|
20
20
|
tone?: MarketingCardTone;
|
|
21
21
|
iconClassName?: string;
|
|
22
|
-
headerAction?: React.ReactNode;
|
|
22
|
+
headerAction?: React$1.ReactNode;
|
|
23
23
|
variant?: MarketingIconCardVariant;
|
|
24
24
|
className?: string;
|
|
25
25
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HStack, VStack } from "../../ui-kit-web/dist/ui/stack.js";
|
|
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";
|
|
2
5
|
import "react";
|
|
3
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
7
|
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";
|
|
7
8
|
|
|
8
9
|
//#region src/components/marketing/MarketingIconCard.tsx
|
|
9
10
|
const layoutVariants = cva("w-full", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 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.PropsWithChildren<VariantProps<typeof sectionVariants> & {
|
|
14
|
-
eyebrow?: React.ReactNode;
|
|
15
|
-
title?: React.ReactNode;
|
|
16
|
-
subtitle?: React.ReactNode;
|
|
13
|
+
type MarketingSectionProps = React$1.PropsWithChildren<VariantProps<typeof sectionVariants> & {
|
|
14
|
+
eyebrow?: React$1.ReactNode;
|
|
15
|
+
title?: React$1.ReactNode;
|
|
16
|
+
subtitle?: React$1.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";
|
|
1
4
|
import "react";
|
|
2
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
6
|
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 from "react";
|
|
2
|
+
import * as React$1 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.ReactNode;
|
|
9
|
-
description?: React.ReactNode;
|
|
8
|
+
title: React$1.ReactNode;
|
|
9
|
+
description?: React$1.ReactNode;
|
|
10
10
|
tone?: MarketingCardTone;
|
|
11
11
|
}
|
|
12
12
|
declare function MarketingStepCard({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HStack, VStack } from "../../ui-kit-web/dist/ui/stack.js";
|
|
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";
|
|
2
5
|
import "react";
|
|
3
6
|
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";
|
|
6
7
|
|
|
7
8
|
//#region src/components/marketing/MarketingStepCard.tsx
|
|
8
9
|
function MarketingStepCard({ step, title, description, tone = "default" }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../atoms/Button.js";
|
|
2
|
-
import
|
|
2
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../ui-kit-web/dist/ui/dropdown-menu.js";
|
|
3
|
+
import * as React$1 from "react";
|
|
3
4
|
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.useCallback(() => {
|
|
19
|
+
const copyLink = React$1.useCallback(() => {
|
|
20
20
|
try {
|
|
21
21
|
navigator.clipboard?.writeText(href).catch(() => {});
|
|
22
22
|
} catch {}
|
|
23
23
|
}, [href]);
|
|
24
|
-
const openChatGPT = React.useCallback(() => {
|
|
24
|
+
const openChatGPT = React$1.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.useCallback(() => {
|
|
31
|
+
const openClaude = React$1.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 from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime44 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.ReactNode;
|
|
7
|
+
label: React$1.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
declare function Breadcrumbs({
|
|
10
10
|
items
|
|
11
11
|
}: {
|
|
12
12
|
items: BreadcrumbItemDef[];
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime44.JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Breadcrumbs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../../ui-kit-web/dist/ui/breadcrumb.js";
|
|
4
|
+
import * as React$1 from "react";
|
|
4
5
|
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.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
10
|
+
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: items.map((it, idx) => /* @__PURE__ */ jsxs(React$1.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
|
|
3
|
+
import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "../../ui-kit-web/dist/ui/command.js";
|
|
4
|
+
import * as React$1 from "react";
|
|
4
5
|
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.useState(false);
|
|
9
|
+
const [internalOpen, setInternalOpen] = React$1.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.useEffect(() => {
|
|
13
|
+
React$1.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 from "react";
|
|
3
|
-
import * as
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime43 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.ComponentProps<typeof CommandPalette>['groups'];
|
|
12
|
+
groups: React$1.ComponentProps<typeof CommandPalette>['groups'];
|
|
13
13
|
className?: string;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
compact?: boolean;
|
|
16
|
-
}):
|
|
16
|
+
}): react_jsx_runtime43.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";
|
|
4
5
|
import { CommandPalette } from "./CommandPalette.js";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { SearchIcon } from "lucide-react";
|
|
6
|
+
import * as React$1 from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import {
|
|
8
|
+
import { SearchIcon } from "lucide-react";
|
|
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.useState(false);
|
|
13
|
-
React.useEffect(() => {
|
|
12
|
+
const [open, setOpen] = React$1.useState(false);
|
|
13
|
+
React$1.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 from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import { Card } from "@lssm/lib.ui-kit-web/ui/card";
|
|
5
4
|
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
5
|
+
import { Card } from "@lssm/lib.ui-kit-web/ui/card";
|
|
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.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;
|
|
12
|
+
type EntityCardProps = React$1.ComponentProps<typeof Card> & VariantProps<typeof entityCardVariants> & {
|
|
13
|
+
cardTitle: React$1.ReactNode;
|
|
14
|
+
cardSubtitle?: React$1.ReactNode;
|
|
15
|
+
chips?: React$1.ReactNode;
|
|
16
|
+
meta?: React$1.ReactNode;
|
|
17
|
+
footer?: React$1.ReactNode;
|
|
18
18
|
href?: string;
|
|
19
19
|
contentClassName?: string;
|
|
20
|
-
preview?: React.ReactNode;
|
|
20
|
+
preview?: React$1.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";
|
|
4
6
|
import { HoverPreview_exports, init_HoverPreview } from "./HoverPreview.js";
|
|
5
7
|
import "react";
|
|
6
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
9
|
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 from "react";
|
|
1
|
+
import * as React$1 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.ReactNode;
|
|
7
|
+
label: React$1.ReactNode;
|
|
8
8
|
onRemove?: () => void;
|
|
9
9
|
}
|
|
10
10
|
interface FiltersToolbarProps {
|
|
11
11
|
className?: string;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
right?: React.ReactNode;
|
|
12
|
+
children?: React$1.ReactNode;
|
|
13
|
+
right?: React$1.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
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
4
|
+
import { Badge } from "../../ui-kit-web/dist/ui/badge.js";
|
|
5
|
+
import * as React$1 from "react";
|
|
4
6
|
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.useState(searchValue ?? "");
|
|
11
|
-
React.useEffect(() => {
|
|
10
|
+
const [q, setQ] = React$1.useState(searchValue ?? "");
|
|
11
|
+
React$1.useEffect(() => {
|
|
12
12
|
setQ(searchValue ?? "");
|
|
13
13
|
}, [searchValue]);
|
|
14
|
-
React.useEffect(() => {
|
|
14
|
+
React$1.useEffect(() => {
|
|
15
15
|
if (!onSearchChange) return;
|
|
16
16
|
const id = setTimeout(() => onSearchChange(q), debounceMs);
|
|
17
17
|
return () => clearTimeout(id);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/HoverPreview.d.ts
|
|
5
5
|
interface HoverPreviewProps {
|
|
6
|
-
trigger: React.ReactNode;
|
|
7
|
-
content: React.ReactNode;
|
|
6
|
+
trigger: React$1.ReactNode;
|
|
7
|
+
content: React$1.ReactNode;
|
|
8
8
|
align?: 'start' | 'center' | 'end';
|
|
9
9
|
sideOffset?: number;
|
|
10
10
|
className?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { __esmMin, __export } from "../../_virtual/rolldown_runtime.js";
|
|
4
|
+
import { HoverCard, HoverCardContent, HoverCardTrigger, init_hover_card } from "../../ui-kit-web/dist/ui/hover-card.js";
|
|
4
5
|
import "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { HoverCard, HoverCardContent, HoverCardTrigger } from "@lssm/lib.ui-kit-web/ui/hover-card";
|
|
7
7
|
|
|
8
8
|
//#region src/components/molecules/HoverPreview.tsx
|
|
9
9
|
var HoverPreview_exports = /* @__PURE__ */ __export({ HoverPreview: () => HoverPreview });
|
|
@@ -18,7 +18,9 @@ function HoverPreview({ trigger, content, align = "center", sideOffset = 8, clas
|
|
|
18
18
|
children: content
|
|
19
19
|
})] });
|
|
20
20
|
}
|
|
21
|
-
var init_HoverPreview = __esmMin((() => {
|
|
21
|
+
var init_HoverPreview = __esmMin((() => {
|
|
22
|
+
init_hover_card();
|
|
23
|
+
}));
|
|
22
24
|
|
|
23
25
|
//#endregion
|
|
24
26
|
init_HoverPreview();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/LangSwitch.d.ts
|
|
5
5
|
interface LangOption {
|
|
6
6
|
code: string;
|
|
7
|
-
label: React.ReactNode;
|
|
7
|
+
label: React$1.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
interface LangSwitchProps {
|
|
10
10
|
value: string;
|