@lssm/lib.ui-kit-web 1.11.1 → 1.41.1

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 (174) hide show
  1. package/README.md +5 -0
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/dist/ui/accordion.js +1 -1
  4. package/dist/ui/alert-dialog.js +1 -1
  5. package/dist/ui/alert.js +1 -1
  6. package/dist/ui/badge.js +1 -1
  7. package/dist/ui/breadcrumb.js +1 -1
  8. package/dist/ui/button.js +16 -5
  9. package/dist/ui/calendar.js +2 -2
  10. package/dist/ui/card.js +1 -1
  11. package/dist/ui/carousel.js +1 -1
  12. package/dist/ui/checkbox.js +3 -3
  13. package/dist/ui/command.js +1 -1
  14. package/dist/ui/context-menu.js +1 -1
  15. package/dist/ui/cta.js +1 -1
  16. package/dist/ui/date-picker.js +1 -1
  17. package/dist/ui/date-range-picker.js +1 -1
  18. package/dist/ui/datetime-picker.js +1 -1
  19. package/dist/ui/dialog.js +1 -1
  20. package/dist/ui/drawer.js +1 -1
  21. package/dist/ui/dropdown-menu.js +1 -1
  22. package/dist/ui/empty-state.js +1 -1
  23. package/dist/ui/empty.js +2 -2
  24. package/dist/ui/field.js +3 -3
  25. package/dist/ui/hover-card.js +1 -1
  26. package/dist/ui/input-group.js +1 -1
  27. package/dist/ui/input-otp.js +1 -1
  28. package/dist/ui/input.js +1 -1
  29. package/dist/ui/label.js +1 -1
  30. package/dist/ui/link.js +1 -1
  31. package/dist/ui/marketing/Hero.js +1 -1
  32. package/dist/ui/marketing/PricingTable.js +1 -1
  33. package/dist/ui/menubar.js +1 -1
  34. package/dist/ui/nav-layout.js +1 -1
  35. package/dist/ui/navigation-menu.js +1 -1
  36. package/dist/ui/page-header.js +1 -1
  37. package/dist/ui/pagination.js +1 -1
  38. package/dist/ui/popover.js +1 -1
  39. package/dist/ui/progress.js +1 -1
  40. package/dist/ui/radio-group.js +1 -1
  41. package/dist/ui/resizable.js +1 -1
  42. package/dist/ui/scroll-area.js +1 -1
  43. package/dist/ui/section.js +1 -1
  44. package/dist/ui/select.js +1 -1
  45. package/dist/ui/separator.js +1 -1
  46. package/dist/ui/sheet.js +1 -1
  47. package/dist/ui/sidebar.js +1 -1
  48. package/dist/ui/slider.js +1 -1
  49. package/dist/ui/stack.js +1 -1
  50. package/dist/ui/stepper.js +1 -1
  51. package/dist/ui/switch.js +4 -3
  52. package/dist/ui/table.js +1 -1
  53. package/dist/ui/tabs.js +1 -1
  54. package/dist/ui/text.js +1 -1
  55. package/dist/ui/textarea.js +1 -1
  56. package/dist/ui/time-picker.js +1 -1
  57. package/dist/ui/toast.js +1 -1
  58. package/dist/ui/toggle-group.js +1 -1
  59. package/dist/ui/toggle.js +1 -1
  60. package/dist/ui/tooltip.js +1 -1
  61. package/dist/ui/typography.js +1 -1
  62. package/package.json +243 -137
  63. package/dist/index.d.ts +0 -1
  64. package/dist/ui/accordion.d.ts +0 -24
  65. package/dist/ui/alert-dialog.d.ts +0 -48
  66. package/dist/ui/alert.d.ts +0 -24
  67. package/dist/ui/aspect-ratio.d.ts +0 -7
  68. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
  69. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
  70. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
  71. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
  72. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
  73. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
  74. package/dist/ui/atoms/Pagination/index.d.ts +0 -3
  75. package/dist/ui/atoms/Pagination/types.d.ts +0 -15
  76. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
  77. package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
  78. package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
  79. package/dist/ui/avatar.d.ts +0 -19
  80. package/dist/ui/badge.d.ts +0 -19
  81. package/dist/ui/breadcrumb.d.ts +0 -37
  82. package/dist/ui/button.d.ts +0 -22
  83. package/dist/ui/calendar.d.ts +0 -26
  84. package/dist/ui/card.d.ts +0 -34
  85. package/dist/ui/carousel.d.ts +0 -47
  86. package/dist/ui/checkbox.d.ts +0 -11
  87. package/dist/ui/collapsible.d.ts +0 -15
  88. package/dist/ui/command.d.ts +0 -52
  89. package/dist/ui/confirm-dialog.d.ts +0 -30
  90. package/dist/ui/context-menu.d.ts +0 -34
  91. package/dist/ui/cta.d.ts +0 -14
  92. package/dist/ui/date-picker.d.ts +0 -25
  93. package/dist/ui/date-range-picker.d.ts +0 -25
  94. package/dist/ui/datetime-picker.d.ts +0 -27
  95. package/dist/ui/dialog.d.ts +0 -47
  96. package/dist/ui/drawer.d.ts +0 -44
  97. package/dist/ui/dropdown-menu.d.ts +0 -77
  98. package/dist/ui/empty-state.d.ts +0 -28
  99. package/dist/ui/empty.d.ts +0 -35
  100. package/dist/ui/field.d.ts +0 -64
  101. package/dist/ui/focus-on-route-change.d.ts +0 -8
  102. package/dist/ui/form.d.ts +0 -46
  103. package/dist/ui/hover-card.d.ts +0 -19
  104. package/dist/ui/input-group.d.ts +0 -43
  105. package/dist/ui/input-otp.d.ts +0 -38
  106. package/dist/ui/input.d.ts +0 -12
  107. package/dist/ui/label.d.ts +0 -11
  108. package/dist/ui/link.d.ts +0 -8
  109. package/dist/ui/live-region.d.ts +0 -16
  110. package/dist/ui/loading-button.d.ts +0 -19
  111. package/dist/ui/map/MapBase.d.ts +0 -28
  112. package/dist/ui/map/MapGeoJsonOverlay.d.ts +0 -15
  113. package/dist/ui/map/MapHeatmapH3.d.ts +0 -17
  114. package/dist/ui/map/MapMarkers.d.ts +0 -19
  115. package/dist/ui/map/index.d.ts +0 -5
  116. package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
  117. package/dist/ui/marketing/Hero.d.ts +0 -27
  118. package/dist/ui/marketing/PricingTable.d.ts +0 -24
  119. package/dist/ui/marketing/index.d.ts +0 -4
  120. package/dist/ui/menubar.d.ts +0 -84
  121. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -6
  122. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
  123. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
  124. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -23
  125. package/dist/ui/molecules/SkeletonList.d.ts +0 -15
  126. package/dist/ui/nav-layout.d.ts +0 -70
  127. package/dist/ui/navigation-menu.d.ts +0 -46
  128. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
  129. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
  130. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
  131. package/dist/ui/organisms/ListPage/index.d.ts +0 -3
  132. package/dist/ui/organisms/ListPage/types.d.ts +0 -40
  133. package/dist/ui/page-header.d.ts +0 -26
  134. package/dist/ui/pagination.d.ts +0 -49
  135. package/dist/ui/popover.d.ts +0 -22
  136. package/dist/ui/progress.d.ts +0 -12
  137. package/dist/ui/radio-group.d.ts +0 -15
  138. package/dist/ui/resizable.d.ts +0 -35
  139. package/dist/ui/route-announcer.d.ts +0 -10
  140. package/dist/ui/scroll-area.d.ts +0 -17
  141. package/dist/ui/section.d.ts +0 -26
  142. package/dist/ui/select.d.ts +0 -51
  143. package/dist/ui/separator.d.ts +0 -13
  144. package/dist/ui/sheet.d.ts +0 -40
  145. package/dist/ui/sidebar.d.ts +0 -166
  146. package/dist/ui/skeleton.d.ts +0 -9
  147. package/dist/ui/skip-link.d.ts +0 -16
  148. package/dist/ui/slider.d.ts +0 -15
  149. package/dist/ui/sonner.d.ts +0 -9
  150. package/dist/ui/stack.d.ts +0 -47
  151. package/dist/ui/stat-card-group.d.ts +0 -18
  152. package/dist/ui/stepper.d.ts +0 -22
  153. package/dist/ui/switch.d.ts +0 -11
  154. package/dist/ui/table.d.ts +0 -38
  155. package/dist/ui/tabs.d.ts +0 -23
  156. package/dist/ui/text.d.ts +0 -15
  157. package/dist/ui/textarea.d.ts +0 -11
  158. package/dist/ui/time-picker.d.ts +0 -21
  159. package/dist/ui/toast.d.ts +0 -19
  160. package/dist/ui/toaster.d.ts +0 -6
  161. package/dist/ui/toggle-group.d.ts +0 -23
  162. package/dist/ui/toggle.d.ts +0 -19
  163. package/dist/ui/tooltip.d.ts +0 -23
  164. package/dist/ui/typography.d.ts +0 -64
  165. package/dist/ui/use-media-query.d.ts +0 -4
  166. package/dist/ui/use-mobile.d.ts +0 -4
  167. package/dist/ui/use-reduced-motion.d.ts +0 -4
  168. package/dist/ui/use-toast.d.ts +0 -49
  169. package/dist/ui/useListState.d.ts +0 -33
  170. package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
  171. package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
  172. package/dist/ui/usecases/index.d.ts +0 -3
  173. package/dist/ui/utils.d.ts +0 -6
  174. package/dist/ui/visually-hidden.d.ts +0 -9
@@ -1,84 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime55 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_runtime55.JSX.Element;
10
- declare function MenubarMenu({
11
- ...props
12
- }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime55.JSX.Element;
13
- declare function MenubarGroup({
14
- ...props
15
- }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime55.JSX.Element;
16
- declare function MenubarPortal({
17
- ...props
18
- }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime55.JSX.Element;
19
- declare function MenubarRadioGroup({
20
- ...props
21
- }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime55.JSX.Element;
22
- declare function MenubarTrigger({
23
- className,
24
- ...props
25
- }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime55.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_runtime55.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_runtime55.JSX.Element;
42
- declare function MenubarCheckboxItem({
43
- className,
44
- children,
45
- checked,
46
- ...props
47
- }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime55.JSX.Element;
48
- declare function MenubarRadioItem({
49
- className,
50
- children,
51
- ...props
52
- }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime55.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_runtime55.JSX.Element;
60
- declare function MenubarSeparator({
61
- className,
62
- ...props
63
- }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime55.JSX.Element;
64
- declare function MenubarShortcut({
65
- className,
66
- ...props
67
- }: React$1.ComponentProps<'span'>): react_jsx_runtime55.JSX.Element;
68
- declare function MenubarSub({
69
- ...props
70
- }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime55.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_runtime55.JSX.Element;
79
- declare function MenubarSubContent({
80
- className,
81
- ...props
82
- }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime55.JSX.Element;
83
- //#endregion
84
- export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
@@ -1,6 +0,0 @@
1
- import * as react_jsx_runtime271 from "react/jsx-runtime";
2
-
3
- //#region ui/molecules/Autocomplete/index.d.ts
4
- declare function ComboBoxResponsive(): react_jsx_runtime271.JSX.Element;
5
- //#endregion
6
- export { ComboBoxResponsive };
@@ -1,7 +0,0 @@
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 };
@@ -1,3 +0,0 @@
1
- import { SearchAndFilterProps } from "./types.js";
2
- import { SearchAndFilter } from "./SearchAndFilter.js";
3
- export { SearchAndFilter, type SearchAndFilterProps };
@@ -1,23 +0,0 @@
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 };
@@ -1,15 +0,0 @@
1
- import * as react_jsx_runtime269 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_runtime269.JSX.Element;
14
- //#endregion
15
- export { SkeletonList };
@@ -1,70 +0,0 @@
1
- import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "./navigation-menu.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime72 from "react/jsx-runtime";
4
- import * as class_variance_authority_types4 from "class-variance-authority/types";
5
-
6
- //#region ui/nav-layout.d.ts
7
- declare const navPanelVariants: (props?: ({
8
- width?: "sm" | "md" | "lg" | "full" | null | undefined;
9
- padding?: "sm" | "md" | "none" | null | undefined;
10
- } & class_variance_authority_types4.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_runtime72.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_runtime72.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_runtime72.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_runtime72.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 };
@@ -1,46 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime78 from "react/jsx-runtime";
3
- import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
4
- import * as class_variance_authority_types5 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_runtime78.JSX.Element;
15
- declare function NavigationMenuList({
16
- className,
17
- ...props
18
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime78.JSX.Element;
19
- declare function NavigationMenuItem({
20
- className,
21
- ...props
22
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime78.JSX.Element;
23
- declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types5.ClassProp | undefined) => string;
24
- declare function NavigationMenuTrigger({
25
- className,
26
- children,
27
- ...props
28
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime78.JSX.Element;
29
- declare function NavigationMenuContent({
30
- className,
31
- ...props
32
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime78.JSX.Element;
33
- declare function NavigationMenuViewport({
34
- className,
35
- ...props
36
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime78.JSX.Element;
37
- declare function NavigationMenuLink({
38
- className,
39
- ...props
40
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime78.JSX.Element;
41
- declare function NavigationMenuIndicator({
42
- className,
43
- ...props
44
- }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime78.JSX.Element;
45
- //#endregion
46
- export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
@@ -1,29 +0,0 @@
1
- import React from "react";
2
- import * as react_jsx_runtime272 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_runtime272.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 };
@@ -1,2 +0,0 @@
1
- import { ErrorBoundary, ErrorBoundaryProps, ErrorFallbackProps, useErrorHandler } from "./ErrorBoundary.js";
2
- export { ErrorBoundary, type ErrorBoundaryProps, type ErrorFallbackProps, useErrorHandler };
@@ -1,28 +0,0 @@
1
- import { ListPageProps } from "./types.js";
2
- import * as react_jsx_runtime273 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_runtime273.JSX.Element;
27
- //#endregion
28
- export { ListPage };
@@ -1,3 +0,0 @@
1
- import { ListPageFilter, ListPageProps } from "./types.js";
2
- import { ListPage } from "./ListPage.js";
3
- export { ListPage, type ListPageFilter, type ListPageProps };
@@ -1,40 +0,0 @@
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 };
@@ -1,26 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime87 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types7 from "class-variance-authority/types";
5
-
6
- //#region ui/page-header.d.ts
7
- declare const headerVariants: (props?: ({
8
- spacing?: "sm" | "md" | "lg" | null | undefined;
9
- } & class_variance_authority_types7.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_runtime87.JSX.Element;
25
- //#endregion
26
- export { PageHeader, PageHeaderProps };
@@ -1,49 +0,0 @@
1
- import { ButtonProps } from "./button.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime92 from "react/jsx-runtime";
4
-
5
- //#region ui/pagination.d.ts
6
- declare const Pagination: {
7
- ({
8
- className,
9
- ...props
10
- }: React$1.ComponentProps<"nav">): react_jsx_runtime92.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.ComponentProps<'a'>;
18
- declare const PaginationLink: {
19
- ({
20
- className,
21
- isActive,
22
- size,
23
- ...props
24
- }: PaginationLinkProps): react_jsx_runtime92.JSX.Element;
25
- displayName: string;
26
- };
27
- declare const PaginationPrevious: {
28
- ({
29
- className,
30
- ...props
31
- }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime92.JSX.Element;
32
- displayName: string;
33
- };
34
- declare const PaginationNext: {
35
- ({
36
- className,
37
- ...props
38
- }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime92.JSX.Element;
39
- displayName: string;
40
- };
41
- declare const PaginationEllipsis: {
42
- ({
43
- className,
44
- ...props
45
- }: React$1.ComponentProps<"span">): react_jsx_runtime92.JSX.Element;
46
- displayName: string;
47
- };
48
- //#endregion
49
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
@@ -1,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime108 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_runtime108.JSX.Element;
9
- declare function PopoverTrigger({
10
- ...props
11
- }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime108.JSX.Element;
12
- declare function PopoverContent({
13
- className,
14
- align,
15
- sideOffset,
16
- ...props
17
- }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime108.JSX.Element;
18
- declare function PopoverAnchor({
19
- ...props
20
- }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime108.JSX.Element;
21
- //#endregion
22
- export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -1,12 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime112 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_runtime112.JSX.Element;
11
- //#endregion
12
- export { Progress };
@@ -1,15 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime113 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_runtime113.JSX.Element;
10
- declare function RadioGroupItem({
11
- className,
12
- ...props
13
- }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime113.JSX.Element;
14
- //#endregion
15
- export { RadioGroup, RadioGroupItem };
@@ -1,35 +0,0 @@
1
- import * as react2 from "react";
2
- import * as react_jsx_runtime115 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_runtime115.JSX.Element;
10
- declare const ResizablePanel: react2.ForwardRefExoticComponent<Omit<react2.HTMLAttributes<HTMLInputElement | HTMLElement | HTMLDivElement | HTMLAnchorElement | HTMLOListElement | HTMLLIElement | HTMLButtonElement | HTMLUListElement | 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 | HTMLLabelElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | 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?: react2.ReactNode | undefined;
26
- } & react2.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_runtime115.JSX.Element;
34
- //#endregion
35
- export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -1,10 +0,0 @@
1
- import * as react_jsx_runtime117 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_runtime117.JSX.Element;
9
- //#endregion
10
- export { RouteAnnouncer };
@@ -1,17 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime118 from "react/jsx-runtime";
3
- import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
4
-
5
- //#region ui/scroll-area.d.ts
6
- declare function ScrollArea({
7
- className,
8
- children,
9
- ...props
10
- }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime118.JSX.Element;
11
- declare function ScrollBar({
12
- className,
13
- orientation,
14
- ...props
15
- }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime118.JSX.Element;
16
- //#endregion
17
- export { ScrollArea, ScrollBar };
@@ -1,26 +0,0 @@
1
- import * as React$1 from "react";
2
- import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types14 from "class-variance-authority/types";
4
-
5
- //#region ui/section.d.ts
6
- declare const sectionVariants: (props?: ({
7
- width?: "container" | "narrow" | "wide" | "fluid" | null | undefined;
8
- px?: "sm" | "md" | "none" | "lg" | null | undefined;
9
- py?: "sm" | "md" | "none" | "lg" | "xl" | null | undefined;
10
- tone?: "plain" | "tint" | "subtle" | null | undefined;
11
- text?: "base" | "lg" | null | undefined;
12
- } & class_variance_authority_types14.ClassProp) | undefined) => string;
13
- type SectionProps = React$1.HTMLAttributes<HTMLElement> & VariantProps<typeof sectionVariants> & {
14
- as?: 'section' | 'div' | 'main' | 'header' | 'footer' | 'aside' | 'article' | 'nav';
15
- };
16
- declare const Section: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & VariantProps<(props?: ({
17
- width?: "container" | "narrow" | "wide" | "fluid" | null | undefined;
18
- px?: "sm" | "md" | "none" | "lg" | null | undefined;
19
- py?: "sm" | "md" | "none" | "lg" | "xl" | null | undefined;
20
- tone?: "plain" | "tint" | "subtle" | null | undefined;
21
- text?: "base" | "lg" | null | undefined;
22
- } & class_variance_authority_types14.ClassProp) | undefined) => string> & {
23
- as?: "section" | "div" | "main" | "header" | "footer" | "aside" | "article" | "nav";
24
- } & React$1.RefAttributes<HTMLElement>>;
25
- //#endregion
26
- export { Section, SectionProps, sectionVariants };
@@ -1,51 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime123 from "react/jsx-runtime";
3
- import * as SelectPrimitive from "@radix-ui/react-select";
4
-
5
- //#region ui/select.d.ts
6
- declare function Select({
7
- ...props
8
- }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime123.JSX.Element;
9
- declare function SelectGroup({
10
- ...props
11
- }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime123.JSX.Element;
12
- declare function SelectValue({
13
- ...props
14
- }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime123.JSX.Element;
15
- declare function SelectTrigger({
16
- className,
17
- size,
18
- children,
19
- ...props
20
- }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
21
- size?: 'sm' | 'default';
22
- }): react_jsx_runtime123.JSX.Element;
23
- declare function SelectContent({
24
- className,
25
- children,
26
- position,
27
- ...props
28
- }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime123.JSX.Element;
29
- declare function SelectLabel({
30
- className,
31
- ...props
32
- }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime123.JSX.Element;
33
- declare function SelectItem({
34
- className,
35
- children,
36
- ...props
37
- }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime123.JSX.Element;
38
- declare function SelectSeparator({
39
- className,
40
- ...props
41
- }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime123.JSX.Element;
42
- declare function SelectScrollUpButton({
43
- className,
44
- ...props
45
- }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime123.JSX.Element;
46
- declare function SelectScrollDownButton({
47
- className,
48
- ...props
49
- }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime123.JSX.Element;
50
- //#endregion
51
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -1,13 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime134 from "react/jsx-runtime";
3
- import * as SeparatorPrimitive from "@radix-ui/react-separator";
4
-
5
- //#region ui/separator.d.ts
6
- declare function Separator({
7
- className,
8
- orientation,
9
- decorative,
10
- ...props
11
- }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime134.JSX.Element;
12
- //#endregion
13
- export { Separator };