@lssm/lib.design-system 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/rolldown_runtime.js +1 -12
- package/dist/components/agent/AgentMonitor.js +3 -3
- package/dist/components/agent/ApprovalQueue.d.ts +2 -2
- package/dist/components/agent/ApprovalQueue.js +4 -5
- package/dist/components/atoms/ActionButtons.d.ts +3 -3
- package/dist/components/atoms/ActionButtons.js +3 -3
- package/dist/components/atoms/Button.d.ts +6 -6
- package/dist/components/atoms/Button.js +2 -2
- package/dist/components/atoms/ButtonLink.js +2 -2
- package/dist/components/atoms/Cta.d.ts +7 -7
- package/dist/components/atoms/Cta.js +2 -2
- package/dist/components/atoms/DataChips.d.ts +2 -2
- package/dist/components/atoms/DataChips.js +1 -1
- package/dist/components/atoms/EmptyState.d.ts +2 -2
- package/dist/components/atoms/EmptyState.js +1 -1
- package/dist/components/atoms/ErrorState.d.ts +8 -8
- package/dist/components/atoms/ErrorState.js +1 -1
- package/dist/components/atoms/Input.d.ts +2 -2
- package/dist/components/atoms/Input.js +1 -1
- package/dist/components/atoms/Link.web.d.ts +3 -3
- package/dist/components/atoms/Link.web.js +4 -6
- package/dist/components/atoms/LoaderCircular.d.ts +7 -7
- package/dist/components/atoms/LoaderCircular.js +2 -2
- package/dist/components/atoms/NavBrand.d.ts +5 -5
- package/dist/components/atoms/NavBrand.js +1 -1
- package/dist/components/atoms/Stepper.d.ts +2 -2
- package/dist/components/atoms/Stepper.js +1 -1
- package/dist/components/atoms/Textarea.d.ts +2 -2
- package/dist/components/atoms/Textarea.js +4 -4
- package/dist/components/data-view/DataViewDetail.d.ts +5 -5
- package/dist/components/data-view/DataViewList.d.ts +5 -5
- package/dist/components/data-view/DataViewRenderer.d.ts +7 -7
- package/dist/components/data-view/DataViewRenderer.js +3 -3
- package/dist/components/data-view/DataViewTable.d.ts +6 -6
- package/dist/components/forms/ActionForm.d.ts +5 -5
- package/dist/components/forms/ActionForm.js +1 -1
- package/dist/components/forms/FormCardLayout.d.ts +7 -7
- package/dist/components/forms/FormCardLayout.js +2 -2
- package/dist/components/forms/FormDialog.d.ts +7 -7
- package/dist/components/forms/FormDialog.js +1 -1
- package/dist/components/forms/FormLayout.d.ts +8 -8
- package/dist/components/forms/FormLayout.js +1 -1
- package/dist/components/forms/FormOneByOneLayout.d.ts +6 -6
- package/dist/components/forms/FormOneByOneLayout.js +4 -4
- package/dist/components/forms/FormStepsLayout.d.ts +6 -6
- package/dist/components/forms/FormStepsLayout.js +5 -5
- package/dist/components/forms/ZodForm.d.ts +6 -6
- package/dist/components/forms/ZodForm.js +1 -1
- package/dist/components/legal/atoms/DefinitionList.d.ts +5 -5
- package/dist/components/legal/atoms/DefinitionList.js +1 -1
- package/dist/components/legal/atoms/KeyValueList.d.ts +5 -5
- package/dist/components/legal/atoms/KeyValueList.js +1 -1
- package/dist/components/legal/atoms/LegalCallout.d.ts +6 -6
- package/dist/components/legal/atoms/LegalCallout.js +1 -1
- package/dist/components/legal/atoms/LegalHeading.d.ts +6 -6
- package/dist/components/legal/atoms/LegalHeading.js +1 -1
- package/dist/components/legal/atoms/LegalList.d.ts +6 -6
- package/dist/components/legal/atoms/LegalList.js +1 -1
- package/dist/components/legal/atoms/LegalSection.d.ts +6 -6
- package/dist/components/legal/atoms/LegalSection.js +1 -1
- package/dist/components/legal/atoms/LegalText.d.ts +6 -6
- package/dist/components/legal/atoms/LegalText.js +1 -1
- package/dist/components/legal/molecules/Consent.d.ts +8 -8
- package/dist/components/legal/molecules/Consent.js +2 -2
- package/dist/components/legal/molecules/ContactFields.d.ts +2 -2
- package/dist/components/legal/molecules/ContactFields.js +1 -1
- package/dist/components/legal/molecules/LegalMeta.d.ts +2 -2
- package/dist/components/legal/molecules/LegalMeta.js +1 -1
- package/dist/components/legal/molecules/LegalTOC.d.ts +7 -7
- package/dist/components/legal/molecules/LegalTOC.js +1 -1
- package/dist/components/legal/organisms/ContactForm.d.ts +4 -4
- package/dist/components/legal/organisms/ContactForm.js +3 -3
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +5 -5
- package/dist/components/legal/organisms/GDPRDataRequest.js +2 -2
- package/dist/components/legal/organisms/GDPRRights.d.ts +5 -5
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +5 -5
- package/dist/components/legal/organisms/LegalPageLayout.js +1 -1
- package/dist/components/legal/templates/ContactTemplate.d.ts +4 -4
- package/dist/components/legal/templates/ContactTemplate.js +3 -3
- package/dist/components/legal/templates/CookiesTemplate.d.ts +9 -9
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +9 -9
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +7 -7
- package/dist/components/legal/templates/TermsTemplate.d.ts +7 -7
- package/dist/components/marketing/MarketingCard.d.ts +4 -4
- package/dist/components/marketing/MarketingCard.js +3 -3
- package/dist/components/marketing/MarketingCardsSection.d.ts +2 -2
- package/dist/components/marketing/MarketingCardsSection.js +1 -1
- package/dist/components/marketing/MarketingComparisonSection.d.ts +5 -5
- package/dist/components/marketing/MarketingComparisonSection.js +3 -3
- package/dist/components/marketing/MarketingIconCard.d.ts +5 -5
- package/dist/components/marketing/MarketingIconCard.js +4 -3
- package/dist/components/marketing/MarketingSection.d.ts +5 -5
- package/dist/components/marketing/MarketingSection.js +3 -3
- package/dist/components/marketing/MarketingStepCard.d.ts +3 -3
- package/dist/components/marketing/MarketingStepCard.js +4 -3
- package/dist/components/molecules/AiLinkButton.d.ts +2 -2
- package/dist/components/molecules/AiLinkButton.js +5 -5
- package/dist/components/molecules/Breadcrumbs.d.ts +4 -4
- package/dist/components/molecules/Breadcrumbs.js +3 -3
- package/dist/components/molecules/CommandPalette.js +4 -4
- package/dist/components/molecules/CommandSearchTrigger.d.ts +2 -2
- package/dist/components/molecules/CommandSearchTrigger.js +5 -5
- package/dist/components/molecules/EntityCard.d.ts +11 -11
- package/dist/components/molecules/EntityCard.js +2 -2
- package/dist/components/molecules/FiltersToolbar.d.ts +6 -6
- package/dist/components/molecules/FiltersToolbar.js +6 -6
- package/dist/components/molecules/HoverPreview.d.ts +5 -5
- package/dist/components/molecules/HoverPreview.js +4 -2
- package/dist/components/molecules/LangSwitch.d.ts +4 -4
- package/dist/components/molecules/LangSwitchDropdown.js +4 -4
- package/dist/components/molecules/LoaderBlock.d.ts +5 -5
- package/dist/components/molecules/LoaderBlock.js +1 -1
- package/dist/components/molecules/MobileNavMenu.js +1 -1
- package/dist/components/molecules/NavItemCard.js +1 -1
- package/dist/components/molecules/NavMain.d.ts +2 -2
- package/dist/components/molecules/NavMain.js +4 -4
- package/dist/components/molecules/NavUser.js +2 -2
- package/dist/components/molecules/OverviewCard.d.ts +4 -4
- package/dist/components/molecules/OverviewCard.js +3 -5
- package/dist/components/molecules/SkeletonBlock/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonBlock/index.web.js +2 -2
- package/dist/components/molecules/SkeletonCircle/index.web.js +1 -1
- package/dist/components/molecules/SkeletonList/index.web.d.ts +2 -2
- package/dist/components/molecules/SkeletonList/index.web.js +1 -1
- package/dist/components/molecules/StatCard.d.ts +11 -11
- package/dist/components/molecules/StatCard.js +2 -2
- package/dist/components/molecules/StatusChip.d.ts +7 -7
- package/dist/components/molecules/StatusChip.js +1 -1
- package/dist/components/molecules/hover-previews/Doc.d.ts +6 -6
- package/dist/components/molecules/hover-previews/Media.d.ts +7 -7
- package/dist/components/molecules/hover-previews/Simple.d.ts +9 -9
- package/dist/components/molecules/hover-previews/Stats.d.ts +8 -8
- package/dist/components/molecules/hover-previews/User.d.ts +9 -9
- package/dist/components/organisms/AcademyLayout.d.ts +9 -9
- package/dist/components/organisms/AcademyLayout.js +4 -4
- package/dist/components/organisms/AppHeader.d.ts +5 -5
- package/dist/components/organisms/AppHeader.js +2 -2
- package/dist/components/organisms/AppLayout.d.ts +6 -6
- package/dist/components/organisms/AppLayout.js +5 -5
- package/dist/components/organisms/AppSidebar.d.ts +3 -3
- package/dist/components/organisms/AppSidebar.js +2 -2
- package/dist/components/organisms/EmptyDataList.d.ts +2 -2
- package/dist/components/organisms/EmptyDataList.js +1 -1
- package/dist/components/organisms/EmptyDataList.types.d.ts +8 -8
- package/dist/components/organisms/EmptySearchResult.d.ts +7 -7
- package/dist/components/organisms/EmptySearchResult.js +3 -3
- package/dist/components/organisms/FAQSection.d.ts +8 -8
- package/dist/components/organisms/FAQSection.js +4 -4
- package/dist/components/organisms/FeatureCarousel.d.ts +4 -4
- package/dist/components/organisms/FeatureCarousel.js +2 -2
- package/dist/components/organisms/FeaturesSection.d.ts +6 -6
- package/dist/components/organisms/FeaturesSection.js +1 -1
- package/dist/components/organisms/Footer.d.ts +5 -5
- package/dist/components/organisms/Footer.js +2 -2
- package/dist/components/organisms/Header.d.ts +5 -5
- package/dist/components/organisms/Header.js +4 -4
- package/dist/components/organisms/HeroResponsive.d.ts +3 -3
- package/dist/components/organisms/HeroSection.d.ts +5 -5
- package/dist/components/organisms/HeroSection.js +1 -1
- package/dist/components/organisms/ListCardPage.d.ts +9 -9
- package/dist/components/organisms/ListCardPage.js +2 -2
- package/dist/components/organisms/ListGridPage.d.ts +9 -9
- package/dist/components/organisms/ListGridPage.js +1 -1
- package/dist/components/organisms/ListPageResponsive.d.ts +2 -2
- package/dist/components/organisms/ListPageResponsive.js +1 -1
- package/dist/components/organisms/ListTablePage.d.ts +10 -10
- package/dist/components/organisms/ListTablePage.js +2 -2
- package/dist/components/organisms/MarketingHeader.d.ts +4 -4
- package/dist/components/organisms/MarketingHeader.js +9 -9
- package/dist/components/organisms/MarketingHeaderDesktop.js +3 -3
- package/dist/components/organisms/MarketingHeaderMobile.js +6 -6
- package/dist/components/organisms/MarketingLayout.d.ts +4 -4
- package/dist/components/organisms/MarketingLayout.js +2 -2
- package/dist/components/organisms/PageHeaderResponsive.d.ts +2 -2
- package/dist/components/organisms/PageHeaderResponsive.js +1 -1
- package/dist/components/organisms/PricingCarousel.d.ts +2 -2
- package/dist/components/organisms/PricingCarousel.js +2 -2
- package/dist/components/organisms/PricingSection.d.ts +5 -5
- package/dist/components/organisms/PricingSection.js +1 -1
- package/dist/components/organisms/TestimonialCarousel.d.ts +7 -7
- package/dist/components/organisms/TestimonialCarousel.js +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +2 -2
- package/dist/components/templates/lists/ListPageTemplate/index.web.js +5 -5
- package/dist/components/templates/lists/ListPageTemplate/types.d.ts +7 -7
- package/dist/contracts/dist/client/react/drivers/shadcn.js +7 -0
- package/dist/contracts/dist/client/react/form-render.js +261 -0
- package/dist/contracts/dist/forms.js +78 -0
- package/dist/hooks/useListUrlState.js +7 -7
- package/dist/index.js +2 -1
- package/dist/platform/useColorScheme.js +3 -3
- package/dist/platform/useReducedMotion.js +3 -3
- package/dist/platform/useResponsive.js +4 -4
- package/dist/renderers/form-contract.d.ts +3 -3
- package/dist/renderers/form-contract.js +13 -13
- package/dist/theme/variants.d.ts +2 -2
- package/dist/types/navigation.d.ts +10 -10
- package/dist/ui-kit-web/dist/ui/accordion.js +48 -0
- package/dist/ui-kit-web/dist/ui/atoms/FilterSelect/FilterSelect.js +52 -0
- package/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js +156 -0
- package/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js +49 -0
- package/dist/ui-kit-web/dist/ui/avatar.js +32 -0
- package/dist/ui-kit-web/dist/ui/badge.js +27 -0
- package/dist/ui-kit-web/dist/ui/breadcrumb.js +59 -0
- package/dist/ui-kit-web/dist/ui/button.js +55 -0
- package/dist/ui-kit-web/dist/ui/card.js +44 -0
- package/dist/ui-kit-web/dist/ui/carousel.js +135 -0
- package/dist/ui-kit-web/dist/ui/checkbox.js +25 -0
- package/dist/ui-kit-web/dist/ui/collapsible.js +27 -0
- package/dist/ui-kit-web/dist/ui/command.js +90 -0
- package/dist/ui-kit-web/dist/ui/dialog.js +84 -0
- package/dist/ui-kit-web/dist/ui/dropdown-menu.js +57 -0
- package/dist/ui-kit-web/dist/ui/empty-state.js +43 -0
- package/dist/ui-kit-web/dist/ui/empty.js +62 -0
- package/dist/ui-kit-web/dist/ui/field.js +78 -0
- package/dist/ui-kit-web/dist/ui/form.js +16 -0
- package/dist/ui-kit-web/dist/ui/hover-card.js +40 -0
- package/dist/ui-kit-web/dist/ui/input.js +17 -0
- package/dist/ui-kit-web/dist/ui/label.js +19 -0
- package/dist/ui-kit-web/dist/ui/marketing/Hero.js +52 -0
- package/dist/ui-kit-web/dist/ui/marketing/PricingTable.js +59 -0
- package/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +102 -0
- package/dist/ui-kit-web/dist/ui/molecules/SkeletonList.js +14 -0
- package/dist/ui-kit-web/dist/ui/navigation-menu.js +75 -0
- package/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js +197 -0
- package/dist/ui-kit-web/dist/ui/page-header.js +40 -0
- package/dist/ui-kit-web/dist/ui/pagination.js +65 -0
- package/dist/ui-kit-web/dist/ui/radio-group.js +32 -0
- package/dist/ui-kit-web/dist/ui/select.js +86 -0
- package/dist/ui-kit-web/dist/ui/separator.js +21 -0
- package/dist/ui-kit-web/dist/ui/sheet.js +80 -0
- package/dist/ui-kit-web/dist/ui/sidebar.js +281 -0
- package/dist/ui-kit-web/dist/ui/skeleton.js +14 -0
- package/dist/ui-kit-web/dist/ui/stack.js +158 -0
- package/dist/ui-kit-web/dist/ui/stepper.js +37 -0
- package/dist/ui-kit-web/dist/ui/switch.js +24 -0
- package/dist/ui-kit-web/dist/ui/table.js +57 -0
- package/dist/ui-kit-web/dist/ui/text.js +16 -0
- package/dist/ui-kit-web/dist/ui/textarea.js +16 -0
- package/dist/ui-kit-web/dist/ui/tooltip.js +40 -0
- package/dist/ui-kit-web/dist/ui/typography.js +23 -0
- package/dist/ui-kit-web/dist/ui/use-mobile.js +20 -0
- package/dist/ui-kit-web/dist/ui/utils.js +10 -0
- package/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +13 -0
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/molecules/AiLinkButton.d.ts
|
|
4
4
|
type Provider = 'chatgpt' | 'claude';
|
|
@@ -10,6 +10,6 @@ interface AiLinkButtonProps {
|
|
|
10
10
|
declare function AiLinkButton({
|
|
11
11
|
href,
|
|
12
12
|
className
|
|
13
|
-
}: AiLinkButtonProps):
|
|
13
|
+
}: AiLinkButtonProps): react_jsx_runtime69.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { AiLinkButton };
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { CommandPalette } from "./CommandPalette.js";
|
|
2
|
-
import * as React from "react";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
3
|
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/molecules/CommandSearchTrigger.d.ts
|
|
@@ -9,7 +9,7 @@ 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;
|
|
@@ -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";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
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,
|
|
@@ -32,6 +32,6 @@ declare function EntityCard({
|
|
|
32
32
|
href,
|
|
33
33
|
preview,
|
|
34
34
|
...cardProps
|
|
35
|
-
}: EntityCardProps):
|
|
35
|
+
}: EntityCardProps): react_jsx_runtime46.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { EntityCard };
|
|
@@ -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";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
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;
|
|
@@ -30,6 +30,6 @@ declare function FiltersToolbar({
|
|
|
30
30
|
debounceMs,
|
|
31
31
|
activeChips,
|
|
32
32
|
onClearAll
|
|
33
|
-
}: FiltersToolbarProps):
|
|
33
|
+
}: FiltersToolbarProps): react_jsx_runtime68.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { FiltersToolbar };
|
|
@@ -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";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
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;
|
|
@@ -15,6 +15,6 @@ declare function HoverPreview({
|
|
|
15
15
|
align,
|
|
16
16
|
sideOffset,
|
|
17
17
|
className
|
|
18
|
-
}: HoverPreviewProps):
|
|
18
|
+
}: HoverPreviewProps): react_jsx_runtime50.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { HoverPreview };
|
|
@@ -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";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
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;
|
|
@@ -17,6 +17,6 @@ declare function LangSwitch({
|
|
|
17
17
|
options,
|
|
18
18
|
onChange,
|
|
19
19
|
size
|
|
20
|
-
}: LangSwitchProps):
|
|
20
|
+
}: LangSwitchProps): react_jsx_runtime41.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { LangSwitch, LangSwitchProps };
|
|
@@ -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";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
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
|
}
|
|
@@ -13,6 +13,6 @@ declare function LoaderBlock({
|
|
|
13
13
|
description,
|
|
14
14
|
className,
|
|
15
15
|
size
|
|
16
|
-
}: LoaderBlockProps):
|
|
16
|
+
}: LoaderBlockProps): react_jsx_runtime73.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { LoaderBlock };
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { HeaderNavItem } from "../../types/navigation.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/NavMain.d.ts
|
|
5
5
|
declare function NavMain({
|
|
@@ -8,6 +8,6 @@ declare function NavMain({
|
|
|
8
8
|
}: {
|
|
9
9
|
items: HeaderNavItem[];
|
|
10
10
|
className?: string;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime17.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { NavMain };
|
|
@@ -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,12 +1,12 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/OverviewCard.d.ts
|
|
5
5
|
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({
|
|
@@ -15,6 +15,6 @@ declare function OverviewCard({
|
|
|
15
15
|
href,
|
|
16
16
|
preview,
|
|
17
17
|
ctaLabel
|
|
18
|
-
}: OverviewCardProps):
|
|
18
|
+
}: OverviewCardProps): react_jsx_runtime49.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { 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,5 +1,5 @@
|
|
|
1
1
|
import { SkeletonBlockProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/SkeletonBlock/index.web.d.ts
|
|
5
5
|
declare function SkeletonBlock({
|
|
@@ -7,6 +7,6 @@ declare function SkeletonBlock({
|
|
|
7
7
|
h,
|
|
8
8
|
rounded,
|
|
9
9
|
className
|
|
10
|
-
}: SkeletonBlockProps):
|
|
10
|
+
}: SkeletonBlockProps): react_jsx_runtime111.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SkeletonBlock };
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import { SkeletonListProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/molecules/SkeletonList/index.web.d.ts
|
|
5
5
|
declare function SkeletonList({
|
|
6
6
|
count,
|
|
7
7
|
className
|
|
8
|
-
}: SkeletonListProps):
|
|
8
|
+
}: SkeletonListProps): react_jsx_runtime113.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SkeletonList };
|
|
@@ -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";
|
|
2
|
-
import * as
|
|
1
|
+
import * as React$1 from "react";
|
|
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,
|
|
@@ -24,13 +24,13 @@ declare function StatCard({
|
|
|
24
24
|
density,
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: StatCardProps):
|
|
27
|
+
}: StatCardProps): react_jsx_runtime47.JSX.Element;
|
|
28
28
|
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
|
|
36
36
|
export { StatCard, StatCardGroup };
|
|
@@ -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("", {
|