@lssm/lib.ui-kit-web 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.
Files changed (115) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/ui/accordion.d.ts +24 -0
  3. package/dist/ui/alert-dialog.d.ts +48 -0
  4. package/dist/ui/alert.d.ts +24 -0
  5. package/dist/ui/aspect-ratio.d.ts +7 -0
  6. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +7 -0
  7. package/dist/ui/atoms/FilterSelect/index.d.ts +3 -0
  8. package/dist/ui/atoms/FilterSelect/types.d.ts +18 -0
  9. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +22 -0
  10. package/dist/ui/atoms/LoadingSpinner/index.d.ts +2 -0
  11. package/dist/ui/atoms/Pagination/Pagination.d.ts +7 -0
  12. package/dist/ui/atoms/Pagination/index.d.ts +3 -0
  13. package/dist/ui/atoms/Pagination/types.d.ts +15 -0
  14. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +7 -0
  15. package/dist/ui/atoms/SearchInput/index.d.ts +3 -0
  16. package/dist/ui/atoms/SearchInput/types.d.ts +12 -0
  17. package/dist/ui/avatar.d.ts +19 -0
  18. package/dist/ui/badge.d.ts +19 -0
  19. package/dist/ui/breadcrumb.d.ts +37 -0
  20. package/dist/ui/button.d.ts +20 -0
  21. package/dist/ui/calendar.d.ts +26 -0
  22. package/dist/ui/calendar.js +1 -1
  23. package/dist/ui/card.d.ts +34 -0
  24. package/dist/ui/carousel.d.ts +47 -0
  25. package/dist/ui/checkbox.d.ts +11 -0
  26. package/dist/ui/collapsible.d.ts +15 -0
  27. package/dist/ui/command.d.ts +52 -0
  28. package/dist/ui/confirm-dialog.d.ts +30 -0
  29. package/dist/ui/context-menu.d.ts +34 -0
  30. package/dist/ui/cta.d.ts +22 -0
  31. package/dist/ui/date-picker.d.ts +25 -0
  32. package/dist/ui/date-range-picker.d.ts +25 -0
  33. package/dist/ui/datetime-picker.d.ts +27 -0
  34. package/dist/ui/dialog.d.ts +47 -0
  35. package/dist/ui/drawer.d.ts +44 -0
  36. package/dist/ui/dropdown-menu.d.ts +77 -0
  37. package/dist/ui/empty-state.d.ts +28 -0
  38. package/dist/ui/empty.d.ts +36 -0
  39. package/dist/ui/field.d.ts +65 -0
  40. package/dist/ui/focus-on-route-change.d.ts +8 -0
  41. package/dist/ui/form.d.ts +46 -0
  42. package/dist/ui/hover-card.d.ts +19 -0
  43. package/dist/ui/input-group.d.ts +43 -0
  44. package/dist/ui/input-otp.d.ts +38 -0
  45. package/dist/ui/input.d.ts +12 -0
  46. package/dist/ui/label.d.ts +11 -0
  47. package/dist/ui/link.d.ts +8 -0
  48. package/dist/ui/live-region.d.ts +16 -0
  49. package/dist/ui/loading-button.d.ts +19 -0
  50. package/dist/ui/map/MapBase.d.ts +28 -0
  51. package/dist/ui/map/MapGeoJsonOverlay.d.ts +15 -0
  52. package/dist/ui/map/MapHeatmapH3.d.ts +17 -0
  53. package/dist/ui/map/MapMarkers.d.ts +19 -0
  54. package/dist/ui/map/index.d.ts +5 -0
  55. package/dist/ui/marketing/FeatureGrid.d.ts +20 -0
  56. package/dist/ui/marketing/Hero.d.ts +27 -0
  57. package/dist/ui/marketing/PricingTable.d.ts +24 -0
  58. package/dist/ui/marketing/index.d.ts +4 -0
  59. package/dist/ui/menubar.d.ts +84 -0
  60. package/dist/ui/molecules/Autocomplete/index.d.ts +6 -0
  61. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +7 -0
  62. package/dist/ui/molecules/SearchAndFilter/index.d.ts +3 -0
  63. package/dist/ui/molecules/SearchAndFilter/types.d.ts +23 -0
  64. package/dist/ui/molecules/SkeletonList.d.ts +15 -0
  65. package/dist/ui/nav-layout.d.ts +70 -0
  66. package/dist/ui/navigation-menu.d.ts +46 -0
  67. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +29 -0
  68. package/dist/ui/organisms/ErrorBoundary/index.d.ts +2 -0
  69. package/dist/ui/organisms/ListPage/ListPage.d.ts +28 -0
  70. package/dist/ui/organisms/ListPage/index.d.ts +3 -0
  71. package/dist/ui/organisms/ListPage/types.d.ts +40 -0
  72. package/dist/ui/page-header.d.ts +26 -0
  73. package/dist/ui/pagination.d.ts +49 -0
  74. package/dist/ui/popover.d.ts +22 -0
  75. package/dist/ui/progress.d.ts +12 -0
  76. package/dist/ui/radio-group.d.ts +15 -0
  77. package/dist/ui/resizable.d.ts +35 -0
  78. package/dist/ui/route-announcer.d.ts +10 -0
  79. package/dist/ui/scroll-area.d.ts +17 -0
  80. package/dist/ui/section.d.ts +26 -0
  81. package/dist/ui/select.d.ts +51 -0
  82. package/dist/ui/separator.d.ts +13 -0
  83. package/dist/ui/sheet.d.ts +40 -0
  84. package/dist/ui/sidebar.d.ts +166 -0
  85. package/dist/ui/skeleton.d.ts +10 -0
  86. package/dist/ui/skip-link.d.ts +16 -0
  87. package/dist/ui/slider.d.ts +15 -0
  88. package/dist/ui/sonner.d.ts +9 -0
  89. package/dist/ui/stack.d.ts +47 -0
  90. package/dist/ui/stat-card-group.d.ts +18 -0
  91. package/dist/ui/stepper.d.ts +22 -0
  92. package/dist/ui/switch.d.ts +14 -0
  93. package/dist/ui/table.d.ts +38 -0
  94. package/dist/ui/tabs.d.ts +23 -0
  95. package/dist/ui/text.d.ts +14 -0
  96. package/dist/ui/textarea.d.ts +11 -0
  97. package/dist/ui/time-picker.d.ts +21 -0
  98. package/dist/ui/toast.d.ts +19 -0
  99. package/dist/ui/toaster.d.ts +6 -0
  100. package/dist/ui/toggle-group.d.ts +23 -0
  101. package/dist/ui/toggle.d.ts +19 -0
  102. package/dist/ui/tooltip.d.ts +23 -0
  103. package/dist/ui/typography.d.ts +64 -0
  104. package/dist/ui/use-media-query.d.ts +4 -0
  105. package/dist/ui/use-mobile.d.ts +4 -0
  106. package/dist/ui/use-reduced-motion.d.ts +4 -0
  107. package/dist/ui/use-toast.d.ts +49 -0
  108. package/dist/ui/useListState.d.ts +33 -0
  109. package/dist/ui/usecases/UseCaseCard.d.ts +18 -0
  110. package/dist/ui/usecases/UserStoryCard.d.ts +14 -0
  111. package/dist/ui/usecases/index.d.ts +3 -0
  112. package/dist/ui/utils.d.ts +6 -0
  113. package/dist/ui/visually-hidden.d.ts +9 -0
  114. package/package.json +116 -116
  115. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,19 @@
1
+ import * as react_jsx_runtime128 from "react/jsx-runtime";
2
+
3
+ //#region ui/map/MapMarkers.d.ts
4
+ interface MapPoint {
5
+ id: string;
6
+ lng: number;
7
+ lat: number;
8
+ color?: string;
9
+ size?: number;
10
+ ariaLabel?: string;
11
+ onClick?: () => void;
12
+ }
13
+ declare function MapMarkers({
14
+ points
15
+ }: {
16
+ points: MapPoint[];
17
+ }): react_jsx_runtime128.JSX.Element;
18
+ //#endregion
19
+ export { MapMarkers, MapMarkers as default, MapPoint };
@@ -0,0 +1,5 @@
1
+ import { BBox, MapBase, MapBaseProps } from "./MapBase.js";
2
+ import { GeoJsonOverlayProps, MapGeoJsonOverlay } from "./MapGeoJsonOverlay.js";
3
+ import { H3FeatureProperties, H3HeatmapProps, MapHeatmapH3 } from "./MapHeatmapH3.js";
4
+ import { MapMarkers, MapPoint } from "./MapMarkers.js";
5
+ export { BBox, GeoJsonOverlayProps, H3FeatureProperties, H3HeatmapProps, MapBase, MapBaseProps, MapGeoJsonOverlay, MapHeatmapH3, MapMarkers, MapPoint };
@@ -0,0 +1,20 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime168 from "react/jsx-runtime";
3
+
4
+ //#region ui/marketing/FeatureGrid.d.ts
5
+ interface FeatureItem {
6
+ title: React$1.ReactNode;
7
+ description?: React$1.ReactNode;
8
+ icon?: React$1.ReactNode;
9
+ }
10
+ declare function FeatureGrid({
11
+ items,
12
+ columns,
13
+ className
14
+ }: {
15
+ items: FeatureItem[];
16
+ columns?: 2 | 3 | 4;
17
+ className?: string;
18
+ }): react_jsx_runtime168.JSX.Element;
19
+ //#endregion
20
+ export { FeatureGrid, FeatureItem };
@@ -0,0 +1,27 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime121 from "react/jsx-runtime";
3
+
4
+ //#region ui/marketing/Hero.d.ts
5
+ declare function Hero({
6
+ title,
7
+ subtitle,
8
+ primaryCta,
9
+ secondaryCta,
10
+ className
11
+ }: {
12
+ title: React$1.ReactNode;
13
+ subtitle?: React$1.ReactNode;
14
+ primaryCta?: {
15
+ label: string;
16
+ href?: string;
17
+ onClick?: () => void;
18
+ };
19
+ secondaryCta?: {
20
+ label: string;
21
+ href?: string;
22
+ onClick?: () => void;
23
+ };
24
+ className?: string;
25
+ }): react_jsx_runtime121.JSX.Element;
26
+ //#endregion
27
+ export { Hero };
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime272 from "react/jsx-runtime";
2
+
3
+ //#region ui/marketing/PricingTable.d.ts
4
+ interface PricingTier {
5
+ name: string;
6
+ price: string;
7
+ tagline?: string;
8
+ features: string[];
9
+ cta?: {
10
+ label: string;
11
+ href?: string;
12
+ onClick?: () => void;
13
+ };
14
+ highlighted?: boolean;
15
+ }
16
+ declare function PricingTable({
17
+ tiers,
18
+ className
19
+ }: {
20
+ tiers: PricingTier[];
21
+ className?: string;
22
+ }): react_jsx_runtime272.JSX.Element;
23
+ //#endregion
24
+ export { PricingTable, PricingTier };
@@ -0,0 +1,4 @@
1
+ import { FeatureGrid, FeatureItem } from "./FeatureGrid.js";
2
+ import { Hero } from "./Hero.js";
3
+ import { PricingTable, PricingTier } from "./PricingTable.js";
4
+ export { FeatureGrid, type FeatureItem, Hero, PricingTable, type PricingTier };
@@ -0,0 +1,84 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime152 from "react/jsx-runtime";
3
+ import * as MenubarPrimitive from "@radix-ui/react-menubar";
4
+
5
+ //#region ui/menubar.d.ts
6
+ declare function Menubar({
7
+ className,
8
+ ...props
9
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime152.JSX.Element;
10
+ declare function MenubarMenu({
11
+ ...props
12
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime152.JSX.Element;
13
+ declare function MenubarGroup({
14
+ ...props
15
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime152.JSX.Element;
16
+ declare function MenubarPortal({
17
+ ...props
18
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime152.JSX.Element;
19
+ declare function MenubarRadioGroup({
20
+ ...props
21
+ }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime152.JSX.Element;
22
+ declare function MenubarTrigger({
23
+ className,
24
+ ...props
25
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime152.JSX.Element;
26
+ declare function MenubarContent({
27
+ className,
28
+ align,
29
+ alignOffset,
30
+ sideOffset,
31
+ ...props
32
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime152.JSX.Element;
33
+ declare function MenubarItem({
34
+ className,
35
+ inset,
36
+ variant,
37
+ ...props
38
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
39
+ inset?: boolean;
40
+ variant?: 'default' | 'destructive';
41
+ }): react_jsx_runtime152.JSX.Element;
42
+ declare function MenubarCheckboxItem({
43
+ className,
44
+ children,
45
+ checked,
46
+ ...props
47
+ }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime152.JSX.Element;
48
+ declare function MenubarRadioItem({
49
+ className,
50
+ children,
51
+ ...props
52
+ }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime152.JSX.Element;
53
+ declare function MenubarLabel({
54
+ className,
55
+ inset,
56
+ ...props
57
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
58
+ inset?: boolean;
59
+ }): react_jsx_runtime152.JSX.Element;
60
+ declare function MenubarSeparator({
61
+ className,
62
+ ...props
63
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime152.JSX.Element;
64
+ declare function MenubarShortcut({
65
+ className,
66
+ ...props
67
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime152.JSX.Element;
68
+ declare function MenubarSub({
69
+ ...props
70
+ }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime152.JSX.Element;
71
+ declare function MenubarSubTrigger({
72
+ className,
73
+ inset,
74
+ children,
75
+ ...props
76
+ }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
77
+ inset?: boolean;
78
+ }): react_jsx_runtime152.JSX.Element;
79
+ declare function MenubarSubContent({
80
+ className,
81
+ ...props
82
+ }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime152.JSX.Element;
83
+ //#endregion
84
+ export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
@@ -0,0 +1,6 @@
1
+ import * as react_jsx_runtime210 from "react/jsx-runtime";
2
+
3
+ //#region ui/molecules/Autocomplete/index.d.ts
4
+ declare function ComboBoxResponsive(): react_jsx_runtime210.JSX.Element;
5
+ //#endregion
6
+ export { ComboBoxResponsive };
@@ -0,0 +1,7 @@
1
+ import { SearchAndFilterProps } from "./types.js";
2
+ import React from "react";
3
+
4
+ //#region ui/molecules/SearchAndFilter/SearchAndFilter.d.ts
5
+ declare const SearchAndFilter: React.FC<SearchAndFilterProps>;
6
+ //#endregion
7
+ export { SearchAndFilter };
@@ -0,0 +1,3 @@
1
+ import { SearchAndFilterProps } from "./types.js";
2
+ import { SearchAndFilter } from "./SearchAndFilter.js";
3
+ export { SearchAndFilter, type SearchAndFilterProps };
@@ -0,0 +1,23 @@
1
+ import { FilterOption } from "@lssm/lib.ui-kit-web/ui/atoms/FilterSelect";
2
+
3
+ //#region ui/molecules/SearchAndFilter/types.d.ts
4
+ interface SearchAndFilterProps {
5
+ searchValue: string;
6
+ onSearchChange: (value: string) => void;
7
+ searchPlaceholder?: string;
8
+ filters?: {
9
+ key: string;
10
+ label: string;
11
+ value: string;
12
+ options: FilterOption[];
13
+ onChange: (value: string) => void;
14
+ showCounts?: boolean;
15
+ }[];
16
+ isLoading?: boolean;
17
+ disabled?: boolean;
18
+ className?: string;
19
+ collapsible?: boolean;
20
+ defaultCollapsed?: boolean;
21
+ }
22
+ //#endregion
23
+ export { SearchAndFilterProps };
@@ -0,0 +1,15 @@
1
+ import * as react_jsx_runtime271 from "react/jsx-runtime";
2
+
3
+ //#region ui/molecules/SkeletonList.d.ts
4
+ interface Props {
5
+ count?: number;
6
+ className?: string;
7
+ itemClassName?: string;
8
+ }
9
+ declare function SkeletonList({
10
+ count,
11
+ className,
12
+ itemClassName
13
+ }: Props): react_jsx_runtime271.JSX.Element;
14
+ //#endregion
15
+ export { SkeletonList };
@@ -0,0 +1,70 @@
1
+ import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "./navigation-menu.js";
2
+ import * as React$1 from "react";
3
+ import * as react_jsx_runtime148 from "react/jsx-runtime";
4
+ import * as class_variance_authority_types8 from "class-variance-authority/types";
5
+
6
+ //#region ui/nav-layout.d.ts
7
+ declare const navPanelVariants: (props?: ({
8
+ width?: "sm" | "lg" | "md" | "full" | null | undefined;
9
+ padding?: "none" | "sm" | "md" | null | undefined;
10
+ } & class_variance_authority_types8.ClassProp) | undefined) => string;
11
+ interface NavPanelProps extends React$1.ComponentPropsWithoutRef<'div'> {
12
+ width?: 'sm' | 'md' | 'lg' | 'full';
13
+ padding?: 'none' | 'sm' | 'md';
14
+ }
15
+ declare function NavPanel({
16
+ width,
17
+ padding,
18
+ className,
19
+ ...props
20
+ }: NavPanelProps): react_jsx_runtime148.JSX.Element;
21
+ declare function NavSimpleList({
22
+ title,
23
+ items
24
+ }: {
25
+ title?: React$1.ReactNode;
26
+ items: {
27
+ href: string;
28
+ label: string;
29
+ description?: string;
30
+ }[];
31
+ }): react_jsx_runtime148.JSX.Element;
32
+ declare function NavColumns({
33
+ columns
34
+ }: {
35
+ columns: {
36
+ title?: string;
37
+ items: {
38
+ href: string;
39
+ label: string;
40
+ description?: string;
41
+ }[];
42
+ }[];
43
+ }): react_jsx_runtime148.JSX.Element;
44
+ declare function NavCategorizedWithPreview({
45
+ categories,
46
+ modules,
47
+ activeCategory,
48
+ setActiveCategory,
49
+ activeKey,
50
+ setActiveKey,
51
+ preview
52
+ }: {
53
+ categories: {
54
+ key: string;
55
+ label: string;
56
+ }[];
57
+ modules: {
58
+ key: string;
59
+ title: string;
60
+ description?: string;
61
+ categories: string[];
62
+ }[];
63
+ activeCategory: string;
64
+ setActiveCategory: (k: string) => void;
65
+ activeKey: string | null;
66
+ setActiveKey: (k: string | null) => void;
67
+ preview: React$1.ReactNode;
68
+ }): react_jsx_runtime148.JSX.Element;
69
+ //#endregion
70
+ export { NavCategorizedWithPreview, NavColumns, NavigationMenuContent as NavContent, NavigationMenuItem as NavItem, NavigationMenuLink as NavLink, NavigationMenuList as NavList, NavPanel, NavPanelProps, NavigationMenu as NavRoot, NavSimpleList, NavigationMenuTrigger as NavTrigger, navPanelVariants };
@@ -0,0 +1,46 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime140 from "react/jsx-runtime";
3
+ import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
4
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
5
+
6
+ //#region ui/navigation-menu.d.ts
7
+ declare function NavigationMenu({
8
+ className,
9
+ children,
10
+ viewport,
11
+ ...props
12
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
13
+ viewport?: boolean;
14
+ }): react_jsx_runtime140.JSX.Element;
15
+ declare function NavigationMenuList({
16
+ className,
17
+ ...props
18
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime140.JSX.Element;
19
+ declare function NavigationMenuItem({
20
+ className,
21
+ ...props
22
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime140.JSX.Element;
23
+ declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types7.ClassProp | undefined) => string;
24
+ declare function NavigationMenuTrigger({
25
+ className,
26
+ children,
27
+ ...props
28
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime140.JSX.Element;
29
+ declare function NavigationMenuContent({
30
+ className,
31
+ ...props
32
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime140.JSX.Element;
33
+ declare function NavigationMenuViewport({
34
+ className,
35
+ ...props
36
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime140.JSX.Element;
37
+ declare function NavigationMenuLink({
38
+ className,
39
+ ...props
40
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime140.JSX.Element;
41
+ declare function NavigationMenuIndicator({
42
+ className,
43
+ ...props
44
+ }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime140.JSX.Element;
45
+ //#endregion
46
+ export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
@@ -0,0 +1,29 @@
1
+ import React from "react";
2
+ import * as react_jsx_runtime214 from "react/jsx-runtime";
3
+
4
+ //#region ui/organisms/ErrorBoundary/ErrorBoundary.d.ts
5
+ interface ErrorBoundaryState {
6
+ hasError: boolean;
7
+ error: Error | null;
8
+ errorId: string | null;
9
+ }
10
+ interface ErrorBoundaryProps {
11
+ children: React.ReactNode;
12
+ fallback?: React.ComponentType<ErrorFallbackProps>;
13
+ onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
14
+ }
15
+ interface ErrorFallbackProps {
16
+ error: Error;
17
+ errorId: string | null;
18
+ resetError: () => void;
19
+ }
20
+ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
21
+ constructor(props: ErrorBoundaryProps);
22
+ static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState>;
23
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
24
+ resetError: () => void;
25
+ render(): string | number | bigint | boolean | react_jsx_runtime214.JSX.Element | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | null | undefined;
26
+ }
27
+ declare const useErrorHandler: () => (error: Error) => never;
28
+ //#endregion
29
+ export { ErrorBoundary, type ErrorBoundaryProps, type ErrorFallbackProps, useErrorHandler };
@@ -0,0 +1,2 @@
1
+ import { ErrorBoundary, ErrorBoundaryProps, ErrorFallbackProps, useErrorHandler } from "./ErrorBoundary.js";
2
+ export { ErrorBoundary, type ErrorBoundaryProps, type ErrorFallbackProps, useErrorHandler };
@@ -0,0 +1,28 @@
1
+ import { ListPageProps } from "./types.js";
2
+ import * as react_jsx_runtime219 from "react/jsx-runtime";
3
+
4
+ //#region ui/organisms/ListPage/ListPage.d.ts
5
+ declare function ListPage<T>({
6
+ title,
7
+ description,
8
+ header,
9
+ items,
10
+ totalItems,
11
+ totalPages,
12
+ isLoading,
13
+ isFetching,
14
+ error,
15
+ listState,
16
+ searchPlaceholder,
17
+ filters,
18
+ onRefresh,
19
+ primaryAction,
20
+ toolbar,
21
+ renderItem,
22
+ renderEmpty,
23
+ renderStats,
24
+ className,
25
+ itemClassName
26
+ }: ListPageProps<T>): react_jsx_runtime219.JSX.Element;
27
+ //#endregion
28
+ export { ListPage };
@@ -0,0 +1,3 @@
1
+ import { ListPageFilter, ListPageProps } from "./types.js";
2
+ import { ListPage } from "./ListPage.js";
3
+ export { ListPage, type ListPageFilter, type ListPageProps };
@@ -0,0 +1,40 @@
1
+ import { UseListStateReturn } from "../../useListState.js";
2
+ import { ReactNode } from "react";
3
+ import { FilterOption } from "@lssm/lib.ui-kit-web/ui/atoms/FilterSelect";
4
+
5
+ //#region ui/organisms/ListPage/types.d.ts
6
+ interface ListPageFilter {
7
+ key: string;
8
+ label: string;
9
+ options: FilterOption[];
10
+ showCounts?: boolean;
11
+ }
12
+ interface ListPageProps<T = unknown> {
13
+ title: string;
14
+ description?: string;
15
+ header?: ReactNode;
16
+ items: T[];
17
+ totalItems: number;
18
+ totalPages: number;
19
+ isLoading: boolean;
20
+ isFetching?: boolean;
21
+ error?: Error | null;
22
+ listState: UseListStateReturn;
23
+ searchPlaceholder?: string;
24
+ filters?: ListPageFilter[];
25
+ onRefresh?: () => void;
26
+ primaryAction?: {
27
+ label: string;
28
+ href?: string;
29
+ onClick?: () => void;
30
+ icon?: ReactNode;
31
+ };
32
+ toolbar?: ReactNode;
33
+ renderItem: (item: T, index: number) => ReactNode;
34
+ renderEmpty?: () => ReactNode;
35
+ renderStats?: (items: T[]) => ReactNode;
36
+ className?: string;
37
+ itemClassName?: string;
38
+ }
39
+ //#endregion
40
+ export { ListPageFilter, ListPageProps };
@@ -0,0 +1,26 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime139 from "react/jsx-runtime";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import * as class_variance_authority_types6 from "class-variance-authority/types";
5
+
6
+ //#region ui/page-header.d.ts
7
+ declare const headerVariants: (props?: ({
8
+ spacing?: "sm" | "lg" | "md" | null | undefined;
9
+ } & class_variance_authority_types6.ClassProp) | undefined) => string;
10
+ interface PageHeaderProps extends VariantProps<typeof headerVariants> {
11
+ breadcrumb?: React$1.ReactNode;
12
+ title: React$1.ReactNode;
13
+ subtitle?: React$1.ReactNode;
14
+ actions?: React$1.ReactNode;
15
+ className?: string;
16
+ }
17
+ declare function PageHeader({
18
+ breadcrumb,
19
+ title,
20
+ subtitle,
21
+ actions,
22
+ spacing,
23
+ className
24
+ }: PageHeaderProps): react_jsx_runtime139.JSX.Element;
25
+ //#endregion
26
+ export { PageHeader, PageHeaderProps };
@@ -0,0 +1,49 @@
1
+ import { ButtonProps } from "./button.js";
2
+ import * as React$1 from "react";
3
+ import * as react_jsx_runtime169 from "react/jsx-runtime";
4
+
5
+ //#region ui/pagination.d.ts
6
+ declare const Pagination: {
7
+ ({
8
+ className,
9
+ ...props
10
+ }: React$1.ComponentPropsWithoutRef<"nav">): react_jsx_runtime169.JSX.Element;
11
+ displayName: string;
12
+ };
13
+ declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
14
+ declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
15
+ type PaginationLinkProps = {
16
+ isActive?: boolean;
17
+ } & Pick<ButtonProps, 'size'> & React$1.ComponentPropsWithoutRef<'a'>;
18
+ declare const PaginationLink: {
19
+ ({
20
+ className,
21
+ isActive,
22
+ size,
23
+ ...props
24
+ }: PaginationLinkProps): react_jsx_runtime169.JSX.Element;
25
+ displayName: string;
26
+ };
27
+ declare const PaginationPrevious: {
28
+ ({
29
+ className,
30
+ ...props
31
+ }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime169.JSX.Element;
32
+ displayName: string;
33
+ };
34
+ declare const PaginationNext: {
35
+ ({
36
+ className,
37
+ ...props
38
+ }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime169.JSX.Element;
39
+ displayName: string;
40
+ };
41
+ declare const PaginationEllipsis: {
42
+ ({
43
+ className,
44
+ ...props
45
+ }: React$1.ComponentPropsWithoutRef<"span">): react_jsx_runtime169.JSX.Element;
46
+ displayName: string;
47
+ };
48
+ //#endregion
49
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -0,0 +1,22 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime133 from "react/jsx-runtime";
3
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
4
+
5
+ //#region ui/popover.d.ts
6
+ declare function Popover({
7
+ ...props
8
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime133.JSX.Element;
9
+ declare function PopoverTrigger({
10
+ ...props
11
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime133.JSX.Element;
12
+ declare function PopoverContent({
13
+ className,
14
+ align,
15
+ sideOffset,
16
+ ...props
17
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime133.JSX.Element;
18
+ declare function PopoverAnchor({
19
+ ...props
20
+ }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime133.JSX.Element;
21
+ //#endregion
22
+ export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -0,0 +1,12 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime89 from "react/jsx-runtime";
3
+ import * as ProgressPrimitive from "@radix-ui/react-progress";
4
+
5
+ //#region ui/progress.d.ts
6
+ declare function Progress({
7
+ className,
8
+ value,
9
+ ...props
10
+ }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime89.JSX.Element;
11
+ //#endregion
12
+ export { Progress };
@@ -0,0 +1,15 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime90 from "react/jsx-runtime";
3
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
4
+
5
+ //#region ui/radio-group.d.ts
6
+ declare function RadioGroup({
7
+ className,
8
+ ...props
9
+ }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime90.JSX.Element;
10
+ declare function RadioGroupItem({
11
+ className,
12
+ ...props
13
+ }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime90.JSX.Element;
14
+ //#endregion
15
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,35 @@
1
+ import * as react1 from "react";
2
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
3
+ import * as ResizablePrimitive from "react-resizable-panels";
4
+
5
+ //#region ui/resizable.d.ts
6
+ declare const ResizablePanelGroup: ({
7
+ className,
8
+ ...props
9
+ }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime93.JSX.Element;
10
+ declare const ResizablePanel: react1.ForwardRefExoticComponent<Omit<react1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement>, "id" | "onResize"> & {
11
+ className?: string;
12
+ collapsedSize?: number | undefined;
13
+ collapsible?: boolean | undefined;
14
+ defaultSize?: number | undefined;
15
+ id?: string;
16
+ maxSize?: number | undefined;
17
+ minSize?: number | undefined;
18
+ onCollapse?: ResizablePrimitive.PanelOnCollapse;
19
+ onExpand?: ResizablePrimitive.PanelOnExpand;
20
+ onResize?: ResizablePrimitive.PanelOnResize;
21
+ order?: number;
22
+ style?: object;
23
+ tagName?: keyof HTMLElementTagNameMap | undefined;
24
+ } & {
25
+ children?: react1.ReactNode | undefined;
26
+ } & react1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
27
+ declare const ResizableHandle: ({
28
+ withHandle,
29
+ className,
30
+ ...props
31
+ }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
32
+ withHandle?: boolean;
33
+ }) => react_jsx_runtime93.JSX.Element;
34
+ //#endregion
35
+ export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime95 from "react/jsx-runtime";
2
+
3
+ //#region ui/route-announcer.d.ts
4
+ declare function RouteAnnouncer({
5
+ title
6
+ }: {
7
+ title?: string;
8
+ }): react_jsx_runtime95.JSX.Element;
9
+ //#endregion
10
+ export { RouteAnnouncer };