@lssm/lib.ui-kit-web 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804
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/index.d.ts +1 -0
- package/dist/ui/accordion.d.ts +24 -0
- package/dist/ui/alert-dialog.d.ts +48 -0
- package/dist/ui/alert.d.ts +24 -0
- package/dist/ui/aspect-ratio.d.ts +7 -0
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +7 -0
- package/dist/ui/atoms/FilterSelect/index.d.ts +3 -0
- package/dist/ui/atoms/FilterSelect/types.d.ts +18 -0
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +22 -0
- package/dist/ui/atoms/LoadingSpinner/index.d.ts +2 -0
- package/dist/ui/atoms/Pagination/Pagination.d.ts +7 -0
- package/dist/ui/atoms/Pagination/index.d.ts +3 -0
- package/dist/ui/atoms/Pagination/types.d.ts +15 -0
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +7 -0
- package/dist/ui/atoms/SearchInput/index.d.ts +3 -0
- package/dist/ui/atoms/SearchInput/types.d.ts +12 -0
- package/dist/ui/avatar.d.ts +19 -0
- package/dist/ui/badge.d.ts +19 -0
- package/dist/ui/breadcrumb.d.ts +37 -0
- package/dist/ui/button.d.ts +20 -0
- package/dist/ui/calendar.d.ts +26 -0
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.ts +34 -0
- package/dist/ui/carousel.d.ts +47 -0
- package/dist/ui/checkbox.d.ts +11 -0
- package/dist/ui/collapsible.d.ts +15 -0
- package/dist/ui/command.d.ts +52 -0
- package/dist/ui/confirm-dialog.d.ts +30 -0
- package/dist/ui/context-menu.d.ts +34 -0
- package/dist/ui/cta.d.ts +22 -0
- package/dist/ui/date-picker.d.ts +25 -0
- package/dist/ui/date-range-picker.d.ts +25 -0
- package/dist/ui/datetime-picker.d.ts +27 -0
- package/dist/ui/dialog.d.ts +47 -0
- package/dist/ui/drawer.d.ts +44 -0
- package/dist/ui/dropdown-menu.d.ts +77 -0
- package/dist/ui/empty-state.d.ts +28 -0
- package/dist/ui/empty.d.ts +36 -0
- package/dist/ui/field.d.ts +65 -0
- package/dist/ui/focus-on-route-change.d.ts +8 -0
- package/dist/ui/form.d.ts +46 -0
- package/dist/ui/hover-card.d.ts +19 -0
- package/dist/ui/input-group.d.ts +43 -0
- package/dist/ui/input-otp.d.ts +38 -0
- package/dist/ui/input.d.ts +12 -0
- package/dist/ui/label.d.ts +11 -0
- package/dist/ui/link.d.ts +8 -0
- package/dist/ui/live-region.d.ts +16 -0
- package/dist/ui/loading-button.d.ts +19 -0
- package/dist/ui/map/MapBase.d.ts +28 -0
- package/dist/ui/map/MapGeoJsonOverlay.d.ts +15 -0
- package/dist/ui/map/MapHeatmapH3.d.ts +17 -0
- package/dist/ui/map/MapMarkers.d.ts +19 -0
- package/dist/ui/map/index.d.ts +5 -0
- package/dist/ui/marketing/FeatureGrid.d.ts +20 -0
- package/dist/ui/marketing/Hero.d.ts +27 -0
- package/dist/ui/marketing/PricingTable.d.ts +24 -0
- package/dist/ui/marketing/index.d.ts +4 -0
- package/dist/ui/menubar.d.ts +84 -0
- package/dist/ui/molecules/Autocomplete/index.d.ts +6 -0
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +7 -0
- package/dist/ui/molecules/SearchAndFilter/index.d.ts +3 -0
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +23 -0
- package/dist/ui/molecules/SkeletonList.d.ts +15 -0
- package/dist/ui/nav-layout.d.ts +70 -0
- package/dist/ui/navigation-menu.d.ts +46 -0
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +29 -0
- package/dist/ui/organisms/ErrorBoundary/index.d.ts +2 -0
- package/dist/ui/organisms/ListPage/ListPage.d.ts +28 -0
- package/dist/ui/organisms/ListPage/index.d.ts +3 -0
- package/dist/ui/organisms/ListPage/types.d.ts +40 -0
- package/dist/ui/page-header.d.ts +26 -0
- package/dist/ui/pagination.d.ts +49 -0
- package/dist/ui/popover.d.ts +22 -0
- package/dist/ui/progress.d.ts +12 -0
- package/dist/ui/radio-group.d.ts +15 -0
- package/dist/ui/resizable.d.ts +35 -0
- package/dist/ui/route-announcer.d.ts +10 -0
- package/dist/ui/scroll-area.d.ts +17 -0
- package/dist/ui/section.d.ts +26 -0
- package/dist/ui/select.d.ts +51 -0
- package/dist/ui/separator.d.ts +13 -0
- package/dist/ui/sheet.d.ts +40 -0
- package/dist/ui/sidebar.d.ts +166 -0
- package/dist/ui/skeleton.d.ts +10 -0
- package/dist/ui/skip-link.d.ts +16 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/sonner.d.ts +9 -0
- package/dist/ui/stack.d.ts +47 -0
- package/dist/ui/stat-card-group.d.ts +18 -0
- package/dist/ui/stepper.d.ts +22 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/table.d.ts +38 -0
- package/dist/ui/tabs.d.ts +23 -0
- package/dist/ui/text.d.ts +14 -0
- package/dist/ui/textarea.d.ts +11 -0
- package/dist/ui/time-picker.d.ts +21 -0
- package/dist/ui/toast.d.ts +19 -0
- package/dist/ui/toaster.d.ts +6 -0
- package/dist/ui/toggle-group.d.ts +23 -0
- package/dist/ui/toggle.d.ts +19 -0
- package/dist/ui/tooltip.d.ts +23 -0
- package/dist/ui/typography.d.ts +64 -0
- package/dist/ui/use-media-query.d.ts +4 -0
- package/dist/ui/use-mobile.d.ts +4 -0
- package/dist/ui/use-reduced-motion.d.ts +4 -0
- package/dist/ui/use-toast.d.ts +49 -0
- package/dist/ui/useListState.d.ts +33 -0
- package/dist/ui/usecases/UseCaseCard.d.ts +18 -0
- package/dist/ui/usecases/UserStoryCard.d.ts +14 -0
- package/dist/ui/usecases/index.d.ts +3 -0
- package/dist/ui/utils.d.ts +6 -0
- package/dist/ui/visually-hidden.d.ts +9 -0
- package/package.json +116 -116
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/accordion.d.ts
|
|
6
|
+
declare function Accordion({
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime0.JSX.Element;
|
|
9
|
+
declare function AccordionItem({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
declare function AccordionTrigger({
|
|
14
|
+
className,
|
|
15
|
+
children,
|
|
16
|
+
...props
|
|
17
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
18
|
+
declare function AccordionContent({
|
|
19
|
+
className,
|
|
20
|
+
children,
|
|
21
|
+
...props
|
|
22
|
+
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime0.JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime254 from "react/jsx-runtime";
|
|
3
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
4
|
+
|
|
5
|
+
//#region ui/alert-dialog.d.ts
|
|
6
|
+
declare function AlertDialog({
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime254.JSX.Element;
|
|
9
|
+
declare function AlertDialogTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime254.JSX.Element;
|
|
12
|
+
declare function AlertDialogPortal({
|
|
13
|
+
...props
|
|
14
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime254.JSX.Element;
|
|
15
|
+
declare function AlertDialogOverlay({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime254.JSX.Element;
|
|
19
|
+
declare function AlertDialogContent({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime254.JSX.Element;
|
|
23
|
+
declare function AlertDialogHeader({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime254.JSX.Element;
|
|
27
|
+
declare function AlertDialogFooter({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime254.JSX.Element;
|
|
31
|
+
declare function AlertDialogTitle({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime254.JSX.Element;
|
|
35
|
+
declare function AlertDialogDescription({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime254.JSX.Element;
|
|
39
|
+
declare function AlertDialogAction({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime254.JSX.Element;
|
|
43
|
+
declare function AlertDialogCancel({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime254.JSX.Element;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region ui/alert.d.ts
|
|
7
|
+
declare const alertVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
10
|
+
declare function Alert({
|
|
11
|
+
className,
|
|
12
|
+
variant,
|
|
13
|
+
...props
|
|
14
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime6.JSX.Element;
|
|
15
|
+
declare function AlertTitle({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime6.JSX.Element;
|
|
19
|
+
declare function AlertDescription({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime6.JSX.Element;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Alert, AlertDescription, AlertTitle };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
3
|
+
|
|
4
|
+
//#region ui/aspect-ratio.d.ts
|
|
5
|
+
declare const AspectRatio: react0.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & react0.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { AspectRatio };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region ui/atoms/FilterSelect/types.d.ts
|
|
2
|
+
interface FilterOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
}
|
|
7
|
+
interface FilterSelectProps {
|
|
8
|
+
value: string;
|
|
9
|
+
options: FilterOption[];
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
showCounts?: boolean;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { FilterOption, FilterSelectProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region ui/atoms/LoadingSpinner/LoadingSpinner.d.ts
|
|
4
|
+
interface LoadingSpinnerProps {
|
|
5
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
className?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
fullScreen?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const LoadingSpinner: React.FC<LoadingSpinnerProps>;
|
|
11
|
+
declare const SkeletonLine: React.FC<{
|
|
12
|
+
className?: string;
|
|
13
|
+
}>;
|
|
14
|
+
declare const SkeletonCard: React.FC<{
|
|
15
|
+
className?: string;
|
|
16
|
+
}>;
|
|
17
|
+
declare const SkeletonTable: React.FC<{
|
|
18
|
+
rows?: number;
|
|
19
|
+
cols?: number;
|
|
20
|
+
}>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ui/atoms/Pagination/types.d.ts
|
|
2
|
+
interface PaginationProps {
|
|
3
|
+
currentPage: number;
|
|
4
|
+
totalPages: number;
|
|
5
|
+
totalItems: number;
|
|
6
|
+
itemsPerPage: number;
|
|
7
|
+
onPageChange: (page: number) => void;
|
|
8
|
+
onItemsPerPageChange?: (itemsPerPage: number) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
showItemsPerPage?: boolean;
|
|
12
|
+
itemsPerPageOptions?: number[];
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { PaginationProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ui/atoms/SearchInput/types.d.ts
|
|
2
|
+
interface SearchInputProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
onClear?: () => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
autoFocus?: boolean;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SearchInputProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime251 from "react/jsx-runtime";
|
|
3
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
|
+
|
|
5
|
+
//#region ui/avatar.d.ts
|
|
6
|
+
declare function Avatar({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime251.JSX.Element;
|
|
10
|
+
declare function AvatarImage({
|
|
11
|
+
className,
|
|
12
|
+
...props
|
|
13
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime251.JSX.Element;
|
|
14
|
+
declare function AvatarFallback({
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime251.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime270 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types21 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region ui/badge.d.ts
|
|
7
|
+
declare const badgeVariants: (props?: ({
|
|
8
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types21.ClassProp) | undefined) => string;
|
|
10
|
+
declare function Badge({
|
|
11
|
+
className,
|
|
12
|
+
variant,
|
|
13
|
+
asChild,
|
|
14
|
+
...props
|
|
15
|
+
}: React$1.ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeVariants> & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
}): react_jsx_runtime270.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Badge, badgeVariants };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/breadcrumb.d.ts
|
|
5
|
+
declare function Breadcrumb({
|
|
6
|
+
...props
|
|
7
|
+
}: React$1.ComponentPropsWithoutRef<'nav'>): react_jsx_runtime118.JSX.Element;
|
|
8
|
+
declare function BreadcrumbList({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentPropsWithoutRef<'ol'>): react_jsx_runtime118.JSX.Element;
|
|
12
|
+
declare function BreadcrumbItem({
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime118.JSX.Element;
|
|
16
|
+
declare function BreadcrumbLink({
|
|
17
|
+
asChild,
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React$1.ComponentPropsWithoutRef<'a'> & {
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
}): react_jsx_runtime118.JSX.Element;
|
|
23
|
+
declare function BreadcrumbPage({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime118.JSX.Element;
|
|
27
|
+
declare function BreadcrumbSeparator({
|
|
28
|
+
children,
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime118.JSX.Element;
|
|
32
|
+
declare function BreadcrumbEllipsis({
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
}: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime118.JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
|
+
|
|
5
|
+
//#region ui/button.d.ts
|
|
6
|
+
declare const buttonVariants: (props?: ({
|
|
7
|
+
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
8
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
|
+
type ButtonProps = React$1.ComponentPropsWithoutRef<'button'> & VariantProps<typeof buttonVariants> & {
|
|
11
|
+
asChild?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
14
|
+
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
15
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
16
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string> & {
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Button, ButtonProps, buttonVariants };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Button } from "./button.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
4
|
+
import { DayButton, DayPicker } from "react-day-picker";
|
|
5
|
+
|
|
6
|
+
//#region ui/calendar.d.ts
|
|
7
|
+
declare function Calendar({
|
|
8
|
+
className,
|
|
9
|
+
classNames,
|
|
10
|
+
showOutsideDays,
|
|
11
|
+
captionLayout,
|
|
12
|
+
buttonVariant,
|
|
13
|
+
formatters,
|
|
14
|
+
components,
|
|
15
|
+
...props
|
|
16
|
+
}: React$1.ComponentProps<typeof DayPicker> & {
|
|
17
|
+
buttonVariant?: React$1.ComponentProps<typeof Button>['variant'];
|
|
18
|
+
}): react_jsx_runtime81.JSX.Element;
|
|
19
|
+
declare function CalendarDayButton({
|
|
20
|
+
className,
|
|
21
|
+
day,
|
|
22
|
+
modifiers,
|
|
23
|
+
...props
|
|
24
|
+
}: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime81.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Calendar, CalendarDayButton };
|
package/dist/ui/calendar.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as React$1 from "react";
|
|
|
5
5
|
import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
|
|
6
6
|
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import { DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
8
|
+
import { DayButton, DayPicker, getDefaultClassNames } from "react-day-picker";
|
|
9
9
|
|
|
10
10
|
//#region ui/calendar.tsx
|
|
11
11
|
function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant = "ghost", formatters, components, ...props }) {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime144 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/card.d.ts
|
|
5
|
+
declare function Card({
|
|
6
|
+
className,
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
9
|
+
declare function CardHeader({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
13
|
+
declare function CardTitle({
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
17
|
+
declare function CardDescription({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
21
|
+
declare function CardAction({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
25
|
+
declare function CardContent({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
29
|
+
declare function CardFooter({
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime144.JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Button } from "./button.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
4
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
5
|
+
|
|
6
|
+
//#region ui/carousel.d.ts
|
|
7
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
8
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
9
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
10
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
11
|
+
interface CarouselProps {
|
|
12
|
+
opts?: CarouselOptions;
|
|
13
|
+
plugins?: CarouselPlugin;
|
|
14
|
+
orientation?: 'horizontal' | 'vertical';
|
|
15
|
+
setApi?: (api: CarouselApi) => void;
|
|
16
|
+
}
|
|
17
|
+
declare function Carousel({
|
|
18
|
+
orientation,
|
|
19
|
+
opts,
|
|
20
|
+
setApi,
|
|
21
|
+
plugins,
|
|
22
|
+
className,
|
|
23
|
+
children,
|
|
24
|
+
...props
|
|
25
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & CarouselProps): react_jsx_runtime75.JSX.Element;
|
|
26
|
+
declare function CarouselContent({
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime75.JSX.Element;
|
|
30
|
+
declare function CarouselItem({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime75.JSX.Element;
|
|
34
|
+
declare function CarouselPrevious({
|
|
35
|
+
className,
|
|
36
|
+
variant,
|
|
37
|
+
size,
|
|
38
|
+
...props
|
|
39
|
+
}: React$1.ComponentProps<typeof Button>): react_jsx_runtime75.JSX.Element;
|
|
40
|
+
declare function CarouselNext({
|
|
41
|
+
className,
|
|
42
|
+
variant,
|
|
43
|
+
size,
|
|
44
|
+
...props
|
|
45
|
+
}: React$1.ComponentProps<typeof Button>): react_jsx_runtime75.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime173 from "react/jsx-runtime";
|
|
3
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
4
|
+
|
|
5
|
+
//#region ui/checkbox.d.ts
|
|
6
|
+
declare function Checkbox({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime173.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Checkbox };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
|
+
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
3
|
+
|
|
4
|
+
//#region ui/collapsible.d.ts
|
|
5
|
+
declare function Collapsible({
|
|
6
|
+
...props
|
|
7
|
+
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime3.JSX.Element;
|
|
8
|
+
declare function CollapsibleTrigger({
|
|
9
|
+
...props
|
|
10
|
+
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime3.JSX.Element;
|
|
11
|
+
declare function CollapsibleContent({
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime3.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Dialog } from "./dialog.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
4
|
+
import { Command as Command$1 } from "cmdk";
|
|
5
|
+
|
|
6
|
+
//#region ui/command.d.ts
|
|
7
|
+
declare function Command({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime9.JSX.Element;
|
|
11
|
+
declare function CommandDialog({
|
|
12
|
+
title,
|
|
13
|
+
description,
|
|
14
|
+
children,
|
|
15
|
+
className,
|
|
16
|
+
showCloseButton,
|
|
17
|
+
...props
|
|
18
|
+
}: React$1.ComponentProps<typeof Dialog> & {
|
|
19
|
+
title?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
showCloseButton?: boolean;
|
|
23
|
+
}): react_jsx_runtime9.JSX.Element;
|
|
24
|
+
declare function CommandInput({
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime9.JSX.Element;
|
|
28
|
+
declare function CommandList({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime9.JSX.Element;
|
|
32
|
+
declare function CommandEmpty({
|
|
33
|
+
...props
|
|
34
|
+
}: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime9.JSX.Element;
|
|
35
|
+
declare function CommandGroup({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime9.JSX.Element;
|
|
39
|
+
declare function CommandSeparator({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime9.JSX.Element;
|
|
43
|
+
declare function CommandItem({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime9.JSX.Element;
|
|
47
|
+
declare function CommandShortcut({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime9.JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/confirm-dialog.d.ts
|
|
5
|
+
interface ConfirmDialogProps {
|
|
6
|
+
open?: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
title: React$1.ReactNode;
|
|
9
|
+
description?: React$1.ReactNode;
|
|
10
|
+
confirmLabel?: string;
|
|
11
|
+
cancelLabel?: string;
|
|
12
|
+
variant?: 'default' | 'destructive';
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
onConfirm: () => Promise<void> | void;
|
|
15
|
+
trigger?: React$1.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare function ConfirmDialog({
|
|
18
|
+
open,
|
|
19
|
+
onOpenChange,
|
|
20
|
+
title,
|
|
21
|
+
description,
|
|
22
|
+
confirmLabel,
|
|
23
|
+
cancelLabel,
|
|
24
|
+
variant,
|
|
25
|
+
isLoading,
|
|
26
|
+
onConfirm,
|
|
27
|
+
trigger
|
|
28
|
+
}: ConfirmDialogProps): react_jsx_runtime18.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ConfirmDialog, ConfirmDialogProps };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
3
|
+
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
4
|
+
|
|
5
|
+
//#region ui/context-menu.d.ts
|
|
6
|
+
declare const ContextMenu: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
7
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
8
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const ContextMenuPortal: React$1.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
10
|
+
declare const ContextMenuSub: React$1.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
11
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
13
|
+
inset?: boolean;
|
|
14
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
18
|
+
inset?: boolean;
|
|
19
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
23
|
+
inset?: boolean;
|
|
24
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
declare const ContextMenuShortcut: {
|
|
27
|
+
({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime58.JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
package/dist/ui/cta.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ButtonProps } from "./button.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
|
|
4
|
+
//#region ui/cta.d.ts
|
|
5
|
+
type CtaProps = Omit<ButtonProps, 'onClick'> & {
|
|
6
|
+
capture?: (cta: string) => void;
|
|
7
|
+
ctaName?: string;
|
|
8
|
+
as?: 'button' | 'a';
|
|
9
|
+
href?: string;
|
|
10
|
+
onClick?: React$1.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
|
|
11
|
+
children?: React$1.ReactNode;
|
|
12
|
+
};
|
|
13
|
+
declare const Cta: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "onClick"> & {
|
|
14
|
+
capture?: (cta: string) => void;
|
|
15
|
+
ctaName?: string;
|
|
16
|
+
as?: "button" | "a";
|
|
17
|
+
href?: string;
|
|
18
|
+
onClick?: React$1.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
|
|
19
|
+
children?: React$1.ReactNode;
|
|
20
|
+
} & React$1.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Cta, CtaProps };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/date-picker.d.ts
|
|
4
|
+
interface DatePickerProps {
|
|
5
|
+
value: Date | null;
|
|
6
|
+
onChange: (date: Date | null) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
minDate?: Date;
|
|
9
|
+
maxDate?: Date;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
language?: string;
|
|
13
|
+
}
|
|
14
|
+
declare function DatePicker({
|
|
15
|
+
value,
|
|
16
|
+
onChange,
|
|
17
|
+
disabled,
|
|
18
|
+
minDate,
|
|
19
|
+
maxDate,
|
|
20
|
+
placeholder,
|
|
21
|
+
className,
|
|
22
|
+
language
|
|
23
|
+
}: DatePickerProps): react_jsx_runtime41.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DatePicker, DatePickerProps };
|