@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,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../ui-kit-web/dist/ui/dropdown-menu.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
4
|
+
import { Globe } from "lucide-react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/molecules/LangSwitchDropdown.tsx
|
|
7
7
|
function LangSwitchDropdown({ value, options, onChange, className }) {
|
|
8
|
-
const [open, setOpen] = React.useState(false);
|
|
8
|
+
const [open, setOpen] = React$1.useState(false);
|
|
9
9
|
const current = options.find((o) => o.code === value);
|
|
10
10
|
return /* @__PURE__ */ jsxs(DropdownMenu, {
|
|
11
11
|
open,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime73 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/LoaderBlock.d.ts
|
|
5
5
|
interface LoaderBlockProps {
|
|
6
|
-
label?: React.ReactNode;
|
|
7
|
-
description?: React.ReactNode;
|
|
6
|
+
label?: React$1.ReactNode;
|
|
7
|
+
description?: React$1.ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
size?: 'sm' | 'md' | 'lg';
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
1
2
|
import { LoaderCircular } from "../atoms/LoaderCircular.js";
|
|
2
3
|
import "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/molecules/LoaderBlock.tsx
|
|
7
7
|
function LoaderBlock({ label, description, className, size = "md" }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
4
|
import { NavItemCard } from "./NavItemCard.js";
|
|
4
5
|
import "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/components/molecules/MobileNavMenu.tsx
|
|
9
9
|
function MobileNavMenu({ items, className }) {
|
|
@@ -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, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
6
6
|
|
|
7
7
|
//#region src/components/molecules/NavItemCard.tsx
|
|
8
8
|
function NavItemCard({ item, className }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { HStack } from "../../ui-kit-web/dist/ui/stack.js";
|
|
2
|
+
import { Text } from "../../ui-kit-web/dist/ui/text.js";
|
|
3
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "../../ui-kit-web/dist/ui/navigation-menu.js";
|
|
4
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
1
5
|
import "react";
|
|
2
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { HStack } from "@lssm/lib.ui-kit-web/ui/stack";
|
|
4
|
-
import { Text } from "@lssm/lib.ui-kit-web/ui/text";
|
|
5
|
-
import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "@lssm/lib.ui-kit-web/ui/navigation-menu";
|
|
6
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/components/molecules/NavMain.tsx
|
|
9
9
|
function NavMain({ items, className }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button } from "../atoms/Button.js";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from "../../ui-kit-web/dist/ui/avatar.js";
|
|
3
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "../../ui-kit-web/dist/ui/dropdown-menu.js";
|
|
2
4
|
import "react";
|
|
3
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Avatar, AvatarFallback, AvatarImage } from "@lssm/lib.ui-kit-web/ui/avatar";
|
|
5
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "@lssm/lib.ui-kit-web/ui/dropdown-menu";
|
|
6
6
|
|
|
7
7
|
//#region src/components/molecules/NavUser.tsx
|
|
8
8
|
function NavUser({ name, email, imageUrl, items }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/OverviewCard.d.ts
|
|
@@ -6,7 +6,7 @@ interface OverviewCardProps {
|
|
|
6
6
|
title: string;
|
|
7
7
|
summary: string;
|
|
8
8
|
href: string;
|
|
9
|
-
preview?: React.ReactNode;
|
|
9
|
+
preview?: React$1.ReactNode;
|
|
10
10
|
ctaLabel: string;
|
|
11
11
|
}
|
|
12
12
|
declare function OverviewCard({
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { require_link } from "../../node_modules/next/link.js";
|
|
3
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from "../../ui-kit-web/dist/ui/dialog.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import
|
|
6
|
+
import Link from "next/link";
|
|
8
7
|
|
|
9
8
|
//#region src/components/molecules/OverviewCard.tsx
|
|
10
|
-
var import_link = /* @__PURE__ */ __toESM(require_link());
|
|
11
9
|
function OverviewCard({ title, summary, href, preview, ctaLabel }) {
|
|
12
10
|
return /* @__PURE__ */ jsxs(Dialog, { children: [/* @__PURE__ */ jsx(DialogTrigger, {
|
|
13
11
|
asChild: true,
|
|
@@ -25,7 +23,7 @@ function OverviewCard({ title, summary, href, preview, ctaLabel }) {
|
|
|
25
23
|
className: "max-h-[90vh] max-w-2xl overflow-y-auto sm:max-w-3xl",
|
|
26
24
|
children: [/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: title }) }), /* @__PURE__ */ jsxs("div", {
|
|
27
25
|
className: "space-y-4",
|
|
28
|
-
children: [preview, /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
26
|
+
children: [preview, /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Link, {
|
|
29
27
|
href,
|
|
30
28
|
className: "bg-primary text-primary-foreground inline-flex rounded-md px-4 py-2",
|
|
31
29
|
children: ctaLabel
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
+
import { Skeleton } from "../../../ui-kit-web/dist/ui/skeleton.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 { Skeleton } from "@lssm/lib.ui-kit-web/ui/skeleton";
|
|
5
5
|
|
|
6
6
|
//#region src/components/molecules/SkeletonBlock/index.web.tsx
|
|
7
7
|
function SkeletonBlock({ w = "w-full", h = "h-4", rounded = "md", className }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Skeleton } from "../../../ui-kit-web/dist/ui/skeleton.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Skeleton } from "@lssm/lib.ui-kit-web/ui/skeleton";
|
|
4
4
|
|
|
5
5
|
//#region src/components/molecules/SkeletonCircle/index.web.tsx
|
|
6
6
|
function SkeletonCircle({ size = 32, sizeClass, className }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SkeletonList } from "../../../ui-kit-web/dist/ui/molecules/SkeletonList.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { SkeletonList } from "@lssm/lib.ui-kit-web/ui/molecules/SkeletonList";
|
|
4
4
|
|
|
5
5
|
//#region src/components/molecules/SkeletonList/index.web.tsx
|
|
6
6
|
function SkeletonList$1({ count = 10, className }) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime47 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_types8 from "class-variance-authority/types";
|
|
5
|
+
import { Card } from "@lssm/lib.ui-kit-web/ui/card";
|
|
6
6
|
|
|
7
7
|
//#region src/components/molecules/StatCard.d.ts
|
|
8
8
|
declare const statVariants: (props?: ({
|
|
9
9
|
emphasis?: "default" | "strong" | "subtle" | null | undefined;
|
|
10
10
|
density?: "compact" | "comfortable" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
12
|
-
type StatCardProps = React.ComponentProps<typeof Card> & VariantProps<typeof statVariants> & {
|
|
13
|
-
label: React.ReactNode;
|
|
14
|
-
value: React.ReactNode;
|
|
15
|
-
hint?: React.ReactNode;
|
|
16
|
-
icon?: React.ReactNode;
|
|
12
|
+
type StatCardProps = React$1.ComponentProps<typeof Card> & VariantProps<typeof statVariants> & {
|
|
13
|
+
label: React$1.ReactNode;
|
|
14
|
+
value: React$1.ReactNode;
|
|
15
|
+
hint?: React$1.ReactNode;
|
|
16
|
+
icon?: React$1.ReactNode;
|
|
17
17
|
};
|
|
18
18
|
declare function StatCard({
|
|
19
19
|
label,
|
|
@@ -29,7 +29,7 @@ declare function StatCardGroup({
|
|
|
29
29
|
children,
|
|
30
30
|
className
|
|
31
31
|
}: {
|
|
32
|
-
children: React.ReactNode;
|
|
32
|
+
children: React$1.ReactNode;
|
|
33
33
|
className?: string;
|
|
34
34
|
}): react_jsx_runtime47.JSX.Element;
|
|
35
35
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
4
|
+
import { Card, CardContent } from "../../ui-kit-web/dist/ui/card.js";
|
|
3
5
|
import "react";
|
|
4
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
7
|
import { cva } from "class-variance-authority";
|
|
6
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
7
|
-
import { Card, CardContent } from "@lssm/lib.ui-kit-web/ui/card";
|
|
8
8
|
|
|
9
9
|
//#region src/components/molecules/StatCard.tsx
|
|
10
10
|
const statVariants = cva("", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
@@ -8,10 +8,10 @@ declare const chipVariants: (props?: ({
|
|
|
8
8
|
tone?: "neutral" | "danger" | "info" | "success" | "warning" | null | undefined;
|
|
9
9
|
size?: "sm" | "md" | null | undefined;
|
|
10
10
|
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
11
|
-
type StatusChipProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof chipVariants> & {
|
|
12
|
-
icon?: React.ReactNode;
|
|
13
|
-
label?: React.ReactNode;
|
|
14
|
-
hoverContent?: React.ReactNode;
|
|
11
|
+
type StatusChipProps = React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof chipVariants> & {
|
|
12
|
+
icon?: React$1.ReactNode;
|
|
13
|
+
label?: React$1.ReactNode;
|
|
14
|
+
hoverContent?: React$1.ReactNode;
|
|
15
15
|
};
|
|
16
16
|
declare function StatusChip({
|
|
17
17
|
tone,
|
|
@@ -1,11 +1,11 @@
|
|
|
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";
|
|
4
5
|
import { HoverPreview_exports, init_HoverPreview } from "./HoverPreview.js";
|
|
5
6
|
import "react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
import { cva } from "class-variance-authority";
|
|
8
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
9
9
|
|
|
10
10
|
//#region src/components/molecules/StatusChip.tsx
|
|
11
11
|
const chipVariants = cva("inline-flex items-center gap-1 rounded-md px-2 py-0.5 text-base font-medium", {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Doc.d.ts
|
|
5
5
|
interface HoverPreviewDocProps {
|
|
6
6
|
docType: string;
|
|
7
7
|
number?: string;
|
|
8
|
-
title?: React.ReactNode;
|
|
8
|
+
title?: React$1.ReactNode;
|
|
9
9
|
meta?: {
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
value: React.ReactNode;
|
|
10
|
+
label: React$1.ReactNode;
|
|
11
|
+
value: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
|
-
status?: React.ReactNode;
|
|
14
|
-
amount?: React.ReactNode;
|
|
13
|
+
status?: React$1.ReactNode;
|
|
14
|
+
amount?: React$1.ReactNode;
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
17
|
declare function HoverPreviewDoc({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Media.d.ts
|
|
5
5
|
interface HoverPreviewMediaProps {
|
|
6
|
-
title?: React.ReactNode;
|
|
7
|
-
subtitle?: React.ReactNode;
|
|
8
|
-
media: React.ReactNode;
|
|
9
|
-
caption?: React.ReactNode;
|
|
6
|
+
title?: React$1.ReactNode;
|
|
7
|
+
subtitle?: React$1.ReactNode;
|
|
8
|
+
media: React$1.ReactNode;
|
|
9
|
+
caption?: React$1.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
declare function HoverPreviewMedia({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Simple.d.ts
|
|
5
5
|
interface HoverPreviewLine {
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
label?: React.ReactNode;
|
|
8
|
-
value: React.ReactNode;
|
|
6
|
+
icon?: React$1.ReactNode;
|
|
7
|
+
label?: React$1.ReactNode;
|
|
8
|
+
value: React$1.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
interface HoverPreviewSimpleProps {
|
|
11
|
-
title: React.ReactNode;
|
|
12
|
-
subtitle?: React.ReactNode;
|
|
11
|
+
title: React$1.ReactNode;
|
|
12
|
+
subtitle?: React$1.ReactNode;
|
|
13
13
|
lines?: HoverPreviewLine[];
|
|
14
|
-
footer?: React.ReactNode;
|
|
14
|
+
footer?: React$1.ReactNode;
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
17
|
declare function HoverPreviewSimple({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/Stats.d.ts
|
|
5
5
|
interface HoverPreviewStat {
|
|
6
|
-
label: React.ReactNode;
|
|
7
|
-
value: React.ReactNode;
|
|
8
|
-
hint?: React.ReactNode;
|
|
6
|
+
label: React$1.ReactNode;
|
|
7
|
+
value: React$1.ReactNode;
|
|
8
|
+
hint?: React$1.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
declare function HoverPreviewStats({
|
|
11
11
|
title,
|
|
@@ -13,9 +13,9 @@ declare function HoverPreviewStats({
|
|
|
13
13
|
footer,
|
|
14
14
|
className
|
|
15
15
|
}: {
|
|
16
|
-
title?: React.ReactNode;
|
|
16
|
+
title?: React$1.ReactNode;
|
|
17
17
|
stats: HoverPreviewStat[];
|
|
18
|
-
footer?: React.ReactNode;
|
|
18
|
+
footer?: React$1.ReactNode;
|
|
19
19
|
className?: string;
|
|
20
20
|
}): react_jsx_runtime55.JSX.Element;
|
|
21
21
|
//#endregion
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/hover-previews/User.d.ts
|
|
5
5
|
interface HoverPreviewUserProps {
|
|
6
|
-
avatar?: React.ReactNode;
|
|
7
|
-
name: React.ReactNode;
|
|
8
|
-
email?: React.ReactNode;
|
|
6
|
+
avatar?: React$1.ReactNode;
|
|
7
|
+
name: React$1.ReactNode;
|
|
8
|
+
email?: React$1.ReactNode;
|
|
9
9
|
meta?: {
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
value: React.ReactNode;
|
|
10
|
+
label: React$1.ReactNode;
|
|
11
|
+
value: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
|
-
actions?: React.ReactNode;
|
|
13
|
+
actions?: React$1.ReactNode;
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
16
|
declare function HoverPreviewUser({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/AcademyLayout.d.ts
|
|
5
5
|
interface AcademyLayoutProps {
|
|
6
|
-
header: React.ReactNode;
|
|
7
|
-
toc?: React.ReactNode;
|
|
6
|
+
header: React$1.ReactNode;
|
|
7
|
+
toc?: React$1.ReactNode;
|
|
8
8
|
breadcrumb?: {
|
|
9
9
|
items: {
|
|
10
10
|
href?: string;
|
|
11
|
-
label: React.ReactNode;
|
|
11
|
+
label: React$1.ReactNode;
|
|
12
12
|
}[];
|
|
13
13
|
};
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
rightPanel?: React.ReactNode;
|
|
16
|
-
footer?: React.ReactNode;
|
|
14
|
+
children: React$1.ReactNode;
|
|
15
|
+
rightPanel?: React$1.ReactNode;
|
|
16
|
+
footer?: React$1.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
19
|
declare function AcademyLayout({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
4
|
+
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../../ui-kit-web/dist/ui/breadcrumb.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 { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "@lssm/lib.ui-kit-web/ui/breadcrumb";
|
|
7
7
|
|
|
8
8
|
//#region src/components/organisms/AcademyLayout.tsx
|
|
9
9
|
function AcademyLayout({ header, toc, breadcrumb, children, rightPanel, footer, className }) {
|
|
@@ -22,7 +22,7 @@ function AcademyLayout({ header, toc, breadcrumb, children, rightPanel, footer,
|
|
|
22
22
|
className: "min-w-0",
|
|
23
23
|
children: [breadcrumb && breadcrumb.items?.length ? /* @__PURE__ */ jsx("div", {
|
|
24
24
|
className: "mb-4",
|
|
25
|
-
children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
25
|
+
children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
26
26
|
href: it.href,
|
|
27
27
|
children: it.label
|
|
28
28
|
}) : /* @__PURE__ */ jsx(BreadcrumbPage, { children: it.label }) }), idx < breadcrumb.items.length - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})] }, idx)) }) })
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HeaderProps } from "./Header.js";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/organisms/AppHeader.d.ts
|
|
6
6
|
interface AppHeaderProps extends HeaderProps {
|
|
7
|
-
breadcrumb?: React.ReactNode;
|
|
8
|
-
toolbarRight?: React.ReactNode;
|
|
7
|
+
breadcrumb?: React$1.ReactNode;
|
|
8
|
+
toolbarRight?: React$1.ReactNode;
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
11
|
declare function AppHeader({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { Separator } from "../../ui-kit-web/dist/ui/separator.js";
|
|
4
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
5
|
import { Header } from "./Header.js";
|
|
4
6
|
import "react";
|
|
5
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
7
|
-
import { Separator } from "@lssm/lib.ui-kit-web/ui/separator";
|
|
8
8
|
|
|
9
9
|
//#region src/components/organisms/AppHeader.tsx
|
|
10
10
|
function AppHeader({ breadcrumb, toolbarRight, className, ...props }) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { AppSidebar } from "./AppSidebar.js";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/organisms/AppLayout.d.ts
|
|
6
6
|
interface AppLayoutProps {
|
|
7
|
-
header: React.ReactNode;
|
|
8
|
-
sidebar?: React.ComponentProps<typeof AppSidebar>;
|
|
7
|
+
header: React$1.ReactNode;
|
|
8
|
+
sidebar?: React$1.ComponentProps<typeof AppSidebar>;
|
|
9
9
|
breadcrumb?: {
|
|
10
10
|
items: {
|
|
11
11
|
href?: string;
|
|
12
|
-
label: React.ReactNode;
|
|
12
|
+
label: React$1.ReactNode;
|
|
13
13
|
}[];
|
|
14
14
|
};
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
footer?: React.ReactNode;
|
|
15
|
+
children: React$1.ReactNode;
|
|
16
|
+
footer?: React$1.ReactNode;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
19
|
declare function AppLayout({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { Separator } from "../../ui-kit-web/dist/ui/separator.js";
|
|
4
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
3
5
|
import { AppSidebar } from "./AppSidebar.js";
|
|
4
|
-
import
|
|
6
|
+
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "../../ui-kit-web/dist/ui/breadcrumb.js";
|
|
7
|
+
import * as React$1 from "react";
|
|
5
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
7
|
-
import { Separator } from "@lssm/lib.ui-kit-web/ui/separator";
|
|
8
|
-
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "@lssm/lib.ui-kit-web/ui/breadcrumb";
|
|
9
9
|
|
|
10
10
|
//#region src/components/organisms/AppLayout.tsx
|
|
11
11
|
function AppLayout({ header, sidebar, breadcrumb, children, footer, className }) {
|
|
@@ -28,7 +28,7 @@ function AppLayout({ header, sidebar, breadcrumb, children, footer, className })
|
|
|
28
28
|
className: "min-w-0",
|
|
29
29
|
children: [breadcrumb && breadcrumb.items?.length ? /* @__PURE__ */ jsx("div", {
|
|
30
30
|
className: "mb-2",
|
|
31
|
-
children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
31
|
+
children: /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.items.map((it, idx) => /* @__PURE__ */ jsxs(React$1.Fragment, { children: [/* @__PURE__ */ jsx(BreadcrumbItem, { children: it.href ? /* @__PURE__ */ jsx(BreadcrumbLink, {
|
|
32
32
|
href: it.href,
|
|
33
33
|
children: it.label
|
|
34
34
|
}) : /* @__PURE__ */ jsx(BreadcrumbPage, { children: it.label }) }), idx < breadcrumb.items.length - 1 && /* @__PURE__ */ jsx(BreadcrumbSeparator, {})] }, idx)) }) })
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NavSection } from "../../types/navigation.js";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/organisms/AppSidebar.d.ts
|
|
6
6
|
interface AppSidebarProps {
|
|
7
7
|
sections: NavSection[];
|
|
8
|
-
top?: React.ReactNode;
|
|
9
|
-
bottom?: React.ReactNode;
|
|
8
|
+
top?: React$1.ReactNode;
|
|
9
|
+
bottom?: React$1.ReactNode;
|
|
10
10
|
searchPlaceholder?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
density?: 'compact' | 'comfortable';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { cn } from "../../ui-kit-web/dist/ui/utils.js";
|
|
2
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarRail } from "../../ui-kit-web/dist/ui/sidebar.js";
|
|
1
3
|
import "react";
|
|
2
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
5
|
import { cva } from "class-variance-authority";
|
|
4
|
-
import { cn } from "@lssm/lib.ui-kit-web/ui/utils";
|
|
5
|
-
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarProvider, SidebarRail } from "@lssm/lib.ui-kit-web/ui/sidebar";
|
|
6
6
|
|
|
7
7
|
//#region src/components/organisms/AppSidebar.tsx
|
|
8
8
|
function AppSidebar({ sections, top, bottom, searchPlaceholder = "Search…", className, density }) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../atoms/Button.js";
|
|
2
|
+
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "../../ui-kit-web/dist/ui/empty.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "@lssm/lib.ui-kit-web/ui/empty";
|
|
5
5
|
|
|
6
6
|
//#region src/components/organisms/EmptyDataList.tsx
|
|
7
7
|
function EmptyDataList({ emptyListTitle, emptyListDescription, createButton, secondaryButton, media, mediaVariant = "icon", learnMoreHref, learnMoreLabel, learnMoreEndIcon, onLearnMore, handleLearnMore, className }) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
|
|
3
3
|
//#region src/components/organisms/EmptyDataList.types.d.ts
|
|
4
4
|
interface EmptyDataListProps {
|
|
5
|
-
emptyListTitle?: React.ReactNode;
|
|
6
|
-
emptyListDescription?: React.ReactNode;
|
|
7
|
-
createButton: React.ReactNode;
|
|
8
|
-
secondaryButton?: React.ReactNode;
|
|
9
|
-
media?: React.ReactNode;
|
|
5
|
+
emptyListTitle?: React$1.ReactNode;
|
|
6
|
+
emptyListDescription?: React$1.ReactNode;
|
|
7
|
+
createButton: React$1.ReactNode;
|
|
8
|
+
secondaryButton?: React$1.ReactNode;
|
|
9
|
+
media?: React$1.ReactNode;
|
|
10
10
|
mediaVariant?: 'default' | 'icon';
|
|
11
11
|
learnMoreHref?: string;
|
|
12
|
-
learnMoreLabel?: React.ReactNode;
|
|
13
|
-
learnMoreEndIcon?: React.ReactNode;
|
|
12
|
+
learnMoreLabel?: React$1.ReactNode;
|
|
13
|
+
learnMoreEndIcon?: React$1.ReactNode;
|
|
14
14
|
onLearnMore?: () => void;
|
|
15
15
|
handleLearnMore?: () => void;
|
|
16
16
|
className?: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
1
|
+
import * as React$1 from "react";
|
|
2
2
|
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/organisms/EmptySearchResult.d.ts
|
|
5
5
|
interface EmptySearchResultProps {
|
|
6
|
-
emptySearchTitle?: React.ReactNode;
|
|
7
|
-
emtptySearchTitle?: React.ReactNode;
|
|
8
|
-
emptySearchDescription?: React.ReactNode;
|
|
9
|
-
emtptySearchDescription?: React.ReactNode;
|
|
6
|
+
emptySearchTitle?: React$1.ReactNode;
|
|
7
|
+
emtptySearchTitle?: React$1.ReactNode;
|
|
8
|
+
emptySearchDescription?: React$1.ReactNode;
|
|
9
|
+
emtptySearchDescription?: React$1.ReactNode;
|
|
10
10
|
onSearchChange?: (value: string) => void;
|
|
11
11
|
handleSearchChange?: (value: string) => void;
|
|
12
12
|
className?: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Input } from "../atoms/Input.js";
|
|
2
|
-
import
|
|
2
|
+
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle } from "../../ui-kit-web/dist/ui/empty.js";
|
|
3
|
+
import * as React$1 from "react";
|
|
3
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle } from "@lssm/lib.ui-kit-web/ui/empty";
|
|
5
5
|
|
|
6
6
|
//#region src/components/organisms/EmptySearchResult.tsx
|
|
7
7
|
function EmptySearchResult({ emptySearchTitle, emtptySearchTitle, emptySearchDescription, emtptySearchDescription, onSearchChange, handleSearchChange, className }) {
|
|
8
8
|
const title = emptySearchTitle ?? emtptySearchTitle ?? "No results";
|
|
9
9
|
const description = emptySearchDescription ?? emtptySearchDescription ?? "Try another search.";
|
|
10
10
|
const onChange = onSearchChange ?? handleSearchChange;
|
|
11
|
-
const [q, setQ] = React.useState("");
|
|
11
|
+
const [q, setQ] = React$1.useState("");
|
|
12
12
|
return /* @__PURE__ */ jsxs(Empty, {
|
|
13
13
|
className,
|
|
14
14
|
children: [/* @__PURE__ */ jsxs(EmptyHeader, { children: [/* @__PURE__ */ jsx(EmptyTitle, { children: title }), description ? /* @__PURE__ */ jsx(EmptyDescription, { children: description }) : null] }), /* @__PURE__ */ jsx(EmptyContent, { children: /* @__PURE__ */ jsx(Input, {
|