@lssm/lib.design-system 0.0.0-canary-20251217052941 → 0.0.0-canary-20251217060433
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/components/agent/AgentMonitor.d.ts +28 -0
- package/dist/components/agent/ApprovalQueue.d.ts +25 -0
- package/dist/components/atoms/ActionButtons.d.ts +25 -0
- package/dist/components/atoms/Button.d.ts +38 -0
- package/dist/components/atoms/ButtonLink.d.ts +21 -0
- package/dist/components/atoms/Cta.d.ts +31 -0
- package/dist/components/atoms/DataChips.d.ts +37 -0
- package/dist/components/atoms/EmptyState.d.ts +7 -0
- package/dist/components/atoms/ErrorState.d.ts +28 -0
- package/dist/components/atoms/Input.d.ts +35 -0
- package/dist/components/atoms/Link.d.ts +11 -0
- package/dist/components/atoms/Link.web.d.ts +18 -0
- package/dist/components/atoms/LoaderCircular.d.ts +22 -0
- package/dist/components/atoms/NavBrand.d.ts +18 -0
- package/dist/components/atoms/Stepper.d.ts +7 -0
- package/dist/components/atoms/Textarea.d.ts +37 -0
- package/dist/components/data-view/DataViewDetail.d.ts +21 -0
- package/dist/components/data-view/DataViewList.d.ts +23 -0
- package/dist/components/data-view/DataViewRenderer.d.ts +47 -0
- package/dist/components/data-view/DataViewTable.d.ts +25 -0
- package/dist/components/forms/ActionForm.d.ts +16 -0
- package/dist/components/forms/FormCardLayout.d.ts +22 -0
- package/dist/components/forms/FormDialog.d.ts +24 -0
- package/dist/components/forms/FormLayout.d.ts +29 -0
- package/dist/components/forms/FormOneByOneLayout.d.ts +25 -0
- package/dist/components/forms/FormStepsLayout.d.ts +26 -0
- package/dist/components/forms/ZodForm.d.ts +21 -0
- package/dist/components/legal/atoms/DefinitionList.d.ts +16 -0
- package/dist/components/legal/atoms/KeyValueList.d.ts +16 -0
- package/dist/components/legal/atoms/LegalCallout.d.ts +17 -0
- package/dist/components/legal/atoms/LegalHeading.d.ts +24 -0
- package/dist/components/legal/atoms/LegalList.d.ts +20 -0
- package/dist/components/legal/atoms/LegalSection.d.ts +21 -0
- package/dist/components/legal/atoms/LegalText.d.ts +24 -0
- package/dist/components/legal/molecules/Consent.d.ts +35 -0
- package/dist/components/legal/molecules/ContactFields.d.ts +24 -0
- package/dist/components/legal/molecules/LegalMeta.d.ts +14 -0
- package/dist/components/legal/molecules/LegalTOC.d.ts +30 -0
- package/dist/components/legal/organisms/ContactForm.d.ts +29 -0
- package/dist/components/legal/organisms/GDPRDataRequest.d.ts +18 -0
- package/dist/components/legal/organisms/GDPRRights.d.ts +13 -0
- package/dist/components/legal/organisms/LegalPageLayout.d.ts +23 -0
- package/dist/components/legal/templates/ContactTemplate.d.ts +23 -0
- package/dist/components/legal/templates/CookiesTemplate.d.ts +32 -0
- package/dist/components/legal/templates/PrivacyTemplate.d.ts +32 -0
- package/dist/components/legal/templates/SalesTermsTemplate.d.ts +27 -0
- package/dist/components/legal/templates/TermsTemplate.d.ts +27 -0
- package/dist/components/marketing/MarketingCard.d.ts +16 -0
- package/dist/components/marketing/MarketingCardsSection.d.ts +21 -0
- package/dist/components/marketing/MarketingComparisonSection.d.ts +29 -0
- package/dist/components/marketing/MarketingIconCard.d.ts +37 -0
- package/dist/components/marketing/MarketingSection.d.ts +33 -0
- package/dist/components/marketing/MarketingStepCard.d.ts +19 -0
- package/dist/components/molecules/AiLinkButton.d.ts +15 -0
- package/dist/components/molecules/Breadcrumbs.d.ts +15 -0
- package/dist/components/molecules/CommandPalette.d.ts +26 -0
- package/dist/components/molecules/CommandSearchTrigger.d.ts +18 -0
- package/dist/components/molecules/EntityCard.d.ts +37 -0
- package/dist/components/molecules/FiltersToolbar.d.ts +35 -0
- package/dist/components/molecules/HoverPreview.d.ts +20 -0
- package/dist/components/molecules/LangSwitch.d.ts +22 -0
- package/dist/components/molecules/LoaderBlock.d.ts +18 -0
- package/dist/components/molecules/NavMain.d.ts +13 -0
- package/dist/components/molecules/NavUser.d.ts +17 -0
- package/dist/components/molecules/OverviewCard.d.ts +20 -0
- package/dist/components/molecules/SkeletonBlock/index.d.ts +2 -0
- package/dist/components/molecules/SkeletonBlock/index.web.d.ts +12 -0
- package/dist/components/molecules/SkeletonBlock/types.d.ts +9 -0
- package/dist/components/molecules/SkeletonCircle/index.d.ts +2 -0
- package/dist/components/molecules/SkeletonCircle/index.web.d.ts +11 -0
- package/dist/components/molecules/SkeletonCircle/types.d.ts +8 -0
- package/dist/components/molecules/SkeletonList/index.d.ts +2 -0
- package/dist/components/molecules/SkeletonList/index.web.d.ts +10 -0
- package/dist/components/molecules/SkeletonList/types.d.ts +7 -0
- package/dist/components/molecules/StatCard.d.ts +36 -0
- package/dist/components/molecules/StatusChip.d.ts +26 -0
- package/dist/components/molecules/hover-previews/Doc.d.ts +27 -0
- package/dist/components/molecules/hover-previews/Media.d.ts +20 -0
- package/dist/components/molecules/hover-previews/Simple.d.ts +25 -0
- package/dist/components/molecules/hover-previews/Stats.d.ts +22 -0
- package/dist/components/molecules/hover-previews/User.d.ts +25 -0
- package/dist/components/organisms/AcademyLayout.d.ts +29 -0
- package/dist/components/organisms/AppHeader.d.ts +18 -0
- package/dist/components/organisms/AppLayout.d.ts +28 -0
- package/dist/components/organisms/AppSidebar.d.ts +23 -0
- package/dist/components/organisms/EmptyDataList.d.ts +20 -0
- package/dist/components/organisms/EmptyDataList.types.d.ts +19 -0
- package/dist/components/organisms/EmptySearchResult.d.ts +24 -0
- package/dist/components/organisms/FAQSection.d.ts +31 -0
- package/dist/components/organisms/FeatureCarousel.d.ts +18 -0
- package/dist/components/organisms/FeaturesSection.d.ts +19 -0
- package/dist/components/organisms/Footer.d.ts +25 -0
- package/dist/components/organisms/Header.d.ts +37 -0
- package/dist/components/organisms/HeroResponsive.d.ts +14 -0
- package/dist/components/organisms/HeroSection.d.ts +29 -0
- package/dist/components/organisms/ListCardPage.d.ts +36 -0
- package/dist/components/organisms/ListGridPage.d.ts +36 -0
- package/dist/components/organisms/ListPageResponsive.d.ts +7 -0
- package/dist/components/organisms/ListTablePage.d.ts +33 -0
- package/dist/components/organisms/MarketingHeader.d.ts +36 -0
- package/dist/components/organisms/MarketingHeaderDesktop.d.ts +15 -0
- package/dist/components/organisms/MarketingHeaderMobile.d.ts +12 -0
- package/dist/components/organisms/MarketingLayout.d.ts +18 -0
- package/dist/components/organisms/PageHeaderResponsive.d.ts +8 -0
- package/dist/components/organisms/PricingCarousel.d.ts +24 -0
- package/dist/components/organisms/PricingSection.d.ts +18 -0
- package/dist/components/organisms/TestimonialCarousel.d.ts +19 -0
- package/dist/components/templates/lists/ListPageTemplate/index.d.ts +2 -0
- package/dist/components/templates/lists/ListPageTemplate/index.web.d.ts +22 -0
- package/dist/components/templates/lists/ListPageTemplate/types.d.ts +25 -0
- package/dist/hooks/useListUrlState.d.ts +30 -0
- package/dist/index.d.ts +116 -0
- package/dist/lib/keyboard.d.ts +12 -0
- package/dist/platform/useColorScheme.d.ts +5 -0
- package/dist/platform/useReducedMotion.d.ts +4 -0
- package/dist/platform/useResponsive.d.ts +23 -0
- package/dist/platform/withPlatformUI.d.ts +28 -0
- package/dist/renderers/form-contract.d.ts +11 -0
- package/dist/renderers/index.d.ts +1 -0
- package/dist/theme/tokenBridge.d.ts +19 -0
- package/dist/theme/tokens.d.ts +50 -0
- package/dist/theme/variants.d.ts +21 -0
- package/dist/types/navigation.d.ts +44 -0
- package/package.json +8 -8
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/agent/AgentMonitor.d.ts
|
|
4
|
+
interface AgentSessionSnapshot {
|
|
5
|
+
sessionId: string;
|
|
6
|
+
agent: string;
|
|
7
|
+
status: string;
|
|
8
|
+
tenantId?: string;
|
|
9
|
+
confidence?: number;
|
|
10
|
+
iterations?: number;
|
|
11
|
+
updatedAt: Date;
|
|
12
|
+
}
|
|
13
|
+
interface AgentMonitorProps {
|
|
14
|
+
title?: string;
|
|
15
|
+
sessions: AgentSessionSnapshot[];
|
|
16
|
+
highlightStatus?: string;
|
|
17
|
+
onSelectSession?: (session: AgentSessionSnapshot) => void;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
declare function AgentMonitor({
|
|
21
|
+
title,
|
|
22
|
+
sessions,
|
|
23
|
+
highlightStatus,
|
|
24
|
+
onSelectSession,
|
|
25
|
+
className
|
|
26
|
+
}: AgentMonitorProps): react_jsx_runtime20.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { AgentMonitor };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
|
+
import { ApprovalRequest } from "@lssm/lib.ai-agent/approval";
|
|
4
|
+
|
|
5
|
+
//#region src/components/agent/ApprovalQueue.d.ts
|
|
6
|
+
interface ApprovalQueueProps {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
requests: ApprovalRequest[];
|
|
10
|
+
onApprove?: (request: ApprovalRequest) => void;
|
|
11
|
+
onReject?: (request: ApprovalRequest) => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
emptyState?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare function ApprovalQueue({
|
|
16
|
+
title,
|
|
17
|
+
description,
|
|
18
|
+
requests,
|
|
19
|
+
onApprove,
|
|
20
|
+
onReject,
|
|
21
|
+
className,
|
|
22
|
+
emptyState
|
|
23
|
+
}: ApprovalQueueProps): react_jsx_runtime19.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { ApprovalQueue };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ButtonProps } from "./Button.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region src/components/atoms/ActionButtons.d.ts
|
|
8
|
+
declare const actionBtn: (props?: ({
|
|
9
|
+
tone?: "subtle" | "neutral" | "danger" | "outline" | null | undefined;
|
|
10
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
12
|
+
type ActionBtnProps = Omit<ButtonProps, 'size' | 'variant'> & VariantProps<typeof actionBtn> & {
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
iconLeft?: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
declare function EditButton(props: Omit<ActionBtnProps, 'iconLeft' | 'tone'>): react_jsx_runtime7.JSX.Element;
|
|
17
|
+
declare function DeleteButton(props: Omit<ActionBtnProps, 'iconLeft'>): react_jsx_runtime7.JSX.Element;
|
|
18
|
+
declare function ViewButton(props: Omit<ActionBtnProps, 'iconLeft'>): react_jsx_runtime7.JSX.Element;
|
|
19
|
+
declare function ToggleButton(props: Omit<ActionBtnProps, 'iconLeft'> & {
|
|
20
|
+
active?: boolean;
|
|
21
|
+
}): react_jsx_runtime7.JSX.Element;
|
|
22
|
+
declare function ToggleLeftButton(props: Omit<ActionBtnProps, 'iconLeft'>): react_jsx_runtime7.JSX.Element;
|
|
23
|
+
declare function ToggleRightButton(props: Omit<ActionBtnProps, 'iconLeft'>): react_jsx_runtime7.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DeleteButton, EditButton, ToggleButton, ToggleLeftButton, ToggleRightButton, ViewButton };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ButtonProps } from "@lssm/lib.ui-kit-web/ui/button";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/atoms/Button.d.ts
|
|
6
|
+
type SpinnerPlacement = 'start' | 'end';
|
|
7
|
+
type ButtonProps$1 = Omit<ButtonProps, 'onClick' | 'disabled' | 'children'> & {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
loadingText?: string;
|
|
11
|
+
spinnerPlacement?: SpinnerPlacement;
|
|
12
|
+
onPress?: () => void;
|
|
13
|
+
onPressIn?: () => void;
|
|
14
|
+
onPressOut?: () => void;
|
|
15
|
+
onLongPress?: () => void;
|
|
16
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
};
|
|
19
|
+
declare function Button$1({
|
|
20
|
+
children,
|
|
21
|
+
loading,
|
|
22
|
+
spinnerPlacement,
|
|
23
|
+
onPress,
|
|
24
|
+
onPressIn,
|
|
25
|
+
onPressOut,
|
|
26
|
+
onLongPress,
|
|
27
|
+
onTouchStart,
|
|
28
|
+
onTouchEnd,
|
|
29
|
+
onTouchCancel,
|
|
30
|
+
onMouseDown,
|
|
31
|
+
onMouseUp,
|
|
32
|
+
onClick,
|
|
33
|
+
className,
|
|
34
|
+
disabled,
|
|
35
|
+
...rest
|
|
36
|
+
}: ButtonProps$1): react_jsx_runtime0.JSX.Element;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Button$1 as Button, ButtonProps$1 as ButtonProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ButtonProps } from "./Button.js";
|
|
2
|
+
import { LinkProps } from "./Link.web.js";
|
|
3
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/atoms/ButtonLink.d.ts
|
|
6
|
+
type ButtonLinkProps = Omit<ButtonProps, 'onClick'> & Pick<LinkProps, 'href' | 'target' | 'rel' | 'onClick'> & {
|
|
7
|
+
replace?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function ButtonLink({
|
|
10
|
+
href,
|
|
11
|
+
target,
|
|
12
|
+
rel,
|
|
13
|
+
replace,
|
|
14
|
+
loading,
|
|
15
|
+
disabled,
|
|
16
|
+
children,
|
|
17
|
+
onClick,
|
|
18
|
+
...btn
|
|
19
|
+
}: ButtonLinkProps): react_jsx_runtime1.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ButtonLink };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "./Button.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import * as _lssm_lib_ui_kit_web_ui_button0 from "@lssm/lib.ui-kit-web/ui/button";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region src/components/atoms/Cta.d.ts
|
|
8
|
+
|
|
9
|
+
declare const Cta: React.ForwardRefExoticComponent<Omit<_lssm_lib_ui_kit_web_ui_button0.ButtonProps, "disabled" | "children" | "onClick"> & {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
loadingText?: string;
|
|
13
|
+
spinnerPlacement?: "start" | "end";
|
|
14
|
+
onPress?: () => void;
|
|
15
|
+
onPressIn?: () => void;
|
|
16
|
+
onPressOut?: () => void;
|
|
17
|
+
onLongPress?: () => void;
|
|
18
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
} & VariantProps<(props?: ({
|
|
21
|
+
size?: "sm" | "md" | "lg" | "touch" | null | undefined;
|
|
22
|
+
emphasis?: "default" | "strong" | "subtle" | null | undefined;
|
|
23
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string> & {
|
|
24
|
+
capture?: (cta: string) => void;
|
|
25
|
+
ctaName?: string;
|
|
26
|
+
as?: "button" | "a";
|
|
27
|
+
href?: string;
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
} & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { Cta };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region src/components/atoms/DataChips.d.ts
|
|
7
|
+
declare const chip: (props?: ({
|
|
8
|
+
size?: "sm" | "md" | null | undefined;
|
|
9
|
+
tone?: "default" | "muted" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
11
|
+
type ChipVariants = VariantProps<typeof chip>;
|
|
12
|
+
declare function DateChip({
|
|
13
|
+
value,
|
|
14
|
+
...v
|
|
15
|
+
}: {
|
|
16
|
+
value?: string | Date | null;
|
|
17
|
+
} & ChipVariants): react_jsx_runtime13.JSX.Element | null;
|
|
18
|
+
declare function TimeChip({
|
|
19
|
+
value,
|
|
20
|
+
...v
|
|
21
|
+
}: {
|
|
22
|
+
value?: string | Date | null;
|
|
23
|
+
} & ChipVariants): react_jsx_runtime13.JSX.Element | null;
|
|
24
|
+
declare function PlaceChip({
|
|
25
|
+
label,
|
|
26
|
+
...v
|
|
27
|
+
}: {
|
|
28
|
+
label?: React.ReactNode;
|
|
29
|
+
} & ChipVariants): react_jsx_runtime13.JSX.Element | null;
|
|
30
|
+
declare function DurationChip({
|
|
31
|
+
minutes,
|
|
32
|
+
...v
|
|
33
|
+
}: {
|
|
34
|
+
minutes?: number | null;
|
|
35
|
+
} & ChipVariants): react_jsx_runtime13.JSX.Element | null;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { DateChip, DurationChip, PlaceChip, TimeChip };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
|
+
import { EmptyStateProps } from "@lssm/lib.ui-kit-web/ui/empty-state";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/EmptyState.d.ts
|
|
5
|
+
declare function EmptyState$1(props: EmptyStateProps): react_jsx_runtime5.JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { EmptyState$1 as EmptyState };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/ErrorState.d.ts
|
|
5
|
+
interface ErrorStateProps {
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
description?: React.ReactNode;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
onRetry?: () => void;
|
|
10
|
+
retryLabel?: React.ReactNode;
|
|
11
|
+
supportHref?: string;
|
|
12
|
+
onContactSupport?: () => void;
|
|
13
|
+
supportLabel?: React.ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function ErrorState({
|
|
17
|
+
title,
|
|
18
|
+
description,
|
|
19
|
+
icon,
|
|
20
|
+
onRetry,
|
|
21
|
+
retryLabel,
|
|
22
|
+
supportHref,
|
|
23
|
+
onContactSupport,
|
|
24
|
+
supportLabel,
|
|
25
|
+
className
|
|
26
|
+
}: ErrorStateProps): react_jsx_runtime74.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { ErrorState };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KeyboardOptions } from "../../lib/keyboard.js";
|
|
2
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
|
+
import { InputProps } from "@lssm/lib.ui-kit-web/ui/input";
|
|
4
|
+
|
|
5
|
+
//#region src/components/atoms/Input.d.ts
|
|
6
|
+
interface BaseFieldProps {
|
|
7
|
+
onSubmit?: () => void;
|
|
8
|
+
onFocus?: () => void;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
name?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
keyboard?: KeyboardOptions;
|
|
16
|
+
}
|
|
17
|
+
type InputProps$1 = Omit<InputProps, 'input'> & BaseFieldProps;
|
|
18
|
+
declare function Input$1({
|
|
19
|
+
value,
|
|
20
|
+
defaultValue,
|
|
21
|
+
onChange,
|
|
22
|
+
onSubmit,
|
|
23
|
+
onFocus,
|
|
24
|
+
onBlur,
|
|
25
|
+
placeholder,
|
|
26
|
+
disabled,
|
|
27
|
+
readOnly,
|
|
28
|
+
maxLength,
|
|
29
|
+
name,
|
|
30
|
+
className,
|
|
31
|
+
keyboard,
|
|
32
|
+
...rest
|
|
33
|
+
}: InputProps$1): react_jsx_runtime3.JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { Input$1 as Input };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes } from "react";
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/Link.d.ts
|
|
5
|
+
type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
6
|
+
declare function Link({
|
|
7
|
+
children,
|
|
8
|
+
...props
|
|
9
|
+
}: LinkProps): react_jsx_runtime2.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Link };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/Link.web.d.ts
|
|
5
|
+
type LinkProps = {
|
|
6
|
+
href: any;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
prefetch?: boolean;
|
|
10
|
+
replace?: boolean;
|
|
11
|
+
scroll?: boolean;
|
|
12
|
+
shallow?: boolean;
|
|
13
|
+
target?: string;
|
|
14
|
+
rel?: string;
|
|
15
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
16
|
+
} & Record<string, any>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { LinkProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types14 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region src/components/atoms/LoaderCircular.d.ts
|
|
7
|
+
declare const spinnerVariants: (props?: ({
|
|
8
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
9
|
+
tone?: "default" | "muted" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types14.ClassProp) | undefined) => string;
|
|
11
|
+
type LoaderCircularProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof spinnerVariants> & {
|
|
12
|
+
label?: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
declare function LoaderCircular({
|
|
15
|
+
size,
|
|
16
|
+
tone,
|
|
17
|
+
label,
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: LoaderCircularProps): react_jsx_runtime72.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { LoaderCircular };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/NavBrand.d.ts
|
|
5
|
+
interface NavBrandProps {
|
|
6
|
+
href?: string;
|
|
7
|
+
logo?: React.ReactNode;
|
|
8
|
+
title?: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function NavBrand({
|
|
12
|
+
href,
|
|
13
|
+
logo,
|
|
14
|
+
title,
|
|
15
|
+
className
|
|
16
|
+
}: NavBrandProps): react_jsx_runtime42.JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { NavBrand };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
|
+
import { StepperProps } from "@lssm/lib.ui-kit-web/ui/stepper";
|
|
3
|
+
|
|
4
|
+
//#region src/components/atoms/Stepper.d.ts
|
|
5
|
+
declare function Stepper$1(props: StepperProps): react_jsx_runtime6.JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { Stepper$1 as Stepper };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { KeyboardOptions } from "../../lib/keyboard.js";
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
|
+
import { TextareaProps } from "@lssm/lib.ui-kit-web/ui/textarea";
|
|
4
|
+
|
|
5
|
+
//#region src/components/atoms/Textarea.d.ts
|
|
6
|
+
interface BaseFieldProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readOnly?: boolean;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
name?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
rows?: number;
|
|
16
|
+
keyboard?: KeyboardOptions;
|
|
17
|
+
}
|
|
18
|
+
type TextareaProps$1 = TextareaProps & BaseFieldProps;
|
|
19
|
+
declare function Textarea$1({
|
|
20
|
+
value,
|
|
21
|
+
defaultValue,
|
|
22
|
+
onChange,
|
|
23
|
+
onSubmit,
|
|
24
|
+
onFocus,
|
|
25
|
+
onBlur,
|
|
26
|
+
placeholder,
|
|
27
|
+
disabled,
|
|
28
|
+
readOnly,
|
|
29
|
+
maxLength,
|
|
30
|
+
name,
|
|
31
|
+
className,
|
|
32
|
+
rows,
|
|
33
|
+
keyboard,
|
|
34
|
+
...rest
|
|
35
|
+
}: TextareaProps$1): react_jsx_runtime4.JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Textarea$1 as Textarea };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
3
|
+
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
|
+
|
|
5
|
+
//#region src/components/data-view/DataViewDetail.d.ts
|
|
6
|
+
interface DataViewDetailProps {
|
|
7
|
+
spec: DataViewSpec;
|
|
8
|
+
item: Record<string, unknown> | null;
|
|
9
|
+
className?: string;
|
|
10
|
+
emptyState?: React.ReactNode;
|
|
11
|
+
headerActions?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare function DataViewDetail({
|
|
14
|
+
spec,
|
|
15
|
+
item,
|
|
16
|
+
className,
|
|
17
|
+
emptyState,
|
|
18
|
+
headerActions
|
|
19
|
+
}: DataViewDetailProps): react_jsx_runtime107.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { DataViewDetail };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
3
|
+
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
|
+
|
|
5
|
+
//#region src/components/data-view/DataViewList.d.ts
|
|
6
|
+
interface DataViewListProps {
|
|
7
|
+
spec: DataViewSpec;
|
|
8
|
+
items: Record<string, unknown>[];
|
|
9
|
+
className?: string;
|
|
10
|
+
renderActions?: (item: Record<string, unknown>) => React.ReactNode;
|
|
11
|
+
onSelect?: (item: Record<string, unknown>) => void;
|
|
12
|
+
emptyState?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare function DataViewList({
|
|
15
|
+
spec,
|
|
16
|
+
items,
|
|
17
|
+
className,
|
|
18
|
+
renderActions,
|
|
19
|
+
onSelect,
|
|
20
|
+
emptyState
|
|
21
|
+
}: DataViewListProps): react_jsx_runtime105.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { DataViewList };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
|
+
|
|
5
|
+
//#region src/components/data-view/DataViewRenderer.d.ts
|
|
6
|
+
interface DataViewRendererProps {
|
|
7
|
+
spec: DataViewSpec;
|
|
8
|
+
items?: Record<string, unknown>[];
|
|
9
|
+
item?: Record<string, unknown> | null;
|
|
10
|
+
className?: string;
|
|
11
|
+
renderActions?: (item: Record<string, unknown>) => React.ReactNode;
|
|
12
|
+
onSelect?: (item: Record<string, unknown>) => void;
|
|
13
|
+
onRowClick?: (item: Record<string, unknown>) => void;
|
|
14
|
+
headerActions?: React.ReactNode;
|
|
15
|
+
emptyState?: React.ReactNode;
|
|
16
|
+
footer?: React.ReactNode;
|
|
17
|
+
search?: string;
|
|
18
|
+
onSearchChange?: (value: string) => void;
|
|
19
|
+
filters?: Record<string, any>;
|
|
20
|
+
onFilterChange?: (filters: Record<string, any>) => void;
|
|
21
|
+
pagination?: {
|
|
22
|
+
page: number;
|
|
23
|
+
pageSize: number;
|
|
24
|
+
total: number;
|
|
25
|
+
};
|
|
26
|
+
onPageChange?: (page: number) => void;
|
|
27
|
+
}
|
|
28
|
+
declare function DataViewRenderer({
|
|
29
|
+
spec,
|
|
30
|
+
items,
|
|
31
|
+
item,
|
|
32
|
+
className,
|
|
33
|
+
renderActions,
|
|
34
|
+
onSelect,
|
|
35
|
+
onRowClick,
|
|
36
|
+
headerActions,
|
|
37
|
+
emptyState,
|
|
38
|
+
footer,
|
|
39
|
+
search,
|
|
40
|
+
onSearchChange,
|
|
41
|
+
filters,
|
|
42
|
+
onFilterChange,
|
|
43
|
+
pagination,
|
|
44
|
+
onPageChange
|
|
45
|
+
}: DataViewRendererProps): react_jsx_runtime0.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { DataViewRenderer };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
3
|
+
import { DataViewSpec } from "@lssm/lib.contracts/data-views";
|
|
4
|
+
|
|
5
|
+
//#region src/components/data-view/DataViewTable.d.ts
|
|
6
|
+
interface DataViewTableProps {
|
|
7
|
+
spec: DataViewSpec;
|
|
8
|
+
items: Record<string, unknown>[];
|
|
9
|
+
className?: string;
|
|
10
|
+
onRowClick?: (item: Record<string, unknown>) => void;
|
|
11
|
+
emptyState?: React.ReactNode;
|
|
12
|
+
headerActions?: React.ReactNode;
|
|
13
|
+
footer?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare function DataViewTable({
|
|
16
|
+
spec,
|
|
17
|
+
items,
|
|
18
|
+
className,
|
|
19
|
+
onRowClick,
|
|
20
|
+
emptyState,
|
|
21
|
+
headerActions,
|
|
22
|
+
footer
|
|
23
|
+
}: DataViewTableProps): react_jsx_runtime106.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DataViewTable };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime104 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/forms/ActionForm.d.ts
|
|
5
|
+
interface ActionFormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'action'> {
|
|
6
|
+
action: (formData: FormData) => void | Promise<void>;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
declare function ActionForm({
|
|
10
|
+
action,
|
|
11
|
+
children,
|
|
12
|
+
className,
|
|
13
|
+
...rest
|
|
14
|
+
}: ActionFormProps): react_jsx_runtime104.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ActionForm };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime101 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/forms/FormCardLayout.d.ts
|
|
5
|
+
interface FormCardLayoutProps {
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
description?: React.ReactNode;
|
|
8
|
+
actions?: React.ReactNode;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
contentClassName?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function FormCardLayout({
|
|
14
|
+
title,
|
|
15
|
+
description,
|
|
16
|
+
actions,
|
|
17
|
+
children,
|
|
18
|
+
className,
|
|
19
|
+
contentClassName
|
|
20
|
+
}: FormCardLayoutProps): react_jsx_runtime101.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { FormCardLayout };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/forms/FormDialog.d.ts
|
|
5
|
+
interface FormDialogProps {
|
|
6
|
+
open: boolean;
|
|
7
|
+
onOpenChange: (open: boolean) => void;
|
|
8
|
+
title: React.ReactNode;
|
|
9
|
+
description?: React.ReactNode;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
footer?: React.ReactNode;
|
|
12
|
+
maxWidth?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function FormDialog({
|
|
15
|
+
open,
|
|
16
|
+
onOpenChange,
|
|
17
|
+
title,
|
|
18
|
+
description,
|
|
19
|
+
children,
|
|
20
|
+
footer,
|
|
21
|
+
maxWidth
|
|
22
|
+
}: FormDialogProps): react_jsx_runtime96.JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { FormDialog };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/forms/FormLayout.d.ts
|
|
5
|
+
declare function FormSection({
|
|
6
|
+
children,
|
|
7
|
+
className
|
|
8
|
+
}: {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}): react_jsx_runtime98.JSX.Element;
|
|
12
|
+
declare function FormRow({
|
|
13
|
+
children,
|
|
14
|
+
className
|
|
15
|
+
}: {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
}): react_jsx_runtime98.JSX.Element;
|
|
19
|
+
declare function FormGrid({
|
|
20
|
+
children,
|
|
21
|
+
cols,
|
|
22
|
+
className
|
|
23
|
+
}: {
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
cols?: 1 | 2 | 3 | 4;
|
|
26
|
+
className?: string;
|
|
27
|
+
}): react_jsx_runtime98.JSX.Element;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { FormGrid, FormRow, FormSection };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime103 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/forms/FormOneByOneLayout.d.ts
|
|
5
|
+
interface OneByOneFieldDef {
|
|
6
|
+
key: string;
|
|
7
|
+
title: React.ReactNode;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
input: React.ReactNode;
|
|
10
|
+
validate?: () => boolean;
|
|
11
|
+
}
|
|
12
|
+
interface FormOneByOneLayoutProps {
|
|
13
|
+
fields: OneByOneFieldDef[];
|
|
14
|
+
initialKey?: string;
|
|
15
|
+
onComplete?: () => void | Promise<void>;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function FormOneByOneLayout({
|
|
19
|
+
fields,
|
|
20
|
+
initialKey,
|
|
21
|
+
onComplete,
|
|
22
|
+
className
|
|
23
|
+
}: FormOneByOneLayoutProps): react_jsx_runtime103.JSX.Element | null;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { FormOneByOneLayout };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as react_jsx_runtime102 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/forms/FormStepsLayout.d.ts
|
|
5
|
+
interface StepDef {
|
|
6
|
+
key: string;
|
|
7
|
+
title: React.ReactNode;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
content: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
interface FormStepsLayoutProps {
|
|
12
|
+
steps: StepDef[];
|
|
13
|
+
initialStepKey?: string;
|
|
14
|
+
onFinish?: () => void | Promise<void>;
|
|
15
|
+
canNext?: (stepKey: string) => boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function FormStepsLayout({
|
|
19
|
+
steps,
|
|
20
|
+
initialStepKey,
|
|
21
|
+
onFinish,
|
|
22
|
+
canNext,
|
|
23
|
+
className
|
|
24
|
+
}: FormStepsLayoutProps): react_jsx_runtime102.JSX.Element | null;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { FormStepsLayout };
|